Class AbstractBslMdObjectHandlerRenameParticipant.MdObjectHandlerNameChange
- java.lang.Object
-
- org.eclipse.ltk.core.refactoring.Change
-
- com._1c.g5.v8.dt.bsl.bm.ui.refactoring.AbstractBslMdObjectHandlerRenameParticipant.MdObjectHandlerNameChange
-
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable
- Enclosing class:
- AbstractBslMdObjectHandlerRenameParticipant
protected abstract static class AbstractBslMdObjectHandlerRenameParticipant.MdObjectHandlerNameChange extends org.eclipse.ltk.core.refactoring.Change
Change contains information about how handler will be changed
-
-
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.emf.ecore.EStructuralFeature
feature
protected String
newName
protected org.eclipse.emf.ecore.EObject
object
protected IBmTransaction
transaction
-
Constructor Summary
Constructors Constructor Description MdObjectHandlerNameChange(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, String newName)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getModifiedElement()
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)
void
setTransaction(IBmTransaction transaction)
Sets actualIBmTransaction
-
-
-
Field Detail
-
object
protected final org.eclipse.emf.ecore.EObject object
-
feature
protected final org.eclipse.emf.ecore.EStructuralFeature feature
-
newName
protected final String newName
-
transaction
protected IBmTransaction transaction
-
-
Constructor Detail
-
MdObjectHandlerNameChange
public MdObjectHandlerNameChange(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, String newName)
Constructor- Parameters:
object
- object containing refactoring handler, can't benull
feature
-EStructuralFeature
corresponding to the refactoring handler, can't benull
newName
- new name of the handler, can't benull
-
-
Method Detail
-
setTransaction
public void setTransaction(IBmTransaction transaction)
Sets actualIBmTransaction
- Parameters:
session
- actualIBmTransaction
, can't benull
-
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
-
-