Uses of Class
org.eclipse.core.runtime.OperationCanceledException
Package
Description
Provides the API for manipulating file buffers.
Provides support for the runtime platform, core utility methods and the extension registry.
Provides core support for scheduling and interacting with background activity.
Defines common API for querying and modifying provisioning repositories.
Defines metadata repository.
Application programmer interface to implement semantic preserving workspace transformations.
Application programming interface to participant in existing rename, move and delete refactorings
if the refactoring provider supports participation.
Application programmer interface to implement resource dependend refactorings.
Classes and interface required to contribute search dialog pages and search result view pages.
APIs for the IDE-specific portion of the Eclipse Platform User Interface.
-
Uses of OperationCanceledException in org.eclipse.compare.internal
Modifier and TypeMethodDescriptionstatic String
Utilities.getURLContents
(URL url, IRunnableContext context) Loads content of file underurl
displaying progress on given context. -
Uses of OperationCanceledException in org.eclipse.core.filebuffers.manipulation
Modifier and TypeMethodDescriptionprotected 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
Modifier and TypeMethodDescriptionSubMonitor.checkCanceled()
Checks whether cancellation of current operation has been requested and throws anOperationCanceledException
if it was the case.SubMonitor.split
(int totalWork) This is shorthand for callingsplit(totalWork, SUPPRESS_BEGINTASK)
.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
Modifier and TypeMethodDescriptionvoid
IJobManager.join
(Object family, IProgressMonitor monitor) Waits until all jobs of the given family are finished.final boolean
Job.join
(long timeoutMillis, IProgressMonitor monitor) Waits until either the job is finished or the given timeout has expired.final 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
Modifier and TypeMethodDescriptionvoid
IRunnableWithProgress.run
(IProgressMonitor monitor) Runs this operation. -
Uses of OperationCanceledException in org.eclipse.equinox.p2.repository.metadata
Modifier and TypeMethodDescriptionIMetadataRepositoryManager.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.IMetadataRepositoryManager.loadRepository
(URI location, int flags, IProgressMonitor monitor) Loads the repository at the given location.IMetadataRepositoryManager.loadRepository
(URI location, IProgressMonitor monitor) Loads the repository at the given location.IMetadataRepositoryManager.refreshRepository
(URI location, IProgressMonitor monitor) Refreshes the repository corresponding to the given URL. -
Uses of OperationCanceledException in org.eclipse.ltk.core.refactoring
Modifier and TypeMethodDescriptionRefactoring.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
.final RefactoringStatus
MultiStateTextFileChange.isValid
(IProgressMonitor monitor) -
Uses of OperationCanceledException in org.eclipse.ltk.core.refactoring.participants
Modifier and TypeMethodDescriptionabstract 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.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.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
Modifier and TypeMethodDescriptionResourceChange.isValid
(IProgressMonitor pm) This implementation ofChange.isValid(IProgressMonitor)
tests the modified resource using the validation method specified byResourceChange.setValidationMethod(int)
.final Change
MoveRenameResourceChange.perform
(IProgressMonitor monitor) final Change
MoveResourceChange.perform
(IProgressMonitor monitor) -
Uses of OperationCanceledException in org.eclipse.search.ui
Modifier and TypeMethodDescriptionISearchQuery.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
Modifier and TypeMethodDescriptionstatic 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.IUnassociatedEditorStrategy.getEditorDescriptor
(String fileName, IEditorRegistry editorRegistry)