Uses of Class
org.eclipse.ltk.core.refactoring.Change
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 Change in org.eclipse.ltk.core.refactoring
Modifier and TypeClassDescriptionclass
Represents a composite change.class
A text change that operates directly on instances ofIDocument
.class
A multi state text file change is a special change object that applies a sequence oftext edit trees
to a document.class
A refactoring change that does nothing.class
A text change is a special change object that applies atext edit tree
to a document.class
An abstract base implementation of a change which is based on text edits.class
A specialTextChange
that operates on aIFile
.class
A change to perform the reverse change of aTextFileChange
.Modifier and TypeMethodDescriptionChange[]
CompositeChange.clear()
Removes all changes from this composite change.abstract Change
Refactoring.createChange
(IProgressMonitor pm) Creates aChange
object that performs the actual workspace transformation.protected Change
CompositeChange.createUndoChange
(Change[] childUndos) Hook to create an undo change.protected Change
DocumentChange.createUndoChange
(UndoEdit edit) protected abstract Change
TextChange.createUndoChange
(UndoEdit edit) Hook to create an undo change for the given undo edit.protected final Change
TextFileChange.createUndoChange
(UndoEdit edit) protected Change
TextFileChange.createUndoChange
(UndoEdit edit, ContentStamp stampToRestore) Hook to create an undo change for the given undo edit and content stamp.protected Change
UndoTextFileChange.createUndoChange
(UndoEdit edit, ContentStamp stampToRestore) Hook to create an undo change for the given undo edit.CreateChangeOperation.getChange()
Returns the outcome of the operation ornull
if an exception occurred when performing the operation or the operation hasn't been performed yet.PerformChangeOperation.getChange()
Returns the change used by this operation.Change[]
CompositeChange.getChildren()
Returns the children managed by this composite change.Change.getParent()
Returns the parent change.PerformChangeOperation.getUndoChange()
Returns the undo change of the change performed by this operation.PerformRefactoringOperation.getUndoChange()
The undo object ornull
if no undo exists.CompositeChange.getUndoUntilException()
Returns the undo object containing all undo changes of those children that got successfully executed while performing this change.abstract Change
Change.perform
(IProgressMonitor pm) Performs this change.CompositeChange.perform
(IProgressMonitor pm) Performs this change.final Change
MultiStateTextFileChange.perform
(IProgressMonitor monitor) NullChange.perform
(IProgressMonitor pm) TextChange.perform
(IProgressMonitor pm) UndoTextFileChange.perform
(IProgressMonitor pm) Modifier and TypeMethodDescriptionvoid
IUndoManager.aboutToPerformChange
(Change change) The infrastructure is going to perform the given change.void
IUndoManagerListener.aboutToPerformChange
(IUndoManager manager, Change change) This method gets called by the undo manager if a change gets executed in the context of the undo manager.void
UndoManagerAdapter.aboutToPerformChange
(IUndoManager manager, Change change) void
Adds the given change to the list of children.void
Adds all changes in the given array to the list of children.void
Adds a new undo change to this undo manager.void
IUndoManager.changePerformed
(Change change) Deprecated.use #changePerformed(Change, boolean) insteadvoid
IUndoManager.changePerformed
(Change change, boolean successful) The infrastructure has performed the given change.void
IUndoManagerListener.changePerformed
(IUndoManager manager, Change change) This method gets called by the undo manager when a change has been executed in the context of the undo manager.void
UndoManagerAdapter.changePerformed
(IUndoManager manager, Change change) protected Change
CompositeChange.createUndoChange
(Change[] childUndos) Hook to create an undo change.protected void
CompositeChange.internalHandleException
(Change change, Throwable t) Note: this is an internal method and should not be overridden outside of the refactoring framework.protected boolean
CompositeChange.internalProcessOnCancel
(Change change) Note: this is an internal method and should not be overridden outside of the refactoring framework.boolean
Removes the given change from the list of children.ModifierConstructorDescriptionCompositeChange
(String name, Change[] children) Creates a new composite change with the given name and array of children.PerformChangeOperation
(Change change) Creates a new perform change operation instance for the given change. -
Uses of Change in org.eclipse.ltk.core.refactoring.participants
Modifier and TypeMethodDescriptionProcessorBasedRefactoring.createChange
(IProgressMonitor pm) 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.Modifier and TypeMethodDescriptionRefactoringProcessor.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 Change in org.eclipse.ltk.core.refactoring.resource
Modifier and TypeClassDescriptionclass
Change
that deletes a resource.class
Change
that moves and renames a resource.class
Change
that moves a resource.class
Change
that renames a resource.class
Abstract change for resource based changes.Modifier and TypeMethodDescriptionDeleteResourceChange.perform
(IProgressMonitor pm) final Change
MoveRenameResourceChange.perform
(IProgressMonitor monitor) final Change
MoveResourceChange.perform
(IProgressMonitor monitor) RenameResourceChange.perform
(IProgressMonitor pm) ModifierConstructorDescriptionprotected
MoveRenameResourceChange
(IResource source, IContainer target, String newName, long stampToRestore, Change restoreSourceChange) Creates the change.protected
MoveResourceChange
(IResource source, IContainer target, long stampToRestore, Change restoreSourceChange) Creates the change. -
Uses of Change in org.eclipse.ltk.ui.refactoring
Modifier and TypeMethodDescriptionChangePreviewViewerInput.getChange()
Returns the change of this input object.final Change
RefactoringWizard.getChange()
Returns the refactoring's change object ornull
if no change object has been created yet.final Change
RefactoringWizard.internalCreateChange
(org.eclipse.ltk.internal.ui.refactoring.InternalAPI api, CreateChangeOperation operation, boolean updateStatus) Note: This method is for internal use only.Modifier and TypeMethodDescriptionstatic PerformChangeOperation
RefactoringUI.createUIAwareChangeOperation
(Change change) Deprecated.final void
RefactoringWizard.internalSetChange
(org.eclipse.ltk.internal.ui.refactoring.InternalAPI api, Change change) Note: This method is for internal use only.ModifierConstructorDescriptionChangePreviewViewerInput
(Change change) Creates a new input object for the given change. -
Uses of Change in org.eclipse.ltk.ui.refactoring.history
Modifier and TypeMethodDescriptionfinal RefactoringStatus
RefactoringHistoryWizard.performPreviewChange
(Change change, Refactoring refactoring) Performs the change previously displayed in the preview.protected boolean
RefactoringHistoryWizard.selectPreviewChange
(Change change) Hook method which is called for each change before it is displayed in a preview page.