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
FieldsModifier and TypeFieldDescriptionprotected final org.eclipse.emf.ecore.EStructuralFeatureprotected final Stringprotected final org.eclipse.emf.ecore.EObjectprotected IBmTransaction -
Constructor Summary
ConstructorsConstructorDescriptionMdObjectHandlerNameChange(org.eclipse.emf.ecore.EObject object, org.eclipse.emf.ecore.EStructuralFeature feature, String newName) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidinitializeValidationData(org.eclipse.core.runtime.IProgressMonitor pm) org.eclipse.ltk.core.refactoring.RefactoringStatusisValid(org.eclipse.core.runtime.IProgressMonitor pm) org.eclipse.ltk.core.refactoring.Changeperform(org.eclipse.core.runtime.IProgressMonitor pm) voidsetTransaction(IBmTransaction transaction) Sets actualIBmTransactionMethods inherited from class org.eclipse.ltk.core.refactoring.Change
dispose, getAdapter, getAffectedObjects, getDescriptor, getName, getParent, isEnabled, setEnabled, setEnabledShallow
-
Field Details
-
object
protected final org.eclipse.emf.ecore.EObject object -
feature
protected final org.eclipse.emf.ecore.EStructuralFeature feature -
newName
-
transaction
-
-
Constructor Details
-
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 benullfeature-EStructuralFeaturecorresponding to the refactoring handler, can't benullnewName- new name of the handler, can't benull
-
-
Method Details
-
setTransaction
Sets actualIBmTransaction- Parameters:
session- actualIBmTransaction, can't benull
-
initializeValidationData
public void initializeValidationData(org.eclipse.core.runtime.IProgressMonitor pm) - Specified by:
initializeValidationDatain 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:
isValidin classorg.eclipse.ltk.core.refactoring.Change- Throws:
org.eclipse.core.runtime.CoreExceptionorg.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:
performin classorg.eclipse.ltk.core.refactoring.Change- Throws:
org.eclipse.core.runtime.CoreException
-
getModifiedElement
- Specified by:
getModifiedElementin classorg.eclipse.ltk.core.refactoring.Change
-