Uses of Class
org.eclipse.ltk.core.refactoring.RefactoringStatus
Packages that use RefactoringStatus
Package
Description
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.
Application programming interface to implement a wizard based user interface for refactorings.
Application programming interface to display and preview refactoring history information.
-
Uses of RefactoringStatus in org.eclipse.ltk.core.refactoring
Methods in org.eclipse.ltk.core.refactoring that return RefactoringStatusModifier and TypeMethodDescriptionprotected RefactoringStatusPerformRefactoringHistoryOperation.aboutToPerformRefactoring(Refactoring refactoring, RefactoringDescriptor descriptor, IProgressMonitor monitor) Hook method which is called when the specified refactoring is going to be executed.Refactoring.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.static RefactoringStatusCreates a newRefactoringStatusfrom the givenIStatus.static RefactoringStatusRefactoringStatus.createErrorStatus(String msg) Creates a newRefactoringStatuswith oneERRORentry filled with the given message.static RefactoringStatusRefactoringStatus.createErrorStatus(String msg, RefactoringStatusContext context) Creates aRefactoringStatuswith oneERRORentry fill with the given message and context.static RefactoringStatusRefactoringStatus.createFatalErrorStatus(String msg) Creates a newRefactoringStatuswith oneFATALentry filled with the given message.static RefactoringStatusRefactoringStatus.createFatalErrorStatus(String msg, RefactoringStatusContext context) Creates aRefactoringStatuswith oneFATALentry fill with the given message and context.static RefactoringStatusRefactoringStatus.createInfoStatus(String msg) Creates a newRefactoringStatuswith oneINFOentry filled with the given message.static RefactoringStatusRefactoringStatus.createInfoStatus(String msg, RefactoringStatusContext context) Creates a newRefactoringStatuswith oneINFOentry filled with the given message and context.static RefactoringStatusRefactoringStatus.createStatus(int severity, String msg, RefactoringStatusContext context, String pluginId, int code, Object data) Creates a newRefactoringStatuswith one entry filled with the given arguments.static RefactoringStatusRefactoringStatus.createWarningStatus(String msg) Creates a newRefactoringStatuswith oneWARNINGentry filled with the given message.static RefactoringStatusRefactoringStatus.createWarningStatus(String msg, RefactoringStatusContext context) Creates aRefactoringStatuswith oneWARNINGentry fill with the given message and context.CreateChangeOperation.getConditionCheckingStatus()Returns the status of the condition checking.PerformChangeOperation.getConditionCheckingStatus()Returns the status of the condition checking.PerformRefactoringOperation.getConditionStatus()Return the refactoring status of the condition checking.final RefactoringStatusPerformRefactoringHistoryOperation.getExecutionStatus()Returns the execution status.CheckConditionsOperation.getStatus()Returns the outcome of the operation ornullif an exception has occurred while performing the operation or if the operation hasn't been performed yet.PerformChangeOperation.getValidationStatus()Returns the refactoring status returned from the callIChange#isValid().PerformRefactoringOperation.getValidationStatus()Returns the refactoring status of the change's validation checking ornullif a change couldn't be created or the operation hasn't been performed yet.abstract RefactoringStatusChange.isValid(IProgressMonitor pm) Verifies that this change object is still valid and can be executed by callingperform.CompositeChange.isValid(IProgressMonitor pm) Verifies that this change object is still valid and can be executed by callingperform.DocumentChange.isValid(IProgressMonitor pm) final RefactoringStatusMultiStateTextFileChange.isValid(IProgressMonitor monitor) NullChange.isValid(IProgressMonitor pm) TextFileChange.isValid(IProgressMonitor monitor) UndoTextFileChange.isValid(IProgressMonitor pm) Methods in org.eclipse.ltk.core.refactoring with parameters of type RefactoringStatusModifier and TypeMethodDescriptionprotected RefactoringPerformRefactoringHistoryOperation.createRefactoring(RefactoringDescriptor descriptor, RefactoringStatus status) Deprecated.since 3.4.protected RefactoringPerformRefactoringHistoryOperation.createRefactoring(RefactoringDescriptor descriptor, RefactoringStatus status, IProgressMonitor monitor) Deprecated.since 3.6.abstract RefactoringRefactoringDescriptor.createRefactoring(RefactoringStatus status) Creates the a new refactoring instance for this refactoring descriptor.protected RefactoringContextPerformRefactoringHistoryOperation.createRefactoringContext(RefactoringDescriptor descriptor, RefactoringStatus status, IProgressMonitor monitor) Method which is called to create a refactoring context from a refactoring descriptor.RefactoringDescriptor.createRefactoringContext(RefactoringStatus status) Creates the a new refactoring context and the associated refactoring instance for this refactoring descriptor.voidRefactoringStatus.merge(RefactoringStatus other) Merges the receiver and the parameter statuses.booleanIValidationCheckResultQuery.proceed(RefactoringStatus status) Returns whether the undo proceeds or not.voidIValidationCheckResultQuery.stopped(RefactoringStatus status) Called when the validation check returned a fatal error. -
Uses of RefactoringStatus in org.eclipse.ltk.core.refactoring.participants
Methods in org.eclipse.ltk.core.refactoring.participants that return RefactoringStatusModifier and TypeMethodDescriptionCheckConditionsContext.check(IProgressMonitor pm) Checks the condition of all registered condition checkers and returns a merge status result.IConditionChecker.check(IProgressMonitor monitor) Performs the actual condition checking.ResourceChangeChecker.check(IProgressMonitor monitor) ValidateEditChecker.check(IProgressMonitor monitor) abstract RefactoringStatusRefactoringParticipant.checkConditions(IProgressMonitor pm, CheckConditionsContext context) Checks the conditions of the refactoring participant.static RefactoringStatusResourceChangeChecker.checkFilesToBeChanged(IFile[] files, IProgressMonitor monitor) A helper method to check a set of changed files.ProcessorBasedRefactoring.checkFinalConditions(IProgressMonitor pm) abstract RefactoringStatusRefactoringProcessor.checkFinalConditions(IProgressMonitor pm, CheckConditionsContext context) Checks the final conditions based on the element to be refactored.ProcessorBasedRefactoring.checkInitialConditions(IProgressMonitor pm) abstract RefactoringStatusRefactoringProcessor.checkInitialConditions(IProgressMonitor pm) Checks some initial conditions based on the element to be refactored.IRenameResourceProcessor.validateNewElementName(String newName) Validates if the a name is valid.Methods in org.eclipse.ltk.core.refactoring.participants with parameters of type RefactoringStatusModifier and TypeMethodDescriptionParticipantExtensionPoint.getParticipants(RefactoringStatus status, RefactoringProcessor processor, Object element, RefactoringArguments arguments, IParticipantDescriptorFilter filter, String[] affectedNatures, SharableParticipants shared) Returns all participants for a given element.static CopyParticipant[]ParticipantManager.loadCopyParticipants(RefactoringStatus status, RefactoringProcessor processor, Object element, CopyArguments arguments, String[] affectedNatures, SharableParticipants shared) Loads the copy participants for the given element.static CopyParticipant[]ParticipantManager.loadCopyParticipants(RefactoringStatus status, RefactoringProcessor processor, Object element, CopyArguments arguments, IParticipantDescriptorFilter filter, String[] affectedNatures, SharableParticipants shared) Loads the copy participants for the given element.static CreateParticipant[]ParticipantManager.loadCreateParticipants(RefactoringStatus status, RefactoringProcessor processor, Object element, CreateArguments arguments, String[] affectedNatures, SharableParticipants shared) Loads the create participants for the given element.static CreateParticipant[]ParticipantManager.loadCreateParticipants(RefactoringStatus status, RefactoringProcessor processor, Object element, CreateArguments arguments, IParticipantDescriptorFilter filter, String[] affectedNatures, SharableParticipants shared) Loads the create participants for the given element.static DeleteParticipant[]ParticipantManager.loadDeleteParticipants(RefactoringStatus status, RefactoringProcessor processor, Object element, DeleteArguments arguments, String[] affectedNatures, SharableParticipants shared) Loads the delete participants for the given element.static DeleteParticipant[]ParticipantManager.loadDeleteParticipants(RefactoringStatus status, RefactoringProcessor processor, Object element, DeleteArguments arguments, IParticipantDescriptorFilter filter, String[] affectedNatures, SharableParticipants shared) Loads the delete participants for the given element.static MoveParticipant[]ParticipantManager.loadMoveParticipants(RefactoringStatus status, RefactoringProcessor processor, Object element, MoveArguments arguments, String[] affectedNatures, SharableParticipants shared) Loads the move participants for the given element.static MoveParticipant[]ParticipantManager.loadMoveParticipants(RefactoringStatus status, RefactoringProcessor processor, Object element, MoveArguments arguments, IParticipantDescriptorFilter filter, String[] affectedNatures, SharableParticipants shared) Loads the move participants for the given element.abstract RefactoringParticipant[]RefactoringProcessor.loadParticipants(RefactoringStatus status, SharableParticipants sharedParticipants) Returns the array of participants.static RenameParticipant[]ParticipantManager.loadRenameParticipants(RefactoringStatus status, RefactoringProcessor processor, Object element, RenameArguments arguments, String[] affectedNatures, SharableParticipants shared) Loads the rename participants for the given element.static RenameParticipant[]ParticipantManager.loadRenameParticipants(RefactoringStatus status, RefactoringProcessor processor, Object element, RenameArguments arguments, IParticipantDescriptorFilter filter, String[] affectedNatures, SharableParticipants shared) Loads the rename participants for the given element.booleanIParticipantDescriptorFilter.select(IConfigurationElement element, RefactoringStatus status) Returns whether the given element makes it through this filter. -
Uses of RefactoringStatus in org.eclipse.ltk.core.refactoring.resource
Methods in org.eclipse.ltk.core.refactoring.resource that return RefactoringStatusModifier and TypeMethodDescriptionResourceChange.isValid(IProgressMonitor pm) This implementation ofChange.isValid(IProgressMonitor)tests the modified resource using the validation method specified byResourceChange.setValidationMethod(int).Methods in org.eclipse.ltk.core.refactoring.resource with parameters of type RefactoringStatusModifier and TypeMethodDescriptionprotected static voidResourceChange.checkIfModifiable(RefactoringStatus result, IResource resource, int validationMethod) Utility method to validate a resource to be modified.CopyProjectDescriptor.createRefactoring(RefactoringStatus status) DeleteResourcesDescriptor.createRefactoring(RefactoringStatus status) MoveRenameResourceDescriptor.createRefactoring(RefactoringStatus status) MoveResourcesDescriptor.createRefactoring(RefactoringStatus status) RenameResourceDescriptor.createRefactoring(RefactoringStatus status) -
Uses of RefactoringStatus in org.eclipse.ltk.ui.refactoring
Methods in org.eclipse.ltk.ui.refactoring that return RefactoringStatusModifier and TypeMethodDescriptionRefactoringWizardOpenOperation.getInitialConditionCheckingStatus()Returns the outcome of the initial condition checking.Methods in org.eclipse.ltk.ui.refactoring with parameters of type RefactoringStatusModifier and TypeMethodDescriptionstatic DialogRefactoringUI.createLightWeightStatusDialog(RefactoringStatus status, Shell parent, String windowTitle) Creates a light-weight dialog to present aRefactoringStatusto the user.static DialogRefactoringUI.createRefactoringStatusDialog(RefactoringStatus status, Shell parent, String windowTitle, boolean backButton) Creates a dialog to present aRefactoringStatusto the user.final voidRefactoringWizard.setInitialConditionCheckingStatus(RefactoringStatus status) Sets the initial condition checking status computed by the refactoring.voidUserInputWizardPage.setPageComplete(RefactoringStatus status) Sets the page's complete status depending on the givenReactoringStatus. -
Uses of RefactoringStatus in org.eclipse.ltk.ui.refactoring.history
Methods in org.eclipse.ltk.ui.refactoring.history that return RefactoringStatusModifier and TypeMethodDescriptionprotected RefactoringStatusRefactoringHistoryWizard.aboutToPerformHistory(IProgressMonitor monitor) Hook method which is called before the first refactoring of the history is executed.protected RefactoringStatusRefactoringHistoryWizard.aboutToPerformRefactoring(Refactoring refactoring, RefactoringDescriptor descriptor, IProgressMonitor monitor) Hook method which is called before the a refactoring of the history is executed.protected RefactoringStatusRefactoringHistoryWizard.historyPerformed(IProgressMonitor monitor) Hook method which is called when all refactorings of the history have been executed.final RefactoringStatusRefactoringHistoryWizard.performPreviewChange(Change change, Refactoring refactoring) Performs the change previously displayed in the preview.protected RefactoringStatusRefactoringHistoryWizard.refactoringPerformed(Refactoring refactoring, IProgressMonitor monitor) Hook method which is called when the specified refactoring has been performed, e.g. its change object has been successfully applied to the workspace.Methods in org.eclipse.ltk.ui.refactoring.history with parameters of type RefactoringStatusModifier and TypeMethodDescriptionprotected RefactoringRefactoringHistoryWizard.createRefactoring(RefactoringDescriptor descriptor, RefactoringStatus status) Deprecated.since 3.6.protected RefactoringRefactoringHistoryWizard.createRefactoring(RefactoringDescriptor descriptor, RefactoringStatus status, IProgressMonitor monitor) Deprecated.since 3.7.protected RefactoringContextRefactoringHistoryWizard.createRefactoringContext(RefactoringDescriptor descriptor, RefactoringStatus status, IProgressMonitor monitor) Creates a refactoring context from the specified refactoring descriptor.