|
|||||||||
| Home >> All >> org >> eclipse >> ltk >> core >> [ refactoring overview ] | PREV NEXT | ||||||||
Uses of Class
org.eclipse.ltk.core.refactoring.Change
| 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 org.eclipse.jface.text.IDocument. |
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 |
TextFileChange
A special TextChange that operates on a IFile. |
class |
UndoTextFileChange
A change to perform the reverse change of a TextFileChange. |
| Fields in org.eclipse.ltk.core.refactoring declared as Change | |
private Change |
CreateChangeOperation.fChange
|
private Change |
Change.fParent
|
private Change |
CompositeChange.fUndoUntilException
|
private Change |
PerformChangeOperation.fChange
|
private Change |
PerformChangeOperation.fUndoChange
|
private Change |
PerformRefactoringOperation.fUndo
|
| Methods in org.eclipse.ltk.core.refactoring that return Change | |
Change |
NullChange.perform(org.eclipse.core.runtime.IProgressMonitor pm)
null |
protected Change |
DocumentChange.createUndoChange(org.eclipse.text.edits.UndoEdit edit)
null |
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 |
Change.getParent()
Returns the parent change. |
abstract Change |
Change.perform(org.eclipse.core.runtime.IProgressMonitor pm)
Performs this change. |
Change[] |
CompositeChange.getChildren()
Returns the children managed by this composite change. |
Change |
CompositeChange.perform(org.eclipse.core.runtime.IProgressMonitor pm)
null |
Change |
CompositeChange.getUndoUntilException()
Returns the undo object containing all undo changes of those children that got successfully executed while performing this change. |
protected Change |
CompositeChange.createUndoChange(Change[] childUndos)
Hook to create an undo change. |
Change |
PerformChangeOperation.getChange()
Returns the change used by this operation. |
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. |
abstract Change |
Refactoring.createChange(org.eclipse.core.runtime.IProgressMonitor pm)
Creates a Change object that performs the actual workspace transformation. |
protected abstract Change |
TextChange.createUndoChange(org.eclipse.text.edits.UndoEdit edit)
Hook to create an undo change for the given undo edit. |
Change |
TextChange.perform(org.eclipse.core.runtime.IProgressMonitor pm)
null |
protected Change |
TextFileChange.createUndoChange(org.eclipse.text.edits.UndoEdit edit,
ContentStamp stampToRestore)
Hook to create an undo change for the given undo edit and content stamp. |
protected Change |
TextFileChange.createUndoChange(org.eclipse.text.edits.UndoEdit edit)
null |
protected Change |
UndoTextFileChange.createUndoChange(org.eclipse.text.edits.UndoEdit edit,
ContentStamp stampToRestore)
Hook to create an undo change for the given undo edit. |
Change |
UndoTextFileChange.perform(org.eclipse.core.runtime.IProgressMonitor pm)
null |
| Methods in org.eclipse.ltk.core.refactoring with parameters of type 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 |
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 |
IUndoManager.aboutToPerformChange(Change change)
The infrastructure is going to perform the given change. |
void |
IUndoManager.changePerformed(Change change)
The infrastructure has performed the given change. |
void |
IUndoManager.addUndo(java.lang.String name,
Change change)
Adds a new undo change to this undo manager. |
(package private) void |
Change.setParent(Change parent)
Sets the parent of this change. |
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. |
boolean |
CompositeChange.remove(Change change)
Removes the given change from the list of children. |
private void |
CompositeChange.handleUndos(Change failedChange,
java.util.List undos)
|
protected void |
CompositeChange.internalHandleException(Change change,
java.lang.Throwable t)
Note: this is an internal method and should not be overridden outside of the refacotring framework. |
protected Change |
CompositeChange.createUndoChange(Change[] childUndos)
Hook to create an undo change. |
void |
UndoManagerAdapter.aboutToPerformChange(IUndoManager manager,
Change change)
null |
void |
UndoManagerAdapter.changePerformed(IUndoManager manager,
Change change)
null |
| 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. |
|
|
|||||||||
| Home >> All >> org >> eclipse >> ltk >> core >> [ refactoring overview ] | PREV NEXT | ||||||||