Class ConfigurationObjectRenameSupport

  • All Implemented Interfaces:
    org.eclipse.xtext.ui.refactoring.ui.IRenameSupport

    public class ConfigurationObjectRenameSupport
    extends BslCustomRenameSupport
    Special CustomRenameSupport for rename refactoring configuration objects in Bsl module
    • Constructor Detail

      • ConfigurationObjectRenameSupport

        public ConfigurationObjectRenameSupport()
    • Method Detail

      • getChanges

        public org.eclipse.ltk.core.refactoring.Change getChanges​(org.eclipse.xtext.ui.refactoring.ui.IRenameElementContext renameElementContext,
                                                                  String newName)
                                                           throws InterruptedException
        Compile refactoring change.
        Parameters:
        renameElementContext - actual org.eclipse.xtext.ui.refactoring.ui.IRenameElementContex, can't be null
        newName - actual new name, can't be null
        Returns:
        Change that processing refactoring
        Throws:
        InterruptedException
      • customInitialize

        public boolean customInitialize​(org.eclipse.xtext.ui.refactoring.ui.IRenameElementContext renameElementContext,
                                        String newName)
        Initializes refactoring processors.
        This method is wrapper for protected CustomRenameSupport.initialize(org.eclipse.xtext.ui.refactoring.ui.IRenameElementContext, String).
        Parameters:
        renameElementContext - actual org.eclipse.xtext.ui.refactoring.ui.IRenameElementContex, can't be null
        newName - actual new name, can't be null
        Returns:
        true if refactoring processor was initialized correctly, false otherwise
      • getRefactoringWizard

        protected org.eclipse.ltk.ui.refactoring.RefactoringWizard getRefactoringWizard​(org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring refactoring,
                                                                                        boolean previewOnly)
        Overrides:
        getRefactoringWizard in class BslCustomRenameSupport