Uses of Class
org.eclipse.ltk.core.refactoring.Change
Packages that use 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
Subclasses of Change in org.eclipse.ltk.core.refactoringModifier and TypeClassDescriptionclassRepresents a composite change.classA text change that operates directly on instances ofIDocument.classA multi state text file change is a special change object that applies a sequence oftext edit treesto a document.classA refactoring change that does nothing.classA text change is a special change object that applies atext edit treeto a document.classAn abstract base implementation of a change which is based on text edits.classA specialTextChangethat operates on aIFile.classA change to perform the reverse change of aTextFileChange.Methods in org.eclipse.ltk.core.refactoring that return ChangeModifier and TypeMethodDescriptionChange[]CompositeChange.clear()Removes all changes from this composite change.abstract ChangeRefactoring.createChange(IProgressMonitor pm) Creates aChangeobject that performs the actual workspace transformation.protected ChangeCompositeChange.createUndoChange(Change[] childUndos) Hook to create an undo change.protected ChangeDocumentChange.createUndoChange(UndoEdit edit) protected abstract ChangeTextChange.createUndoChange(UndoEdit edit) Hook to create an undo change for the given undo edit.protected final ChangeTextFileChange.createUndoChange(UndoEdit edit) protected ChangeTextFileChange.createUndoChange(UndoEdit edit, ContentStamp stampToRestore) Hook to create an undo change for the given undo edit and content stamp.protected ChangeUndoTextFileChange.createUndoChange(UndoEdit edit, ContentStamp stampToRestore) Hook to create an undo change for the given undo edit.CreateChangeOperation.getChange()Returns the outcome of the operation ornullif 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 ornullif 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 ChangeChange.perform(IProgressMonitor pm) Performs this change.CompositeChange.perform(IProgressMonitor pm) Performs this change.final ChangeMultiStateTextFileChange.perform(IProgressMonitor monitor) NullChange.perform(IProgressMonitor pm) TextChange.perform(IProgressMonitor pm) UndoTextFileChange.perform(IProgressMonitor pm) Methods in org.eclipse.ltk.core.refactoring with parameters of type ChangeModifier and TypeMethodDescriptionvoidIUndoManager.aboutToPerformChange(Change change) The infrastructure is going to perform the given change.voidIUndoManagerListener.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.voidUndoManagerAdapter.aboutToPerformChange(IUndoManager manager, Change change) voidAdds the given change to the list of children.voidAdds all changes in the given array to the list of children.voidAdds a new undo change to this undo manager.voidIUndoManager.changePerformed(Change change) Deprecated.use #changePerformed(Change, boolean) insteadvoidIUndoManager.changePerformed(Change change, boolean successful) The infrastructure has performed the given change.voidIUndoManagerListener.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.voidUndoManagerAdapter.changePerformed(IUndoManager manager, Change change) protected ChangeCompositeChange.createUndoChange(Change[] childUndos) Hook to create an undo change.protected voidCompositeChange.internalHandleException(Change change, Throwable t) Note: this is an internal method and should not be overridden outside of the refactoring framework.protected booleanCompositeChange.internalProcessOnCancel(Change change) Note: this is an internal method and should not be overridden outside of the refactoring framework.booleanRemoves the given change from the list of children.Constructors in org.eclipse.ltk.core.refactoring with parameters of type ChangeModifierConstructorDescriptionCompositeChange(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
Methods in org.eclipse.ltk.core.refactoring.participants that return ChangeModifier and TypeMethodDescriptionProcessorBasedRefactoring.createChange(IProgressMonitor pm) 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.RefactoringParticipant.createPreChange(IProgressMonitor pm) Creates aChangeobject 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.Methods in org.eclipse.ltk.core.refactoring.participants with parameters of type ChangeModifier 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
Subclasses of Change in org.eclipse.ltk.core.refactoring.resourceModifier and TypeClassDescriptionclassChangethat copies a projectclassChangethat deletes a resource.classChangethat moves and renames a resource.classChangethat moves a resource.classChangethat renames a resource.classAbstract change for resource based changes.Methods in org.eclipse.ltk.core.refactoring.resource that return ChangeModifier and TypeMethodDescriptionCopyProjectChange.perform(IProgressMonitor pm) DeleteResourceChange.perform(IProgressMonitor pm) final ChangeMoveRenameResourceChange.perform(IProgressMonitor monitor) final ChangeMoveResourceChange.perform(IProgressMonitor monitor) RenameResourceChange.perform(IProgressMonitor pm) Constructors in org.eclipse.ltk.core.refactoring.resource with parameters of type ChangeModifierConstructorDescriptionprotectedMoveRenameResourceChange(IResource source, IContainer target, String newName, long stampToRestore, Change restoreSourceChange) Creates the change.protectedMoveResourceChange(IResource source, IContainer target, long stampToRestore, Change restoreSourceChange) Creates the change. -
Uses of Change in org.eclipse.ltk.ui.refactoring
Methods in org.eclipse.ltk.ui.refactoring that return ChangeModifier and TypeMethodDescriptionChangePreviewViewerInput.getChange()Returns the change of this input object.final ChangeRefactoringWizard.getChange()Returns the refactoring's change object ornullif no change object has been created yet.final ChangeRefactoringWizard.internalCreateChange(org.eclipse.ltk.internal.ui.refactoring.InternalAPI api, CreateChangeOperation operation, boolean updateStatus) Note: This method is for internal use only.Methods in org.eclipse.ltk.ui.refactoring with parameters of type ChangeModifier and TypeMethodDescriptionstatic PerformChangeOperationRefactoringUI.createUIAwareChangeOperation(Change change) Deprecated.final voidRefactoringWizard.internalSetChange(org.eclipse.ltk.internal.ui.refactoring.InternalAPI api, Change change) Note: This method is for internal use only.Constructors in org.eclipse.ltk.ui.refactoring with parameters of type ChangeModifierConstructorDescriptionChangePreviewViewerInput(Change change) Creates a new input object for the given change. -
Uses of Change in org.eclipse.ltk.ui.refactoring.history
Methods in org.eclipse.ltk.ui.refactoring.history with parameters of type ChangeModifier and TypeMethodDescriptionfinal RefactoringStatusRefactoringHistoryWizard.performPreviewChange(Change change, Refactoring refactoring) Performs the change previously displayed in the preview.protected booleanRefactoringHistoryWizard.selectPreviewChange(Change change) Hook method which is called for each change before it is displayed in a preview page.