Package org.eclipse.egit.ui.internal.repository

Examples of org.eclipse.egit.ui.internal.repository.RepositoriesView.refresh()


  protected void refreshAndWait() throws Exception {
    RepositoriesView view = (RepositoriesView) getOrOpenView()
        .getReference().getPart(false);
    JobJoiner jobJoiner = JobJoiner.startListening(JobFamilies.REPO_VIEW_REFRESH, 60, TimeUnit.SECONDS);
    view.refresh();
    jobJoiner.join();
  }

  @SuppressWarnings("boxing")
  protected void assertProjectExistence(String projectName, boolean existence) {
View Full Code Here


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

    view.refresh();
    return null;
  }

  @Override
  public boolean isEnabled() {
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.