Package org.eclipse.egit.ui.internal.push

Examples of org.eclipse.egit.ui.internal.push.RefSpecDialog.open()


      public void widgetSelected(SelectionEvent e) {
        RefSpec oldSpec = (RefSpec) ((IStructuredSelection) specViewer
            .getSelection()).getFirstElement();
        RefSpecDialog dlg = new RefSpecDialog(getShell(), repository,
            config, oldSpec, false);
        if (dlg.open() == Window.OK) {
          config.removeFetchRefSpec(oldSpec);
          config.addFetchRefSpec(dlg.getSpec());
        }
        updateControls();
      }
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.