Class BmObjectTextContentCompositeChange<T extends org.eclipse.emf.ecore.EObject>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.eclipse.ltk.core.refactoring.Change getAllChange()
      Gets Change contains all changes in text content attribute as one block
      String getProjectName()
      Gets name of the affected project
      org.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
      • Methods inherited from class org.eclipse.ltk.core.refactoring.Change

        getAdapter, getParent, isEnabled, setEnabledShallow
    • 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 be null
        object - object with text content attribute changing in thi Change, can't be null
        feature - EStructuralFeature corresponding to the changing text content, can't be null
      • 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 be null
        object - object with text content attribute changing in thi Change, can't be null
        feature - EStructuralFeature corresponding to the changing text content, can't be null
        edit - text edit contains all changes for text content, can't be null
    • Method Detail

      • getAllChange

        public org.eclipse.ltk.core.refactoring.Change getAllChange()
        Gets Change contains all changes in text content attribute as one block
        Returns:
        Change contains all changes in text content attribute as one block, never null
      • perform

        public org.eclipse.ltk.core.refactoring.Change perform​(org.eclipse.core.runtime.IProgressMonitor pm)
                                                        throws org.eclipse.core.runtime.CoreException
        Overrides:
        perform in class org.eclipse.ltk.core.refactoring.CompositeChange
        Throws:
        org.eclipse.core.runtime.CoreException