Examples of RepositoryTreeNode


Examples of org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode

* Pushes to the remote
*/
public class PushConfiguredRemoteCommand extends
    RepositoriesViewCommandHandler<RepositoryTreeNode<?>> {
  public Object execute(ExecutionEvent event) throws ExecutionException {
    RepositoryTreeNode node = getSelectedNodes(event).get(0);
    RemoteConfig config = getRemoteConfig(node);
    if (config == null) {
      MessageDialog.openInformation(getShell(event),
          UIText.SimplePushActionHandler_NothingToPushDialogTitle,
          UIText.SimplePushActionHandler_NothingToPushDialogMessage);
      return null;
    }
    new PushOperationUI(node.getRepository(), config.getName(), false)
        .start();
    return null;
  }
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.