Examples of CloneSourceProvider


Examples of org.eclipse.egit.ui.internal.clone.GitCloneSourceProviderExtension.CloneSourceProvider

    return calculateChildren(parentElement);
  }

  private Object[] calculateChildren(Object parentElement) {
    if (parentElement instanceof CloneSourceProvider) {
      CloneSourceProvider repositoryImport = (CloneSourceProvider) parentElement;
      if (repositoryImport.hasFixLocation())
        return null;
      Collection<RepositoryServerInfo> repositoryServerInfos = getRepositoryServerInfos(repositoryImport);
      if (repositoryServerInfos == null)
        return null;
      cacheParents(repositoryImport, repositoryServerInfos);
View Full Code Here

Examples of org.eclipse.egit.ui.internal.clone.GitCloneSourceProviderExtension.CloneSourceProvider

    IStructuredSelection selection = (IStructuredSelection) tv
        .getSelection();
    if (selection.size() == 1) {
      Object element = selection.getFirstElement();
      if (element instanceof CloneSourceProvider) {
        CloneSourceProvider repositoryImport = (CloneSourceProvider) element;
        if (repositoryImport.equals(CloneSourceProvider.LOCAL)
            || repositoryImport.hasFixLocation())
          complete = true;
      } else if (element instanceof RepositoryServerInfo) {
        complete = true;
      }
    }
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.