Package org.eclipse.ui.actions

Examples of org.eclipse.ui.actions.SelectionListenerAction.selectionChanged()


    // Javadoc inherited
    public void run() {
        // By default, delegate to the underlying action, using the current
        // selection
        SelectionListenerAction underlyingAction = getUnderlyingAction();
        underlyingAction.selectionChanged(getStructuredSelection());
        underlyingAction.run();
    }
}
View Full Code Here


    if (list.size() == 0
        || list.get(0) instanceof IProject
        || (list.get(0) instanceof IAdaptable && ((IAdaptable) list
            .get(0)).getAdapter(IResource.class) instanceof IProject)) {
      action = new PHPMoveProjectAction(fShell);
      action.selectionChanged(selection);
    } else if (selectedResources != null) {
      action = new MoveResourceAction(fShell);
      if (list.size() == 1) {
        Object object = list.get(0);
        if (object instanceof ElementImplForPhp
View Full Code Here

      // using the drop target
      if (target != null && directMove(selection) == true) {
        return null;
      }

      action.selectionChanged(selection);

    }
    return 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.