Package org.eclipse.ui.actions

Examples of org.eclipse.ui.actions.RetargetAction.partActivated()


      } else if (action.isRetargetable()) {
        IWorkbenchAction workbenchAction = action.getActionFactory().create(window);
        if (workbenchAction instanceof RetargetAction) {
          RetargetAction retargetAction = (RetargetAction) workbenchAction;
          page.addPartListener(retargetAction);
          retargetAction.partActivated(editor);
        }
        manager.add(workbenchAction);
      } else {
        manager.add(action);
      }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.