Package com._1c.g5.v8.dt.bsl.ui.menu
Class BslCustomRenameElementHandler
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.core.commands.AbstractHandler
-
- org.eclipse.xtext.ui.refactoring.ui.DefaultRenameElementHandler
-
- com._1c.g5.ides.ui.refactoring.xtext.CustomRenameElementHandler
-
- com._1c.g5.v8.dt.bsl.ui.menu.BslCustomRenameElementHandler
-
- All Implemented Interfaces:
org.eclipse.core.commands.IHandler
,org.eclipse.core.commands.IHandler2
,org.eclipse.xtext.ui.refactoring.ui.IRenameElementHandler
public class BslCustomRenameElementHandler extends CustomRenameElementHandler
Adapted version ofCustomRenameElementHandler
for Bsl Module
-
-
Constructor Summary
Constructors Constructor Description BslCustomRenameElementHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
execute(org.eclipse.core.commands.ExecutionEvent event)
protected boolean
isRefactoringEnabled(org.eclipse.xtext.ui.refactoring.ui.IRenameElementContext renameElementContext, org.eclipse.xtext.resource.XtextResource resource)
-
Methods inherited from class org.eclipse.xtext.ui.refactoring.ui.DefaultRenameElementHandler
createRenameElementContext, startRenameElement
-
Methods inherited from class org.eclipse.core.commands.AbstractHandler
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabled
-
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
execute
public Object execute(org.eclipse.core.commands.ExecutionEvent event) throws org.eclipse.core.commands.ExecutionException
- Specified by:
execute
in interfaceorg.eclipse.core.commands.IHandler
- Overrides:
execute
in classorg.eclipse.xtext.ui.refactoring.ui.DefaultRenameElementHandler
- Throws:
org.eclipse.core.commands.ExecutionException
-
isRefactoringEnabled
protected boolean isRefactoringEnabled(org.eclipse.xtext.ui.refactoring.ui.IRenameElementContext renameElementContext, org.eclipse.xtext.resource.XtextResource resource)
- Overrides:
isRefactoringEnabled
in classCustomRenameElementHandler
-
-