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

Examples of org.eclipse.egit.ui.internal.push.RefSpecDialog


    changeRefSpec.addSelectionListener(new SelectionAdapter() {
      @Override
      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();
      }
    });
    final Button deleteRefSpec = new Button(buttonArea, SWT.PUSH);
View Full Code Here

TOP

Related Classes of org.eclipse.egit.ui.internal.push.RefSpecDialog

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.