protected void run(SVNTeamProvider provider, SyncInfoSet set, IProgressMonitor monitor) { if (resourcesCommitted) return; getShell().getDisplay().syncExec(new Runnable() { public void run() { CommitAction commitAction = new CommitAction(proposedComment); commitAction.setSelectedResources(resources); commitAction.run(null); } }); resourcesCommitted = true;
public void run(IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {  SyncInfoSet syncSet = getSyncInfoSet(); if (!promptForConflictHandling(getShell(), syncSet)) return;  final Map projectSyncInfos = getProjectSyncInfoSetMap(syncSet); Iterator iter = projectSyncInfos.keySet().iterator(); final IProject project = (IProject) iter.next(); SVNTeamProvider provider = (SVNTeamProvider)RepositoryProvider.getProvider(project, SVNUIPlugin.PROVIDER_ID); monitor.beginTask(null, projectSyncInfos.size() * 100); run(provider, syncSet, Policy.subMonitorFor(monitor,100)); monitor.done();
	protected void run(SVNTeamProvider provider, SyncInfoSet set, IProgressMonitor monitor) {		if (resourcesCommitted) return;		getShell().getDisplay().syncExec(new Runnable() {			public void run() {				CommitAction commitAction = new CommitAction(proposedComment);				commitAction.setSelectedResources(resources);				commitAction.run(null);			}					});		resourcesCommitted = true;	}