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 MultiTextEditWithProgress
TextFileBufferOperation. computeTextEdit(ITextFileBuffer textFileBuffer, IProgressMonitor progressMonitor)
Computes and returns a text edit.void
GenericFileBufferOperationRunner. execute(IPath[] locations, IFileBufferOperation operation, IProgressMonitor monitor)
Executes the given operation for all file buffers specified by the given locations.void
IFileBufferOperation. run(IFileBuffer fileBuffer, IProgressMonitor monitor)
Runs this operation, that is manipulates the content of the given file buffer.void
TextFileBufferOperation. 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 SubMonitor
SubMonitor. checkCanceled()
Checks whether cancellation of current operation has been requested and throws anOperationCanceledException
if it was the case.SubMonitor
SubMonitor. split(int totalWork)
This is shorthand for callingsplit(totalWork, SUPPRESS_BEGINTASK)
.SubMonitor
SubMonitor. 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 void
IJobManager. join(Object family, IProgressMonitor monitor)
Waits until all jobs of the given family are finished.boolean
Job. join(long timeoutMillis, IProgressMonitor monitor)
Waits until either the job is finished or the given timeout has expired.boolean
JobGroup. 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 void
IRunnableWithProgress. 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 IMetadataRepository
IMetadataRepositoryManager. 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.IMetadataRepository
IMetadataRepositoryManager. loadRepository(URI location, int flags, IProgressMonitor monitor)
Loads a repository corresponding to the given URL.IMetadataRepository
IMetadataRepositoryManager. loadRepository(URI location, IProgressMonitor monitor)
Loads a repository corresponding to the given URL.IMetadataRepository
IMetadataRepositoryManager. 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 RefactoringStatus
Refactoring. checkAllConditions(IProgressMonitor pm)
Checks all conditions.abstract RefactoringStatus
Refactoring. checkFinalConditions(IProgressMonitor pm)
AftercheckInitialConditions
has been performed and the user has provided all input necessary to perform the refactoring this method is called to check the remaining preconditions.abstract RefactoringStatus
Refactoring. checkInitialConditions(IProgressMonitor pm)
Checks some initial conditions based on the element to be refactored.abstract Change
Refactoring. createChange(IProgressMonitor pm)
Creates aChange
object that performs the actual workspace transformation.abstract RefactoringStatus
Change. isValid(IProgressMonitor pm)
Verifies that this change object is still valid and can be executed by callingperform
.RefactoringStatus
MultiStateTextFileChange. 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 RefactoringStatus
RefactoringParticipant. checkConditions(IProgressMonitor pm, CheckConditionsContext context)
Checks the conditions of the refactoring participant.abstract RefactoringStatus
RefactoringProcessor. checkFinalConditions(IProgressMonitor pm, CheckConditionsContext context)
Checks the final conditions based on the element to be refactored.abstract RefactoringStatus
RefactoringProcessor. checkInitialConditions(IProgressMonitor pm)
Checks some initial conditions based on the element to be refactored.abstract Change
RefactoringParticipant. createChange(IProgressMonitor pm)
Creates aChange
object that contains the workspace modifications of this participant to be executed after the changes from the refactoring are executed.abstract Change
RefactoringProcessor. createChange(IProgressMonitor pm)
Creates aChange
object describing the workspace modifications the processor contributes to the overall refactoring.Change
RefactoringParticipant. createPreChange(IProgressMonitor pm)
Creates aChange
object that contains the workspace modifications of this participant to be executed before the changes from the refactoring are executed.Change
RefactoringProcessor. 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 RefactoringStatus
ResourceChange. isValid(IProgressMonitor pm)
This implementation ofChange.isValid(IProgressMonitor)
tests the modified resource using the validation method specified byResourceChange.setValidationMethod(int)
.Change
MoveRenameResourceChange. perform(IProgressMonitor monitor)
Change
MoveResourceChange. 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 IStatus
ISearchQuery. 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 IEditorDescriptor
IDE. getEditorDescriptor(String name, boolean inferContentType, boolean allowInteractive)
Returns an editor descriptor appropriate for opening a file resource with the given name.static IEditorDescriptor
IDE. getEditorDescriptor(IFile file, boolean determineContentType, boolean allowInteractive)
Returns an editor descriptor appropriate for opening the given file resource.IEditorDescriptor
IUnassociatedEditorStrategy. getEditorDescriptor(String fileName, IEditorRegistry editorRegistry)
-