Class UndoBmObjectTextContentChange<T extends org.eclipse.emf.ecore.EObject>
- java.lang.Object
-
- org.eclipse.ltk.core.refactoring.Change
-
- com._1c.g5.v8.dt.refactoring.core.ltk.UndoBmObjectTextContentChange<T>
-
- Type Parameters:
T
- type corresponding toBmObjectTextContentChange
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable
public class UndoBmObjectTextContentChange<T extends org.eclipse.emf.ecore.EObject> extends org.eclipse.ltk.core.refactoring.Change
UndoChange
forBmObjectTextContentChange
-
-
Constructor Summary
Constructors Constructor Description UndoBmObjectTextContentChange(String name, T object, org.eclipse.emf.ecore.EStructuralFeature feature, String oldContent)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getModifiedElement()
String
getName()
void
initializeValidationData(org.eclipse.core.runtime.IProgressMonitor pm)
org.eclipse.ltk.core.refactoring.RefactoringStatus
isValid(org.eclipse.core.runtime.IProgressMonitor pm)
org.eclipse.ltk.core.refactoring.Change
perform(org.eclipse.core.runtime.IProgressMonitor pm)
-
-
-
Constructor Detail
-
UndoBmObjectTextContentChange
public UndoBmObjectTextContentChange(String name, T object, org.eclipse.emf.ecore.EStructuralFeature feature, String oldContent)
Constructor- Parameters:
name
- name of the change, can't benull
object
- object which attribute will be changed by thisChange
, can't benull
feature
-EStructuralFeature
corresponding to the changing text content, can't benull
oldContent
- aold content which was changed byBmObjectTextContentChange
, can't benull
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in classorg.eclipse.ltk.core.refactoring.Change
-
initializeValidationData
public void initializeValidationData(org.eclipse.core.runtime.IProgressMonitor pm)
- Specified by:
initializeValidationData
in classorg.eclipse.ltk.core.refactoring.Change
-
isValid
public org.eclipse.ltk.core.refactoring.RefactoringStatus isValid(org.eclipse.core.runtime.IProgressMonitor pm) throws org.eclipse.core.runtime.CoreException, org.eclipse.core.runtime.OperationCanceledException
- Specified by:
isValid
in classorg.eclipse.ltk.core.refactoring.Change
- Throws:
org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.OperationCanceledException
-
perform
public org.eclipse.ltk.core.refactoring.Change perform(org.eclipse.core.runtime.IProgressMonitor pm) throws org.eclipse.core.runtime.CoreException
- Specified by:
perform
in classorg.eclipse.ltk.core.refactoring.Change
- Throws:
org.eclipse.core.runtime.CoreException
-
getModifiedElement
public Object getModifiedElement()
- Specified by:
getModifiedElement
in classorg.eclipse.ltk.core.refactoring.Change
-
-