예제 #1
0
 /* (non-Javadoc)
  * @see org.eclipse.jface.action.Action#run()
  */
 public final void run() {
   if (teamAction != null) {
     teamAction.setActivePart(
         this,
         PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActivePart());
     teamAction.run(this);
   }
 }
예제 #2
0
 /* (non-Javadoc)
  * @see org.eclipse.jface.action.Action#isEnabled()
  */
 public final boolean isEnabled() {
   if (teamAction != null) {
     return teamAction.isEnabled();
   } else {
     return false;
   }
 }
예제 #3
0
 /** @param selection */
 public final void selectionChanged(ISelection selection) {
   if (teamAction != null) teamAction.selectionChanged(this, selection);
 }
예제 #4
0
 public final void dispose() {
   if (teamAction != null) teamAction.dispose();
 }