|
|||||||||
| Home >> All >> org >> eclipse >> ltk >> core >> [ refactoring overview ] | PREV NEXT | ||||||||
A
- ALL_CONDITIONS - Static variable in class org.eclipse.ltk.core.refactoring.CheckConditionsOperation
- Flag indicating that all conditions will be checked
- ALL_EDITS - Static variable in class org.eclipse.ltk.core.refactoring.TextChange
- A special object denoting all edits managed by the text change.
- aboutToPerformChange(Change) - Method in interface org.eclipse.ltk.core.refactoring.IUndoManager
- The infrastructure is going to perform the given change.
- aboutToPerformChange(IUndoManager, Change) - Method in interface org.eclipse.ltk.core.refactoring.IUndoManagerListener
- This method gets called by the undo manager if a change gets executed in the context of the undo manager.
- aboutToPerformChange(IUndoManager, Change) - Method in class org.eclipse.ltk.core.refactoring.UndoManagerAdapter
- null
- acquireDocument(IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.DocumentChange
- null
- acquireDocument(IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.TextChange
- Acquires a reference to the document to be changed by this text change.
- acquireDocument(IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.TextFileChange
- null
- add(Change) - Method in class org.eclipse.ltk.core.refactoring.CompositeChange
- Adds the given change to the list of children.
- addAll(Change[]) - Method in class org.eclipse.ltk.core.refactoring.CompositeChange
- Adds all changes in the given array to the list of children.
- addEntry(int, String, RefactoringStatusContext, String, int) - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Adds a new entry filled with the given arguments to this status.
- addEntry(int, String, RefactoringStatusContext, String, int, Object) - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Adds a new entry filled with the given arguments to this status.
- addEntry(RefactoringStatusEntry) - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Adds the given
RefactoringStatusEntry. - addError(String) - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Adds an
ERRORentry filled with the given message to this status. - addError(String, RefactoringStatusContext) - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Adds an
ERRORentry filled with the given message and context to this status. - addFatalError(String) - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Adds a
FATALentry filled with the given message to this status. - addFatalError(String, RefactoringStatusContext) - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Adds a
FATALentry filled with the given message and status to this status. - addInfo(String) - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Adds an
INFOentry filled with the given message to this status. - addInfo(String, RefactoringStatusContext) - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Adds an
INFOentry filled with the given message and context to this status. - addListener(IUndoManagerListener) - Method in interface org.eclipse.ltk.core.refactoring.IUndoManager
- Adds a listener to the undo manager.
- addTextEditChangeGroup(TextEditChangeGroup) - Method in class org.eclipse.ltk.core.refactoring.TextChange
- Adds a text edit change group.
- addTextEditGroup(TextEditGroup) - Method in class org.eclipse.ltk.core.refactoring.TextChange
- Adds a text edit group.
- addUndo(String, Change) - Method in interface org.eclipse.ltk.core.refactoring.IUndoManager
- Adds a new undo change to this undo manager.
- addWarning(String) - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Adds a
WARNINGentry filled with the given message to this status. - addWarning(String, RefactoringStatusContext) - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Adds a
WARNINGentry filled with the given message and context to this status. - anythingToRedo() - Method in interface org.eclipse.ltk.core.refactoring.IUndoManager
- Returns
trueif there is anything to redo, otherwisefalse. - anythingToUndo() - Method in interface org.eclipse.ltk.core.refactoring.IUndoManager
- Returns
trueif there is anything to undo, otherwisefalse.
B
- BAD_LOCATION - Static variable in interface org.eclipse.ltk.core.refactoring.IRefactoringCoreStatusCodes
- Status code (value 10001) indicating that a bad location exception has occurred during change execution.
C
- CHECKER_ALREADY_EXISTS_IN_CONTEXT - Static variable in interface org.eclipse.ltk.core.refactoring.IRefactoringCoreStatusCodes
- Status code (value 10003) indicating that a condition checker already exists in a shared condition checking context.
- Change - class org.eclipse.ltk.core.refactoring.Change.
- An abstract base implementation for object representing a generic change to the workbench.
- Change() - Constructor for class org.eclipse.ltk.core.refactoring.Change
- Constructs a new change object.
- CheckConditionsOperation - class org.eclipse.ltk.core.refactoring.CheckConditionsOperation.
- Operation that, when run, checks the preconditions of the Refactoring passed on creation.
- CheckConditionsOperation(Refactoring, int) - Constructor for class org.eclipse.ltk.core.refactoring.CheckConditionsOperation
- Creates a new
CheckConditionsOperation. - CompositeChange - class org.eclipse.ltk.core.refactoring.CompositeChange.
- Represents a composite change.
- CompositeChange(String) - Constructor for class org.eclipse.ltk.core.refactoring.CompositeChange
- Creates a new composite change with the given name.
- CompositeChange(String, Change[]) - Constructor for class org.eclipse.ltk.core.refactoring.CompositeChange
- Creates a new composite change with the given name and array of children.
- CompositeChange(String, List) - Constructor for class org.eclipse.ltk.core.refactoring.CompositeChange
- ContentStamp - class org.eclipse.ltk.core.refactoring.ContentStamp.
- A content stamp object represent the content of an
IFile. - ContentStamp() - Constructor for class org.eclipse.ltk.core.refactoring.ContentStamp
- CreateChangeOperation - class org.eclipse.ltk.core.refactoring.CreateChangeOperation.
- Operation that, when performed, creates a Change object for a given refactoring.
- CreateChangeOperation(Refactoring) - Constructor for class org.eclipse.ltk.core.refactoring.CreateChangeOperation
- Creates a new operation with the given refactoring.
- CreateChangeOperation(CheckConditionsOperation, int) - Constructor for class org.eclipse.ltk.core.refactoring.CreateChangeOperation
- Creates a new operation with the given CheckConditionsOperation.
- changeExecuted() - Method in class org.eclipse.ltk.core.refactoring.PerformChangeOperation
- Returns
trueif the change has been executed. - changeExecutionFailed() - Method in class org.eclipse.ltk.core.refactoring.PerformChangeOperation
- Returns
trueif the change execution failed. - changePerformed(Change) - Method in interface org.eclipse.ltk.core.refactoring.IUndoManager
- The infrastructure has performed the given change.
- changePerformed(IUndoManager, Change) - Method in interface org.eclipse.ltk.core.refactoring.IUndoManagerListener
- This method gets called by the undo manager when a change has been executed in the context of the undo manager.
- changePerformed(IUndoManager, Change) - Method in class org.eclipse.ltk.core.refactoring.UndoManagerAdapter
- null
- checkAllConditions(IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.Refactoring
- Checks all conditions.
- checkFinalConditions(IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.Refactoring
- After
checkInitialConditionshas been performed and the user has provided all input necessary to perform the refactoring this method is called to check the remaining preconditions. - checkInitialConditions(IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.Refactoring
- Checks some initial conditions based on the element to be refactored.
- checkStyle(int) - Method in class org.eclipse.ltk.core.refactoring.CheckConditionsOperation
- commit(IDocument, IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.DocumentChange
- null
- commit(IDocument, IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.TextChange
- Commits the document acquired via a call to aquireDocument 55 .
- commit(IDocument, IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.TextFileChange
- null
- considerEdit(TextEdit) - Method in class org.eclipse.ltk.core.refactoring.TextChange.LocalTextEditProcessor
- create(IStatus) - Static method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Creates a new
RefactorngStatusfrom the givenIStatus. - createChange() - Method in class org.eclipse.ltk.core.refactoring.PerformChangeOperation
- createChange(IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.Refactoring
- Creates a Change object that performs the actual workspace transformation.
- createErrorStatus(String) - Static method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Creates a new
RefactorngStatuswith oneERRORentry filled with the given message. - createErrorStatus(String, RefactoringStatusContext) - Static method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Creates a
RefactorngStatuswith oneERRORentry fill with the given message and context. - createFatalErrorStatus(String) - Static method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Creates a new
RefactorngStatuswith oneFATALentry filled with the given message. - createFatalErrorStatus(String, RefactoringStatusContext) - Static method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Creates a
RefactorngStatuswith oneFATALentry fill with the given message and context. - createInfoStatus(String) - Static method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Creates a new
RefactorngStatuswith oneINFOentry filled with the given message. - createInfoStatus(String, RefactoringStatusContext) - Static method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Creates a new
RefactorngStatuswith oneINFOentry filled with the given message and context. - createStatus(int, String, RefactoringStatusContext, String, int, Object) - Static method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Creates a new
RefactoringStatuswith one entry filled with the given arguments. - createTextEditProcessor(IDocument, int, boolean) - Method in class org.eclipse.ltk.core.refactoring.TextChange
- createTextEditProcessor(IDocument, int, TextEditChangeGroup[]) - Method in class org.eclipse.ltk.core.refactoring.TextChange
- createUndoChange(Change[]) - Method in class org.eclipse.ltk.core.refactoring.CompositeChange
- Hook to create an undo change.
- createUndoChange(UndoEdit) - Method in class org.eclipse.ltk.core.refactoring.DocumentChange
- null
- createUndoChange(UndoEdit) - Method in class org.eclipse.ltk.core.refactoring.TextChange
- Hook to create an undo change for the given undo edit.
- createUndoChange(UndoEdit, ContentStamp) - Method in class org.eclipse.ltk.core.refactoring.TextFileChange
- Hook to create an undo change for the given undo edit and content stamp.
- createUndoChange(UndoEdit) - Method in class org.eclipse.ltk.core.refactoring.TextFileChange
- null
- createUndoChange(UndoEdit, ContentStamp) - Method in class org.eclipse.ltk.core.refactoring.UndoTextFileChange
- Hook to create an undo change for the given undo edit.
- createUndoManager() - Static method in class org.eclipse.ltk.core.refactoring.RefactoringCore
- Creates a new empty undo manager.
- createWarningStatus(String) - Static method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Creates a new
RefactorngStatuswith oneWARNINGentry filled with the given message. - createWarningStatus(String, RefactoringStatusContext) - Static method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Creates a
RefactorngStatuswith oneWARNINGentry fill with the given message and context.
D
- DocumentChange - class org.eclipse.ltk.core.refactoring.DocumentChange.
- A text change that operates directly on instances of org.eclipse.jface.text.IDocument.
- DocumentChange(String, IDocument) - Constructor for class org.eclipse.ltk.core.refactoring.DocumentChange
- Creates a new
DocumentChangefor the given org.eclipse.jface.text.IDocument. - dispose() - Method in class org.eclipse.ltk.core.refactoring.Change
- Disposes this change.
- dispose() - Method in class org.eclipse.ltk.core.refactoring.CompositeChange
- null
- dispose() - Method in class org.eclipse.ltk.core.refactoring.TextFileChange
- null
- dispose() - Method in class org.eclipse.ltk.core.refactoring.UndoTextFileChange
- null
- document - Variable in class org.eclipse.ltk.core.refactoring.TextChange.PreviewAndRegion
E
- ERROR - Static variable in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Status severity constant (value 3) indicating this status represents an error.
- EXCLUDE - Static variable in class org.eclipse.ltk.core.refactoring.TextChange.LocalTextEditProcessor
- executeChange(IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.PerformChangeOperation
- Actually executes the change.
F
- FATAL - Static variable in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Status severity constant (value 4) indicating this status represents a fatal error.
- FINAL_CONDITIONS - Static variable in class org.eclipse.ltk.core.refactoring.CheckConditionsOperation
- Flag indicating that only final conditions will be checked
- FORCE_SAVE - Static variable in class org.eclipse.ltk.core.refactoring.TextFileChange
- Flag (value 2) indicating that the file is to be saved after the change has been applied.
- FileStatusContext - class org.eclipse.ltk.core.refactoring.FileStatusContext.
- A file context can be used to annotate a
RefactoringStatusEntrywith detailed information about a problem detected in anIFile. - FileStatusContext(IFile, IRegion) - Constructor for class org.eclipse.ltk.core.refactoring.FileStatusContext
- Creates an status entry context for the given file and source region.
- fAquireCount - Variable in class org.eclipse.ltk.core.refactoring.TextFileChange
- fBuffer - Variable in class org.eclipse.ltk.core.refactoring.TextFileChange
- fChange - Variable in class org.eclipse.ltk.core.refactoring.CreateChangeOperation
- fChange - Variable in class org.eclipse.ltk.core.refactoring.PerformChangeOperation
- fChangeExecuted - Variable in class org.eclipse.ltk.core.refactoring.PerformChangeOperation
- fChangeExecutionFailed - Variable in class org.eclipse.ltk.core.refactoring.PerformChangeOperation
- fChanges - Variable in class org.eclipse.ltk.core.refactoring.CompositeChange
- fCheckConditionOperation - Variable in class org.eclipse.ltk.core.refactoring.CreateChangeOperation
- fCode - Variable in class org.eclipse.ltk.core.refactoring.RefactoringStatusEntry
- A plug-in specific problem code
- fConditionCheckingFailedSeverity - Variable in class org.eclipse.ltk.core.refactoring.CreateChangeOperation
- fContentStamp - Variable in class org.eclipse.ltk.core.refactoring.TextFileChange
- fContentStampToRestore - Variable in class org.eclipse.ltk.core.refactoring.UndoTextFileChange
- fContext - Variable in class org.eclipse.ltk.core.refactoring.RefactoringStatusEntry
- A context providing detailed information of where the problem occurred
- fCopier - Variable in class org.eclipse.ltk.core.refactoring.TextChange
- fCreateChangeOperation - Variable in class org.eclipse.ltk.core.refactoring.PerformChangeOperation
- fData - Variable in class org.eclipse.ltk.core.refactoring.RefactoringStatusEntry
- A generic data pointer
- fDirty - Variable in class org.eclipse.ltk.core.refactoring.TextFileChange
- fDirty - Variable in class org.eclipse.ltk.core.refactoring.UndoTextFileChange
- fDocument - Variable in class org.eclipse.ltk.core.refactoring.DocumentChange
- fEdit - Variable in class org.eclipse.ltk.core.refactoring.TextChange
- fEntries - Variable in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- List of refactoring status entries.
- fExcludes - Variable in class org.eclipse.ltk.core.refactoring.TextChange.LocalTextEditProcessor
- fFile - Variable in class org.eclipse.ltk.core.refactoring.FileStatusContext
- fFile - Variable in class org.eclipse.ltk.core.refactoring.TextFileChange
- fFile - Variable in class org.eclipse.ltk.core.refactoring.UndoTextFileChange
- fIncludes - Variable in class org.eclipse.ltk.core.refactoring.TextChange.LocalTextEditProcessor
- fIsEnabled - Variable in class org.eclipse.ltk.core.refactoring.Change
- fIsEnabled - Variable in class org.eclipse.ltk.core.refactoring.TextEditChangeGroup
- fIsSynthetic - Variable in class org.eclipse.ltk.core.refactoring.CompositeChange
- fLength - Variable in class org.eclipse.ltk.core.refactoring.DocumentChange
- fMessage - Variable in class org.eclipse.ltk.core.refactoring.RefactoringStatusEntry
- The message
- fName - Variable in class org.eclipse.ltk.core.refactoring.CompositeChange
- fName - Variable in class org.eclipse.ltk.core.refactoring.NullChange
- fName - Variable in class org.eclipse.ltk.core.refactoring.TextChange
- fName - Variable in class org.eclipse.ltk.core.refactoring.UndoTextFileChange
- fParent - Variable in class org.eclipse.ltk.core.refactoring.Change
- fPluginId - Variable in class org.eclipse.ltk.core.refactoring.RefactoringStatusEntry
- A plug-in identifier to make the problem code unique
- fPreconditionStatus - Variable in class org.eclipse.ltk.core.refactoring.PerformRefactoringOperation
- fRefactoring - Variable in class org.eclipse.ltk.core.refactoring.CheckConditionsOperation
- fRefactoring - Variable in class org.eclipse.ltk.core.refactoring.CreateChangeOperation
- fRefactoring - Variable in class org.eclipse.ltk.core.refactoring.PerformRefactoringOperation
- fSaveMode - Variable in class org.eclipse.ltk.core.refactoring.TextFileChange
- fSaveMode - Variable in class org.eclipse.ltk.core.refactoring.UndoTextFileChange
- fSeverity - Variable in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- The status's severity.
- fSeverity - Variable in class org.eclipse.ltk.core.refactoring.RefactoringStatusEntry
- The severity
- fSourceRegion - Variable in class org.eclipse.ltk.core.refactoring.FileStatusContext
- fStatus - Variable in class org.eclipse.ltk.core.refactoring.CheckConditionsOperation
- fStyle - Variable in class org.eclipse.ltk.core.refactoring.CheckConditionsOperation
- fStyle - Variable in class org.eclipse.ltk.core.refactoring.PerformRefactoringOperation
- fTextChange - Variable in class org.eclipse.ltk.core.refactoring.TextEditChangeGroup
- fTextEditChangeGroups - Variable in class org.eclipse.ltk.core.refactoring.TextChange
- fTextEditGroup - Variable in class org.eclipse.ltk.core.refactoring.TextEditChangeGroup
- fTextType - Variable in class org.eclipse.ltk.core.refactoring.TextChange
- fTrackEdits - Variable in class org.eclipse.ltk.core.refactoring.TextChange
- fUndo - Variable in class org.eclipse.ltk.core.refactoring.PerformRefactoringOperation
- fUndo - Variable in class org.eclipse.ltk.core.refactoring.UndoTextFileChange
- fUndoChange - Variable in class org.eclipse.ltk.core.refactoring.PerformChangeOperation
- fUndoManager - Variable in class org.eclipse.ltk.core.refactoring.PerformChangeOperation
- fUndoName - Variable in class org.eclipse.ltk.core.refactoring.PerformChangeOperation
- fUndoUntilException - Variable in class org.eclipse.ltk.core.refactoring.CompositeChange
- fValidationContext - Variable in class org.eclipse.ltk.core.refactoring.Refactoring
- fValidationState - Variable in class org.eclipse.ltk.core.refactoring.TextFileChange
- fValidationState - Variable in class org.eclipse.ltk.core.refactoring.UndoTextFileChange
- fValidationStatus - Variable in class org.eclipse.ltk.core.refactoring.PerformChangeOperation
- fValidationStatus - Variable in class org.eclipse.ltk.core.refactoring.PerformRefactoringOperation
- fgUndoManager - Static variable in class org.eclipse.ltk.core.refactoring.RefactoringCore
- flatten(TextEdit[]) - Method in class org.eclipse.ltk.core.refactoring.TextChange.LocalTextEditProcessor
- flatten(List, TextEdit) - Method in class org.eclipse.ltk.core.refactoring.TextChange.LocalTextEditProcessor
- flush() - Method in interface org.eclipse.ltk.core.refactoring.IUndoManager
- Flushes the undo manager's undo and redo stacks.
G
- getAdapter(Class) - Method in class org.eclipse.ltk.core.refactoring.Change
- null
- getAdapter(Class) - Method in class org.eclipse.ltk.core.refactoring.Refactoring
- null
- getChange() - Method in class org.eclipse.ltk.core.refactoring.CreateChangeOperation
- Returns the outcome of the operation or
nullif an exception occurred when performing the operation or the operation hasn't been performed yet. - getChange() - Method in class org.eclipse.ltk.core.refactoring.PerformChangeOperation
- Returns the change used by this operation.
- getChildren() - Method in class org.eclipse.ltk.core.refactoring.CompositeChange
- Returns the children managed by this composite change.
- getCode() - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatusEntry
- Returns the problem code.
- getConditionCheckingFailedSeverity() - Method in class org.eclipse.ltk.core.refactoring.CreateChangeOperation
- Returns the condition checking failed severity used by this operation.
- getConditionCheckingFailedSeverity() - Static method in class org.eclipse.ltk.core.refactoring.RefactoringCore
- When condition checking is performed for a refactoring then the condition check is interpreted as failed if the refactoring status severity return from the condition checking operation is equal or greater than the value returned by this method.
- getConditionCheckingStatus() - Method in class org.eclipse.ltk.core.refactoring.CreateChangeOperation
- Returns the status of the condition checking.
- getConditionCheckingStatus() - Method in class org.eclipse.ltk.core.refactoring.PerformChangeOperation
- Returns the status of the condition checking.
- getConditionCheckingStyle() - Method in class org.eclipse.ltk.core.refactoring.CreateChangeOperation
- Returns the condition checking style as set to the CheckConditionsOperation.
- getConditionStatus() - Method in class org.eclipse.ltk.core.refactoring.PerformRefactoringOperation
- Return the refactoring status of the condition checking.
- getContent(IDocument, IRegion, boolean, int) - Method in class org.eclipse.ltk.core.refactoring.TextChange
- getContext() - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatusEntry
- Returns the context which can be used to show more detailed information regarding this status entry in the UI.
- getCorrespondingElement() - Method in class org.eclipse.ltk.core.refactoring.FileStatusContext
- getCorrespondingElement() - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatusContext
- Returns the element that corresponds directly to this context,
or
nullif there is no corresponding element. - getCurrentContent(IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.TextChange
- Returns the current content of the document this text change is associated with.
- getCurrentContent(IRegion, boolean, int, IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.TextChange
- Returns the current content of the text change clipped to a specific region.
- getCurrentDocument(IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.TextChange
- Returns the document this text change is associated to.
- getData() - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatusEntry
- Returns the application defined entry data associated
with the receiver, or
nullif it has not been set. - getEdit() - Method in class org.eclipse.ltk.core.refactoring.TextChange
- Returns the root text edit.
- getEntries() - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Returns the list of refactoring status entries.
- getEntryAt(int) - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Returns the
RefactoringStatusEntryat the specified index. - getEntryMatchingCode(String, int) - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Returns the first entry managed by this refactoring status that matches the given plug-in identifier and code.
- getEntryMatchingSeverity(int) - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Returns the first entry which severity is equal or greater than the given severity.
- getFile() - Method in class org.eclipse.ltk.core.refactoring.FileStatusContext
- Returns the context's file.
- getFile() - Method in class org.eclipse.ltk.core.refactoring.TextFileChange
- Returns the
IFilethis change is working on. - getKeepPreviewEdits() - Method in class org.eclipse.ltk.core.refactoring.TextChange
- Returns whether preview edits are remembered for further region tracking or not.
- getMessage() - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatusEntry
- Returns the message of the status entry.
- getMessageMatchingSeverity(int) - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Returns the first message which severity is equal or greater than the given severity.
- getModifiedElement() - Method in class org.eclipse.ltk.core.refactoring.Change
- Returns the element modified by this
Change. - getModifiedElement() - Method in class org.eclipse.ltk.core.refactoring.CompositeChange
- null
- getModifiedElement() - Method in class org.eclipse.ltk.core.refactoring.DocumentChange
- null
- getModifiedElement() - Method in class org.eclipse.ltk.core.refactoring.NullChange
- null
- getModifiedElement() - Method in class org.eclipse.ltk.core.refactoring.TextFileChange
- null
- getModifiedElement() - Method in class org.eclipse.ltk.core.refactoring.UndoTextFileChange
- null
- getName() - Method in class org.eclipse.ltk.core.refactoring.Change
- Returns the human readable name of this change.
- getName() - Method in class org.eclipse.ltk.core.refactoring.CompositeChange
- null
- getName() - Method in class org.eclipse.ltk.core.refactoring.NullChange
- null
- getName() - Method in class org.eclipse.ltk.core.refactoring.Refactoring
- Returns the refactoring's name.
- getName() - Method in class org.eclipse.ltk.core.refactoring.TextChange
- null
- getName() - Method in class org.eclipse.ltk.core.refactoring.TextEditChangeGroup
- Returns the groups's name by forwarding the method to the underlying text edit group.
- getName() - Method in class org.eclipse.ltk.core.refactoring.UndoTextFileChange
- null
- getNewRegion(TextEditChangeGroup[]) - Method in class org.eclipse.ltk.core.refactoring.TextChange
- getParent() - Method in class org.eclipse.ltk.core.refactoring.Change
- Returns the parent change.
- getPluginId() - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatusEntry
- Returns the plug-in identifier associated with the problem code.
- getPreviewContent(IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.TextChange
- Returns the preview content as a string.
- getPreviewContent(TextEditChangeGroup[], IRegion, boolean, int, IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.TextChange
- Returns a preview of the text change clipped to a specific region.
- getPreviewDocument(IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.TextChange
- Returns a document containing a preview of the text change.
- getPreviewDocument(TextEditChangeGroup[], IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.TextChange
- getPreviewEdit(TextEdit) - Method in class org.eclipse.ltk.core.refactoring.TextChange
- Returns the edit that got executed during preview generation instead of the given original.
- getPreviewEdits(TextEdit[]) - Method in class org.eclipse.ltk.core.refactoring.TextChange
- Returns the edits that were executed during preview generation instead of the given array of original edits.
- getRefactoring() - Method in class org.eclipse.ltk.core.refactoring.CheckConditionsOperation
- Returns the operation's refactoring
- getRegion(TextEditChangeGroup[]) - Method in class org.eclipse.ltk.core.refactoring.TextChange
- getRegion() - Method in class org.eclipse.ltk.core.refactoring.TextEditChangeGroup
- Returns the region covered by the underlying text edit group.
- getSaveMode() - Method in class org.eclipse.ltk.core.refactoring.TextFileChange
- Returns the save state set via
TextFileChange.setSaveMode(int)55 . - getSaveMode() - Method in class org.eclipse.ltk.core.refactoring.UndoTextFileChange
- Returns the change's save mode.
- getSeverity() - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Returns the severity.
- getSeverity() - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatusEntry
- Returns the severity level.
- getSeverityString(int) - Static method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- getStatus() - Method in class org.eclipse.ltk.core.refactoring.CheckConditionsOperation
- Returns the outcome of the operation or
nullif an exception has occurred while performing the operation or if the operation hasn't been performed yet. - getStyle() - Method in class org.eclipse.ltk.core.refactoring.CheckConditionsOperation
- Returns the condition checking style.
- getTextChange() - Method in class org.eclipse.ltk.core.refactoring.TextEditChangeGroup
- Returns the text change this group belongs to.
- getTextEditChangeGroups() - Method in class org.eclipse.ltk.core.refactoring.TextChange
- Returns the text edit change groups managed by this text change.
- getTextEditGroup() - Method in class org.eclipse.ltk.core.refactoring.TextEditChangeGroup
- Returns the underlying text edit group.
- getTextEdits() - Method in class org.eclipse.ltk.core.refactoring.TextEditChangeGroup
- Returns the text edits managed by the underlying text edit group.
- getTextRegion() - Method in class org.eclipse.ltk.core.refactoring.FileStatusContext
- Returns the context's source region
- getTextType() - Method in class org.eclipse.ltk.core.refactoring.TextChange
- Returns the text change's text type.
- getUndoChange() - Method in class org.eclipse.ltk.core.refactoring.PerformChangeOperation
- Returns the undo change of the change performed by this operation.
- getUndoChange() - Method in class org.eclipse.ltk.core.refactoring.PerformRefactoringOperation
- The undo object or
nullif no undo exists. - getUndoManager() - Static method in class org.eclipse.ltk.core.refactoring.RefactoringCore
- Returns the singleton undo manager for the refactoring undo stack.
- getUndoUntilException() - Method in class org.eclipse.ltk.core.refactoring.CompositeChange
- Returns the undo object containing all undo changes of those children that got successfully executed while performing this change.
- getValidationContext() - Method in class org.eclipse.ltk.core.refactoring.Refactoring
- Returns the validation context
- getValidationStatus() - Method in class org.eclipse.ltk.core.refactoring.PerformChangeOperation
- Returns the refactoring status returned from the call
IChange#isValid(). - getValidationStatus() - Method in class org.eclipse.ltk.core.refactoring.PerformRefactoringOperation
- Returns the refactoring status of the change's validation checking
or
nullif a change couldn't be created or the operation hasn't been performed yet.
H
- handleUndos(Change, List) - Method in class org.eclipse.ltk.core.refactoring.CompositeChange
- hasEntries() - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Returns whether the status has entries or not.
- hasError() - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Returns
trueif the current severity isFATALorERROR. - hasFatalError() - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Returns
trueif the current severity isFATAL. - hasInfo() - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Returns
trueif the current severity isFATAL,ERROR,WARNINGorINFO. - hasWarning() - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Returns
trueif the current severity isFATAL,ERRORorWARNING.
I
- INCLUDE - Static variable in class org.eclipse.ltk.core.refactoring.TextChange.LocalTextEditProcessor
- INFO - Static variable in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Status severity constant (value 1) indicating this status is informational only.
- INITIAL_CONDITONS - Static variable in class org.eclipse.ltk.core.refactoring.CheckConditionsOperation
- Flag indicating that only initial conditions will be checked
- INTERNAL_ERROR - Static variable in interface org.eclipse.ltk.core.refactoring.IRefactoringCoreStatusCodes
- Status code (value 10000) indicating an internal error.
- IRefactoringCoreStatusCodes - interface org.eclipse.ltk.core.refactoring.IRefactoringCoreStatusCodes.
- Status codes used by the refactoring core plug-in.
- IUndoManager - interface org.eclipse.ltk.core.refactoring.IUndoManager.
- An undo manager keeps track of performed changes.
- IUndoManagerListener - interface org.eclipse.ltk.core.refactoring.IUndoManagerListener.
- Listener to monitor state changes of an IUndoManager.
- IValidationCheckResultQuery - interface org.eclipse.ltk.core.refactoring.IValidationCheckResultQuery.
- A query interface to decide if a undo change whose validation check
returned a status unequal
RefactoringStatus.OK55 should be executed or not. - initializeValidationData(IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.Change
- Hook method to initialize some internal state to provide an adequate answer
for the
isValidmethod. - initializeValidationData(IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.CompositeChange
- null
- initializeValidationData(IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.DocumentChange
- null
- initializeValidationData(IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.NullChange
- null
- initializeValidationData(IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.TextFileChange
- null
- initializeValidationData(IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.UndoTextFileChange
- null
- internalHandleException(Change, Throwable) - Method in class org.eclipse.ltk.core.refactoring.CompositeChange
- Note: this is an internal method and should not be overridden outside of the refacotring framework.
- isEnabled() - Method in class org.eclipse.ltk.core.refactoring.Change
- Returns whether this change is enabled or not.
- isEnabled() - Method in class org.eclipse.ltk.core.refactoring.TextEditChangeGroup
- Returns whether the group is enabled or not.
- isError() - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatusEntry
- Returns whether the entry represents an error or not.
- isFatalError() - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatusEntry
- Returns whether the entry represents a fatal error or not.
- isInfo() - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatusEntry
- Returns whether the entry represents an information or not.
- isNullStamp() - Method in class org.eclipse.ltk.core.refactoring.ContentStamp
- Checks whether the stamp is the null stamp or not.
- isOK() - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Returns whether the status's severity is
OKor not. - isSynthetic() - Method in class org.eclipse.ltk.core.refactoring.CompositeChange
- Returns whether this change is synthetic or not.
- isValid(IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.Change
- Verifies that this change object is still valid and can be executed by calling
perform. - isValid(IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.CompositeChange
- null
- isValid(IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.DocumentChange
- null
- isValid(IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.NullChange
- null
- isValid(IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.TextFileChange
- null
- isValid(IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.UndoTextFileChange
- null
- isWarning() - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatusEntry
- Returns whether the entry represents a warning or not.
K
- KEEP_SAVE_STATE - Static variable in class org.eclipse.ltk.core.refactoring.TextFileChange
- Flag (value 1) indicating that the file's save state has to be kept.
L
- LAST - Static variable in class org.eclipse.ltk.core.refactoring.CheckConditionsOperation
- LEAVE_DIRTY - Static variable in class org.eclipse.ltk.core.refactoring.TextFileChange
- Flag (value 4) indicating that the file will not be saved after the change has been applied.
M
- mapEdits(TextEdit[], TextEditCopier) - Method in class org.eclipse.ltk.core.refactoring.TextChange
- markAsSynthetic() - Method in class org.eclipse.ltk.core.refactoring.CompositeChange
- Marks this change as synthetic.
- merge(CompositeChange) - Method in class org.eclipse.ltk.core.refactoring.CompositeChange
- Merges the children of the given composite change into this change.
- merge(RefactoringStatus) - Method in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Merges the receiver and the parameter statuses.
N
- NONE - Static variable in class org.eclipse.ltk.core.refactoring.CheckConditionsOperation
- Flag indicating that no conditions will be checked
- NO_CODE - Static variable in class org.eclipse.ltk.core.refactoring.RefactoringStatusEntry
- A special problem code indicating that no problem code is provided.
- NullChange - class org.eclipse.ltk.core.refactoring.NullChange.
- A refactoring change that does nothing.
- NullChange() - Constructor for class org.eclipse.ltk.core.refactoring.NullChange
- Creates a new
NullChangewith a default name. - NullChange(String) - Constructor for class org.eclipse.ltk.core.refactoring.NullChange
- Creates a new
NullChangewith the given name. - needsSaving() - Method in class org.eclipse.ltk.core.refactoring.TextFileChange
- needsSaving() - Method in class org.eclipse.ltk.core.refactoring.UndoTextFileChange
O
- OK - Static variable in class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Status severity constant (value 0) indicating this status represents the nominal case.
- org.eclipse.ltk.core.refactoring - package org.eclipse.ltk.core.refactoring
P
- PerformChangeOperation - class org.eclipse.ltk.core.refactoring.PerformChangeOperation.
- Operation that, when run, performs a Change object.
- PerformChangeOperation(Change) - Constructor for class org.eclipse.ltk.core.refactoring.PerformChangeOperation
- Creates a new perform change operation instance for the given change.
- PerformChangeOperation(CreateChangeOperation) - Constructor for class org.eclipse.ltk.core.refactoring.PerformChangeOperation
- Creates a new
PerformChangeOperationfor the given CreateChangeOperation. - PerformRefactoringOperation - class org.eclipse.ltk.core.refactoring.PerformRefactoringOperation.
- Operation that, when run, executes a refactoring.
- PerformRefactoringOperation(Refactoring, int) - Constructor for class org.eclipse.ltk.core.refactoring.PerformRefactoringOperation
- Create a new perform refactoring operation.
- peekRedoName() - Method in interface org.eclipse.ltk.core.refactoring.IUndoManager
- Returns the name of the top most redo.
- peekUndoName() - Method in interface org.eclipse.ltk.core.refactoring.IUndoManager
- Returns the name of the top most undo.
- perform(IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.Change
- Performs this change.
- perform(IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.CompositeChange
- null
- perform(IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.NullChange
- null
- perform(IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.TextChange
- null
- perform(IProgressMonitor) - Method in class org.eclipse.ltk.core.refactoring.UndoTextFileChange
- null
- performRedo(IValidationCheckResultQuery, IProgressMonitor) - Method in interface org.eclipse.ltk.core.refactoring.IUndoManager
- Redo the top most redo change.
- performUndo(IValidationCheckResultQuery, IProgressMonitor) - Method in interface org.eclipse.ltk.core.refactoring.IUndoManager
- Undo the top most undo change.
- proceed(RefactoringStatus) - Method in interface org.eclipse.ltk.core.refactoring.IValidationCheckResultQuery
- Returns whether the undo proceeds or not.
R
- Refactoring - class org.eclipse.ltk.core.refactoring.Refactoring.
- Abstract super class for all refactorings.
- Refactoring() - Constructor for class org.eclipse.ltk.core.refactoring.Refactoring
- RefactoringCore - class org.eclipse.ltk.core.refactoring.RefactoringCore.
- Central access point to access resources managed by the refactoring core plug-in.
- RefactoringCore() - Constructor for class org.eclipse.ltk.core.refactoring.RefactoringCore
- RefactoringStatus - class org.eclipse.ltk.core.refactoring.RefactoringStatus.
- A
RefactoringStatusobject represents the outcome of a condition checking operation. - RefactoringStatus() - Constructor for class org.eclipse.ltk.core.refactoring.RefactoringStatus
- Creates a new refactoring status with an empty list of
status entries and a severity of
OK. - RefactoringStatusContext - class org.eclipse.ltk.core.refactoring.RefactoringStatusContext.
- A
RefactoringStatusContextcan be used to annotate a RefactoringStatusEntry with additional information typically presented in the user interface. - RefactoringStatusContext() - Constructor for class org.eclipse.ltk.core.refactoring.RefactoringStatusContext
- RefactoringStatusEntry - class org.eclipse.ltk.core.refactoring.RefactoringStatusEntry.
- An immutable object representing an entry in the list in
RefactoringStatus. - RefactoringStatusEntry(int, String) - Constructor for class org.eclipse.ltk.core.refactoring.RefactoringStatusEntry
- Creates a new refactoring status entry.
- RefactoringStatusEntry(int, String, RefactoringStatusContext) - Constructor for class org.eclipse.ltk.core.refactoring.