Package org.eclipse.egit.ui.internal.dialogs

Examples of org.eclipse.egit.ui.internal.dialogs.ReplaceTargetSelectionDialog


    final IResource[] resources = getSelectedResources(event);
    Shell shell = getShell(event);
    Repository repository = getRepository(true, event);
    final String resourceName = resources.length == 1 ? resources[0].getFullPath()
        .lastSegment() : null;
    ReplaceTargetSelectionDialog dlg = new ReplaceTargetSelectionDialog(
        shell, repository, resourceName);
    if (dlg.open() == Window.OK)
      return dlg.getRefName();
    else
      throw new OperationCanceledException();
  }
View Full Code Here

TOP

Related Classes of org.eclipse.egit.ui.internal.dialogs.ReplaceTargetSelectionDialog

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.