Package org.eclipse.egit.ui.internal.operations

Examples of org.eclipse.egit.ui.internal.operations.DeletePathsOperationUI.run()


    @Override
    public void run() {
      DeletePathsOperationUI operation = new DeletePathsOperationUI(
          getSelectedPaths(selection), getSite());
      operation.run();
    }
  }

  private class GlobalDeleteActionHandler extends Action {
View Full Code Here


    @Override
    public void run() {
      DeletePathsOperationUI operation = new DeletePathsOperationUI(
          getSelectedPaths(getSelection()), getSite());
      operation.run();
    }

    @Override
    public boolean isEnabled() {
      if (!unstagedViewer.getTree().isFocusControl())
View Full Code Here

  public Object execute(ExecutionEvent event) throws ExecutionException {
    Collection<IPath> paths = getSelectedFileAndFolderPaths(event);

    RepositoriesView view = getView(event);
    DeletePathsOperationUI operation = new DeletePathsOperationUI(paths, view.getSite());
    operation.run();

    view.refresh();
    return null;
  }
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.