Class BmObjectTextContentCompositeChange<T extends org.eclipse.emf.ecore.EObject>
- java.lang.Object
-
- org.eclipse.ltk.core.refactoring.Change
-
- org.eclipse.ltk.core.refactoring.CompositeChange
-
- com._1c.g5.v8.dt.refactoring.core.ltk.BmObjectTextContentCompositeChange<T>
-
- Type Parameters:
T
- type corresponding toBmObjectTextContentChange
- All Implemented Interfaces:
IProjectAwareChange
,org.eclipse.core.runtime.IAdaptable
public class BmObjectTextContentCompositeChange<T extends org.eclipse.emf.ecore.EObject> extends org.eclipse.ltk.core.refactoring.CompositeChange implements IProjectAwareChange
SpecialCompositeChange
for unionBmObjectTextContentChange
changes
-
-
Constructor Summary
Constructors Constructor Description BmObjectTextContentCompositeChange(String name, T object, org.eclipse.emf.ecore.EStructuralFeature feature)
ConstructorBmObjectTextContentCompositeChange(String name, T object, org.eclipse.emf.ecore.EStructuralFeature feature, org.eclipse.text.edits.TextEdit edit)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.ltk.core.refactoring.Change
getAllChange()
GetsChange
contains all changes in text content attribute as one blockString
getProjectName()
Gets name of the affected projectorg.eclipse.ltk.core.refactoring.Change
perform(org.eclipse.core.runtime.IProgressMonitor pm)
-
Methods inherited from class org.eclipse.ltk.core.refactoring.CompositeChange
add, addAll, clear, createUndoChange, dispose, getAffectedObjects, getChildren, getDescriptor, getModifiedElement, getName, getUndoUntilException, initializeValidationData, internalContinueOnCancel, internalHandleException, internalProcessOnCancel, isSynthetic, isValid, markAsSynthetic, merge, remove, setEnabled, toString
-
-
-
-
Constructor Detail
-
BmObjectTextContentCompositeChange
public BmObjectTextContentCompositeChange(String name, T object, org.eclipse.emf.ecore.EStructuralFeature feature)
Constructor- Parameters:
name
- name of the refactoring unit, can't benull
object
- object with text content attribute changing in thiChange
, can't benull
feature
-EStructuralFeature
corresponding to the changing text content, can't benull
-
BmObjectTextContentCompositeChange
public BmObjectTextContentCompositeChange(String name, T object, org.eclipse.emf.ecore.EStructuralFeature feature, org.eclipse.text.edits.TextEdit edit)
Constructor- Parameters:
name
- name of the refactoring unit, can't benull
object
- object with text content attribute changing in thiChange
, can't benull
feature
-EStructuralFeature
corresponding to the changing text content, can't benull
edit
- text edit contains all changes for text content, can't benull
-
-
Method Detail
-
getAllChange
public org.eclipse.ltk.core.refactoring.Change getAllChange()
GetsChange
contains all changes in text content attribute as one block- Returns:
Change
contains all changes in text content attribute as one block, nevernull
-
perform
public org.eclipse.ltk.core.refactoring.Change perform(org.eclipse.core.runtime.IProgressMonitor pm) throws org.eclipse.core.runtime.CoreException
- Overrides:
perform
in classorg.eclipse.ltk.core.refactoring.CompositeChange
- Throws:
org.eclipse.core.runtime.CoreException
-
getProjectName
public String getProjectName()
Description copied from interface:IProjectAwareChange
Gets name of the affected project- Specified by:
getProjectName
in interfaceIProjectAwareChange
- Returns:
- name of the affected project, can be
null
if there is no affected project
-
-