Class FullTextSearchSourceFileChange
- java.lang.Object
-
- org.eclipse.ltk.core.refactoring.Change
-
- org.eclipse.ltk.core.refactoring.TextEditBasedChange
-
- org.eclipse.handly.refactoring.SourceFileChange
-
- com._1c.g5.v8.dt.lcore.refactoring.CustomSourceFileChange
-
- com._1c.g5.v8.dt.lcore.refactoring.FullTextSearchSourceFileChange
-
- All Implemented Interfaces:
IFullTextSearchChange
,org.eclipse.core.runtime.IAdaptable
public class FullTextSearchSourceFileChange extends CustomSourceFileChange implements IFullTextSearchChange
SpecialSourceFileChange
for full text search refactoring
-
-
Constructor Summary
Constructors Constructor Description FullTextSearchSourceFileChange(String name, org.eclipse.handly.model.ISourceFile sourceFile, boolean changeForbidden)
Creates a change that initially contains only an empty root edit.FullTextSearchSourceFileChange(String name, org.eclipse.handly.model.ISourceFile sourceFile, org.eclipse.text.edits.TextEdit edit, boolean changeForbidden)
Creates a change with the given edit tree.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FullTextSearchSourceFileChange
createClone()
Creates clone of change-
Methods inherited from class com._1c.g5.v8.dt.lcore.refactoring.CustomSourceFileChange
isEnabled, isForbidden, setEnabled
-
Methods inherited from class org.eclipse.handly.refactoring.SourceFileChange
addEdit, addEdits, addGroupedEdits, addGroupedEdits, getAffectedObjects, getBase, getCurrentContent, getCurrentContent, getEdit, getModifiedElement, getPreviewContent, getPreviewContent, getPreviewDocument, getPreviewEdit, getPreviewEdits, getSaveMode, initializeValidationData, isValid, perform, setBase, setKeepPreviewEdits, setSaveMode
-
Methods inherited from class org.eclipse.ltk.core.refactoring.TextEditBasedChange
addChangeGroup, addTextEditGroup, getChangeGroups, getKeepPreviewEdits, getName, getTextType, hasOneGroupCategory, setTextType
-
-
-
-
Constructor Detail
-
FullTextSearchSourceFileChange
public FullTextSearchSourceFileChange(String name, org.eclipse.handly.model.ISourceFile sourceFile, boolean changeForbidden)
Creates a change that initially contains only an empty root edit.- Type Parameters:
code
- true if changes is forbidden for perform,false
otherwise- Parameters:
name
- the change's name, mainly used to render the change in the UI, can't benull
sourceFile
- the source file this change works on, can't benull
-
FullTextSearchSourceFileChange
public FullTextSearchSourceFileChange(String name, org.eclipse.handly.model.ISourceFile sourceFile, org.eclipse.text.edits.TextEdit edit, boolean changeForbidden)
Creates a change with the given edit tree. The structure of the tree may be modified later.- Type Parameters:
code
- true if changes is forbidden for perform,false
otherwise- Parameters:
name
- the change's name, mainly used to render the change in the UI, can't benull
sourceFile
- the source file this change works on, can't benull
edit
- the root of the change's edit tree, can't benull
-
-
Method Detail
-
createClone
public FullTextSearchSourceFileChange createClone()
Creates clone of change- Returns:
- cloning element, never
null
-
-