Package org.eclipse.ui.actions

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


  }

  private void runNormalAction(List<IResource> resources) {
    DeleteResourceAction action = new DeleteResourceAction(shellProvider);
    IStructuredSelection selection = new StructuredSelection(resources);
    action.selectionChanged(selection);
    action.run();
  }

  private void runNonWorkspaceAction() {
    boolean performAction = MessageDialog.openConfirm(
View Full Code Here


    }
  }

  private IAction createWorkbenchAction(IStructuredSelection selection) {
    DeleteResourceAction action = new DeleteResourceAction(getShell());
    action.selectionChanged(selection);
    return action;
  }

  public void run(IStructuredSelection selection) {
    if (ReorgUtils.containsOnlyProjects(selection.toList())) {
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.