Package org.eclipse.egit.core.op

Examples of org.eclipse.egit.core.op.SubmoduleSyncOperation


        public IStatus runInWorkspace(IProgressMonitor monitor) {
          monitor.beginTask("", repoPaths.size()); //$NON-NLS-1$
          try {
            for (Entry<Repository, List<String>> entry : repoPaths
                .entrySet()) {
              SubmoduleSyncOperation op = new SubmoduleSyncOperation(
                  entry.getKey());
              if (entry.getValue() != null)
                for (String path : entry.getValue())
                  op.addPath(path);
              op.execute(new SubProgressMonitor(monitor, 1));
            }
          } catch (CoreException e) {
            Activator.logError(
                UIText.SubmoduleSyncCommand_SyncError, e);
          }
View Full Code Here

TOP

Related Classes of org.eclipse.egit.core.op.SubmoduleSyncOperation

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.