This class can be used without OSGi running.
This class is not intended to be subclassed by clients but may be instantiated.
661662663664665666667668669670671
beginProcessing(); } for (int i = 0; i < toRefresh.length && fDocument != null; i++) { if (monitor.isCanceled()) throw new OperationCanceledException(); process(toRefresh[i]); } } catch (Exception e) { // https://bugs.eclipse.org/bugs/show_bug.cgi?id=103676
345346347348349350351352353354
Node[] nodes = (Node[]) requests[0]; StructuredViewer[] viewers = (StructuredViewer[]) requests[1]; for (int i = 0; i < nodes.length; i++) { if (monitor.isCanceled()) { throw new OperationCanceledException(); } doRefresh(nodes[i], viewers); } }
410411412413414415416417
} private void monitorWorked(IProgressMonitor monitor) { monitor.worked(1); if (monitor.isCanceled()) { throw new OperationCanceledException(); } }
5051525354555657585960
monitor.beginTask("Building Cloud Image", IProgressMonitor.UNKNOWN); if(monitor.isCanceled()) throw new OperationCanceledException(); prepareWorkingDir(); doWork(); monitor.done();
8687888990919293949596
if ( currentProject == null || !currentProject.isAccessible() ) { return new IProject[0]; } try { if ( monitor != null && monitor.isCanceled() ) throw new OperationCanceledException(); if ( kind == IncrementalProjectBuilder.FULL_BUILD ) { fullBuild( monitor ); } else { IResourceDelta delta = getDelta( getProject() );
IProject currentProject = getProject(); if ( currentProject == null || !currentProject.isAccessible() ) { return new IProject[0]; } try { if ( monitor != null && monitor.isCanceled() ) throw new OperationCanceledException(); if ( kind == IncrementalProjectBuilder.FULL_BUILD ) { fullBuild( monitor ); } else { IResourceDelta delta = getDelta( getProject() );
339340341342343344345346347348349
} // updateKBaseTracker( currentProject ); try { if ( monitor != null && monitor.isCanceled() ) throw new OperationCanceledException(); if ( kind == IncrementalProjectBuilder.FULL_BUILD ) { fullBuild( monitor ); } else { IResourceDelta delta = getDelta( getProject() );
176177178179180181182183184185186
monitor.beginTask("", 2000); proj.create(description, new SubProgressMonitor(monitor, 1000)); if (monitor.isCanceled()) { throw new OperationCanceledException(); } proj.open(IResource.BACKGROUND_REFRESH, new SubProgressMonitor( monitor, 1000));
211212213214215216217218219220221
} private boolean checkCancel(IProgressMonitor monitor) { if (monitor.isCanceled()) { throw new OperationCanceledException(); } if (isInterrupted()) { return true; }
{ ((QueryResult)getSearchResult()).addResultItem( e.nextElement()); monitor.worked( 1); } if ( e.hasMoreElements()) throw new OperationCanceledException("Query operation canceled"); } catch ( OperationCanceledException oce) { throw oce; }