if (ignore) { run(new WorkspaceModifyOperation() { public void execute(IProgressMonitor monitor) throws InvocationTargetException { try { for (int i = 0; i < resourcesToIgnore.length; i++) {  ISVNLocalResource svnResource = SVNWorkspaceRoot.getSVNResourceFor(resourcesToIgnore[i]); new AddIgnoredPatternCommand(svnResource.getParent(), ignorePatterns[i]).run(monitor);  resourcesToIgnore[i].getParent().refreshLocal(IResource.DEPTH_ONE, monitor); } } catch (TeamException e) { throw new InvocationTargetException(e); } catch (CoreException e) { throw new InvocationTargetException(e); } } }, false , PROGRESS_BUSYCURSOR); } }
getShell().getDisplay().syncExec(new Runnable() { public void run() { ignoreResourcesDialog = new IgnoreResourcesDialog(getShell(), resources); cancel = ignoreResourcesDialog.open() == IgnoreResourcesDialog.CANCEL; } }); if (cancel) return; new IgnoreOperation(getPart(), resources, ignoreResourcesDialog).run(); }
    protected void run(SVNTeamProvider provider, SyncInfoSet set, IProgressMonitor monitor) throws InvocationTargetException, InterruptedException {	    if (ignore) {		    run(new WorkspaceModifyOperation() {				public void execute(IProgressMonitor monitor) throws InvocationTargetException {					try {						for (int i = 0; i < resourcesToIgnore.length; i++) {														ISVNLocalResource svnResource = SVNWorkspaceRoot.getSVNResourceFor(resourcesToIgnore[i]);			                new AddIgnoredPatternCommand(svnResource.getParent(), ignorePatterns[i]).run(monitor);										                resourcesToIgnore[i].getParent().refreshLocal(IResource.DEPTH_ONE, monitor);						}					} catch (TeamException e) {						throw new InvocationTargetException(e);					} catch (CoreException e) {						throw new InvocationTargetException(e);					}				}			}, false /* cancelable */, PROGRESS_BUSYCURSOR);	    }       }