Package org.eclipse.egit.ui.internal.staging

Examples of org.eclipse.egit.ui.internal.staging.StagingView$IgnoreAction


                      .getWorkbench()
                      .getActiveWorkbenchWindow()
                      .getActivePage()
                      .findView(StagingView.VIEW_ID);
                  if (view instanceof StagingView) {
                    final StagingView sv = (StagingView) view;
                    sv.reload(repository);
                    Display.getDefault().asyncExec(
                        new Runnable() {
                          public void run() {
                            sv.setAmending(amending);
                          }
                        });
                  }
                } catch (PartInitException e) {
                  Activator.logError(e.getMessage(),
View Full Code Here


  private void openStagingViewLinkClicked() {
    IWorkbenchWindow workbenchWindow = PlatformUI.getWorkbench()
        .getActiveWorkbenchWindow();
    IWorkbenchPage workbenchPage = workbenchWindow.getActivePage();
    try {
      StagingView view = (StagingView) workbenchPage
          .showView(StagingView.VIEW_ID);
      view.reload(repository);
      String message = commitMessageComponent.getCommitMessage();
      if (message != null && message.length() > 0)
        view.setCommitMessage(message);
      setReturnCode(CANCEL);
      close();
    } catch (PartInitException e) {
      Activator.handleError(UIText.CommitDialog_OpenStagingViewError, e,
          true);
View Full Code Here

      @Override
      public IStatus runInUIThread(IProgressMonitor monitor) {
        try {
          IWorkbenchPage workbenchPage = getPage().getSite()
              .getPage();
          final StagingView stagingView = (StagingView) workbenchPage
              .showView(StagingView.VIEW_ID);
          stagingView.reload(repository);
          stagingView.setAmending(true);
          RebaseInteractiveView rebaseView = (RebaseInteractiveView) workbenchPage
              .showView(RebaseInteractiveView.VIEW_ID);
          rebaseView.setInput(repository);
        } catch (PartInitException e) {
          Activator.logError(e.getMessage(), e);
View Full Code Here

TOP

Related Classes of org.eclipse.egit.ui.internal.staging.StagingView$IgnoreAction

Copyright © 2018 www.massapicom. 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.