Class ConfigurationObjectRenameSupport
- java.lang.Object
-
- org.eclipse.xtext.ui.refactoring.ui.DefaultRenameSupport
-
- com._1c.g5.ides.ui.refactoring.xtext.CustomRenameSupport
-
- com._1c.g5.v8.dt.bsl.ui.refactoring.BslCustomRenameSupport
-
- com._1c.g5.v8.dt.bsl.bm.ui.refactoring.ConfigurationObjectRenameSupport
-
- All Implemented Interfaces:
org.eclipse.xtext.ui.refactoring.ui.IRenameSupport
public class ConfigurationObjectRenameSupport extends BslCustomRenameSupport
SpecialCustomRenameSupport
for rename refactoring configuration objects in Bsl module
-
-
Constructor Summary
Constructors Constructor Description ConfigurationObjectRenameSupport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
customInitialize(org.eclipse.xtext.ui.refactoring.ui.IRenameElementContext renameElementContext, String newName)
Initializes refactoring processors.org.eclipse.ltk.core.refactoring.Change
getChanges(org.eclipse.xtext.ui.refactoring.ui.IRenameElementContext renameElementContext, String newName)
Compile refactoring change.protected org.eclipse.ltk.ui.refactoring.RefactoringWizard
getRefactoringWizard(org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring refactoring, boolean previewOnly)
-
Methods inherited from class com._1c.g5.ides.ui.refactoring.xtext.CustomRenameSupport
beforeRefactoringStart, initialize, startDirectRefactoring, startRefactoringWithDialog
-
-
-
-
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
- actualorg.eclipse.xtext.ui.refactoring.ui.IRenameElementContex
, can't benull
newName
- actual new name, can't benull
- 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 protectedCustomRenameSupport.initialize(org.eclipse.xtext.ui.refactoring.ui.IRenameElementContext, String)
.- Parameters:
renameElementContext
- actualorg.eclipse.xtext.ui.refactoring.ui.IRenameElementContex
, can't benull
newName
- actual new name, can't benull
- 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 classBslCustomRenameSupport
-
-