Class HtmlDocumentMdReferenceRenameRefactoringContributor

    • Constructor Detail

      • HtmlDocumentMdReferenceRenameRefactoringContributor

        public HtmlDocumentMdReferenceRenameRefactoringContributor()
    • Method Detail

      • createNativePreChanges

        public Collection<org.eclipse.ltk.core.refactoring.Change> createNativePreChanges​(org.eclipse.emf.ecore.EObject object,
                                                                                          String newName,
                                                                                          RefactoringSettings settings,
                                                                                          RefactoringStatus status)
        Description copied from interface: IRenameRefactoringContributor
        Creates LTK changes that is executed before the EDT refactoring operations are performed.

        If some conditions are not satisfied the refactoring status should be filled with the appropriate error or warning message.

        Specified by:
        createNativePreChanges in interface IRenameRefactoringContributor
        Parameters:
        object - the object being renamed, cannot be null.
        newName - the new name of the object, cannot be null.
        settings - the refactoring settings, cannot be null.
        status - the refactoring status, cannot be null.
        Returns:
        a collection of LTK changes or null.
      • createNativePostChanges

        public Collection<org.eclipse.ltk.core.refactoring.Change> createNativePostChanges​(org.eclipse.emf.ecore.EObject object,
                                                                                           String newName,
                                                                                           RefactoringSettings settings,
                                                                                           RefactoringStatus status)
        Description copied from interface: IRenameRefactoringContributor
        Creates LTK changes that is executed after the EDT refactoring operations are performed.

        If some conditions are not satisfied the refactoring status should be filled with the appropriate error or warning message.

        Specified by:
        createNativePostChanges in interface IRenameRefactoringContributor
        Parameters:
        object - the object being renamed, cannot be null.
        newName - the new name of the object, cannot be null.
        settings - the refactoring settings, cannot be null.
        status - the refactoring status, cannot be null.
        Returns:
        a collection of LTK changes or null.