Uses of Class
org.eclipse.core.runtime.OperationCanceledException
-
Packages that use OperationCanceledException Package Description org.eclipse.core.filebuffers.manipulation Provides the API for manipulating file buffers.org.eclipse.core.runtime Provides support for the runtime platform, core utility methods and the extension registry.org.eclipse.core.runtime.jobs Provides core support for scheduling and interacting with background activity.org.eclipse.equinox.p2.repository Defines common API for querying and modifying provisioning repositories.org.eclipse.equinox.p2.repository.metadata Defines metadata repository.org.eclipse.ltk.core.refactoring Application programmer interface to implement semantic preserving workspace transformations.org.eclipse.ltk.core.refactoring.participants Application programming interface to participant in existing rename, move and delete refactorings if the refactoring provider supports participation.org.eclipse.ltk.core.refactoring.resource Application programmer interface to implement resource dependend refactorings.org.eclipse.search.ui Classes and interface required to contribute search dialog pages and search result view pages.org.eclipse.ui.ide APIs for the IDE-specific portion of the Eclipse Platform User Interface. -
-
Uses of OperationCanceledException in org.eclipse.core.filebuffers.manipulation
Methods in org.eclipse.core.filebuffers.manipulation that throw OperationCanceledException Modifier and Type Method Description protected abstract MultiTextEditWithProgressTextFileBufferOperation. computeTextEdit(ITextFileBuffer textFileBuffer, IProgressMonitor progressMonitor)Computes and returns a text edit.voidGenericFileBufferOperationRunner. execute(IPath[] locations, IFileBufferOperation operation, IProgressMonitor monitor)Executes the given operation for all file buffers specified by the given locations.voidIFileBufferOperation. run(IFileBuffer fileBuffer, IProgressMonitor monitor)Runs this operation, that is manipulates the content of the given file buffer.voidTextFileBufferOperation. run(IFileBuffer fileBuffer, IProgressMonitor progressMonitor) -
Uses of OperationCanceledException in org.eclipse.core.runtime
Methods in org.eclipse.core.runtime that throw OperationCanceledException Modifier and Type Method Description SubMonitorSubMonitor. checkCanceled()Checks whether cancellation of current operation has been requested and throws anOperationCanceledExceptionif it was the case.SubMonitorSubMonitor. split(int totalWork)This is shorthand for callingsplit(totalWork, SUPPRESS_BEGINTASK).SubMonitorSubMonitor. split(int totalWork, int suppressFlags)Creates a sub progress monitor that will consume the given number of ticks from the receiver. -
Uses of OperationCanceledException in org.eclipse.core.runtime.jobs
Methods in org.eclipse.core.runtime.jobs that throw OperationCanceledException Modifier and Type Method Description voidIJobManager. join(Object family, IProgressMonitor monitor)Waits until all jobs of the given family are finished.booleanJob. join(long timeoutMillis, IProgressMonitor monitor)Waits until either the job is finished or the given timeout has expired.booleanJobGroup. join(long timeoutMillis, IProgressMonitor monitor)Waits until either all jobs belonging to this job group have finished or the given timeout has expired. -
Uses of OperationCanceledException in org.eclipse.equinox.p2.repository
Methods in org.eclipse.equinox.p2.repository that throw OperationCanceledException Modifier and Type Method Description voidIRunnableWithProgress. run(IProgressMonitor monitor)Runs this operation. -
Uses of OperationCanceledException in org.eclipse.equinox.p2.repository.metadata
Methods in org.eclipse.equinox.p2.repository.metadata that throw OperationCanceledException Modifier and Type Method Description IMetadataRepositoryIMetadataRepositoryManager. createRepository(URI location, String name, String type, Map<String,String> properties)Creates and returns a new empty metadata repository of the given type at the given location.IMetadataRepositoryIMetadataRepositoryManager. loadRepository(URI location, int flags, IProgressMonitor monitor)Loads a repository corresponding to the given URL.IMetadataRepositoryIMetadataRepositoryManager. loadRepository(URI location, IProgressMonitor monitor)Loads a repository corresponding to the given URL.IMetadataRepositoryIMetadataRepositoryManager. refreshRepository(URI location, IProgressMonitor monitor)Refreshes the repository corresponding to the given URL. -
Uses of OperationCanceledException in org.eclipse.ltk.core.refactoring
Methods in org.eclipse.ltk.core.refactoring that throw OperationCanceledException Modifier and Type Method Description RefactoringStatusRefactoring. checkAllConditions(IProgressMonitor pm)Checks all conditions.abstract RefactoringStatusRefactoring. checkFinalConditions(IProgressMonitor pm)AftercheckInitialConditionshas been performed and the user has provided all input necessary to perform the refactoring this method is called to check the remaining preconditions.abstract RefactoringStatusRefactoring. checkInitialConditions(IProgressMonitor pm)Checks some initial conditions based on the element to be refactored.abstract ChangeRefactoring. createChange(IProgressMonitor pm)Creates aChangeobject that performs the actual workspace transformation.abstract RefactoringStatusChange. isValid(IProgressMonitor pm)Verifies that this change object is still valid and can be executed by callingperform.RefactoringStatusMultiStateTextFileChange. isValid(IProgressMonitor monitor) -
Uses of OperationCanceledException in org.eclipse.ltk.core.refactoring.participants
Methods in org.eclipse.ltk.core.refactoring.participants that throw OperationCanceledException Modifier and Type Method Description abstract RefactoringStatusRefactoringParticipant. checkConditions(IProgressMonitor pm, CheckConditionsContext context)Checks the conditions of the refactoring participant.abstract RefactoringStatusRefactoringProcessor. checkFinalConditions(IProgressMonitor pm, CheckConditionsContext context)Checks the final conditions based on the element to be refactored.abstract RefactoringStatusRefactoringProcessor. checkInitialConditions(IProgressMonitor pm)Checks some initial conditions based on the element to be refactored.abstract ChangeRefactoringParticipant. createChange(IProgressMonitor pm)Creates aChangeobject that contains the workspace modifications of this participant to be executed after the changes from the refactoring are executed.abstract ChangeRefactoringProcessor. createChange(IProgressMonitor pm)Creates aChangeobject describing the workspace modifications the processor contributes to the overall refactoring.ChangeRefactoringParticipant. createPreChange(IProgressMonitor pm)Creates aChangeobject that contains the workspace modifications of this participant to be executed before the changes from the refactoring are executed.ChangeRefactoringProcessor. postCreateChange(Change[] participantChanges, IProgressMonitor pm)Additional hook allowing processors to add changes to the set of workspace modifications after all participant changes have been created. -
Uses of OperationCanceledException in org.eclipse.ltk.core.refactoring.resource
Methods in org.eclipse.ltk.core.refactoring.resource that throw OperationCanceledException Modifier and Type Method Description RefactoringStatusResourceChange. isValid(IProgressMonitor pm)This implementation ofChange.isValid(IProgressMonitor)tests the modified resource using the validation method specified byResourceChange.setValidationMethod(int).ChangeMoveRenameResourceChange. perform(IProgressMonitor monitor)ChangeMoveResourceChange. perform(IProgressMonitor monitor) -
Uses of OperationCanceledException in org.eclipse.search.ui
Methods in org.eclipse.search.ui that throw OperationCanceledException Modifier and Type Method Description IStatusISearchQuery. run(IProgressMonitor monitor)This is the method that actually does the work, i.e. finds the results of the search query. -
Uses of OperationCanceledException in org.eclipse.ui.ide
Methods in org.eclipse.ui.ide that throw OperationCanceledException Modifier and Type Method Description static IEditorDescriptorIDE. getEditorDescriptor(String name, boolean inferContentType, boolean allowInteractive)Returns an editor descriptor appropriate for opening a file resource with the given name.static IEditorDescriptorIDE. getEditorDescriptor(IFile file, boolean determineContentType, boolean allowInteractive)Returns an editor descriptor appropriate for opening the given file resource.IEditorDescriptorIUnassociatedEditorStrategy. getEditorDescriptor(String fileName, IEditorRegistry editorRegistry)
-