|
Eclipse Platform Release 3.2 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Change | |
---|---|
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.ui.refactoring | Application programming interface to implement a wizard based user interface for refactorings. |
org.eclipse.ltk.ui.refactoring.history | 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.refactoring | |
---|---|
class |
CompositeChange
Represents a composite change. |
class |
DocumentChange
A text change that operates directly on instances of IDocument . |
class |
MultiStateTextFileChange
A multi state text file change is a special change object that applies a sequence of text edit trees to a document. |
class |
NullChange
A refactoring change that does nothing. |
class |
TextChange
A text change is a special change object that applies a text edit tree to a document. |
class |
TextEditBasedChange
An abstract base implementation of a change which is based on text edits. |
class |
TextFileChange
A special TextChange that operates on a IFile . |
class |
UndoTextFileChange
A change to perform the reverse change of a TextFileChange . |
Methods in org.eclipse.ltk.core.refactoring that return Change | |
---|---|
Change[] |
CompositeChange.clear()
Removes all changes from this composite change. |
abstract Change |
Refactoring.createChange(IProgressMonitor pm)
Creates a Change object that performs the actual workspace
transformation. |
protected Change |
CompositeChange.createUndoChange(Change[] childUndos)
Hook to create an undo change. |
protected Change |
TextFileChange.createUndoChange(UndoEdit edit)
Hook to create an undo change for the given undo edit. |
protected Change |
DocumentChange.createUndoChange(UndoEdit edit)
Hook to create an undo change for the given undo edit. |
protected abstract Change |
TextChange.createUndoChange(UndoEdit edit)
Hook to create an undo change for the given undo 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. |
Change |
CreateChangeOperation.getChange()
Returns the outcome of the operation or null if an exception
occurred when performing the operation or the operation hasn't been
performed yet. |
Change |
PerformChangeOperation.getChange()
Returns the change used by this operation. |
Change[] |
CompositeChange.getChildren()
Returns the children managed by this composite change. |
Change |
Change.getParent()
Returns the parent change. |
Change |
PerformChangeOperation.getUndoChange()
Returns the undo change of the change performed by this operation. |
Change |
PerformRefactoringOperation.getUndoChange()
The undo object or null if no undo exists. |
Change |
CompositeChange.getUndoUntilException()
Returns the undo object containing all undo changes of those children that got successfully executed while performing this change. |
Change |
CompositeChange.perform(IProgressMonitor pm)
Performs this change. The composite change sends perform to all its enabled
children. |
abstract Change |
Change.perform(IProgressMonitor pm)
Performs this change. |
Change |
NullChange.perform(IProgressMonitor pm)
Performs this change. |
Change |
MultiStateTextFileChange.perform(IProgressMonitor monitor)
|
Change |
UndoTextFileChange.perform(IProgressMonitor pm)
Performs this change. |
Change |
TextChange.perform(IProgressMonitor pm)
Performs this change. |
Methods in org.eclipse.ltk.core.refactoring with parameters of type Change | |
---|---|
void |
IUndoManager.aboutToPerformChange(Change change)
The infrastructure is going to perform the given change. |
void |
UndoManagerAdapter.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 |
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 |
CompositeChange.add(Change change)
Adds the given change to the list of children. |
void |
CompositeChange.addAll(Change[] changes)
Adds all changes in the given array to the list of children. |
void |
IUndoManager.addUndo(java.lang.String name,
Change change)
Adds a new undo change to this undo manager. |
void |
IUndoManager.changePerformed(Change change)
Deprecated. use #changePerformed(Change, boolean) instead |
void |
IUndoManager.changePerformed(Change change,
boolean successful)
The infrastructure has performed the given change. |
void |
UndoManagerAdapter.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 |
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. |
protected Change |
CompositeChange.createUndoChange(Change[] childUndos)
Hook to create an undo change. |
protected void |
CompositeChange.internalHandleException(Change change,
java.lang.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 |
CompositeChange.remove(Change change)
Removes the given change from the list of children. |
Constructors in org.eclipse.ltk.core.refactoring with parameters of type Change | |
---|---|
CompositeChange(java.lang.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 Change | |
---|---|
Change |
ProcessorBasedRefactoring.createChange(IProgressMonitor pm)
Creates a Change object that performs the actual workspace
transformation. |
abstract Change |
RefactoringProcessor.createChange(IProgressMonitor pm)
Creates a Change object describing the workspace modifications
the processor contributes to the overall refactoring. |
abstract Change |
RefactoringParticipant.createChange(IProgressMonitor pm)
Creates a Change object that contains the workspace modifications
of this participant. |
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. |
Methods in org.eclipse.ltk.core.refactoring.participants with parameters of type Change | |
---|---|
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 Change in org.eclipse.ltk.ui.refactoring |
---|
Methods in org.eclipse.ltk.ui.refactoring that return Change | |
---|---|
Change |
ChangePreviewViewerInput.getChange()
Returns the change of this input object. |
Change |
RefactoringWizard.getChange()
Returns the refactoring's change object or null if no change
object has been created yet. |
Change |
RefactoringWizard.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 Change | |
---|---|
static PerformChangeOperation |
RefactoringUI.createUIAwareChangeOperation(Change change)
Creates a special perform change operations that knows how to batch undo operations in open editors into one undo object. |
void |
RefactoringWizard.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 Change | |
---|---|
ChangePreviewViewerInput(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 Change | |
---|---|
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. |
|
Eclipse Platform Release 3.2 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.