Class 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 Detail

      • object

        protected final org.eclipse.emf.ecore.EObject object
      • feature

        protected final org.eclipse.emf.ecore.EStructuralFeature feature
      • newName

        protected final String newName
    • 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 be null
        feature - EStructuralFeature corresponding to the refactoring handler, can't be null
        newName - new name of the handler, can't be null
    • Method Detail

      • initializeValidationData

        public void initializeValidationData​(org.eclipse.core.runtime.IProgressMonitor pm)
        Specified by:
        initializeValidationData in class org.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 class org.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 class org.eclipse.ltk.core.refactoring.Change
        Throws:
        org.eclipse.core.runtime.CoreException
      • getModifiedElement

        public Object getModifiedElement()
        Specified by:
        getModifiedElement in class org.eclipse.ltk.core.refactoring.Change