Class OpenEmbeddedDeclarationHandler
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.core.commands.AbstractHandler
-
- com._1c.g5.v8.dt.lcore.ui.editor.embedded.OpenEmbeddedDeclarationHandler
-
- All Implemented Interfaces:
org.eclipse.core.commands.IHandler
,org.eclipse.core.commands.IHandler2
public class OpenEmbeddedDeclarationHandler extends org.eclipse.core.commands.AbstractHandler
Open declaration handler forXtext
embedded editors.This action can be contributed to an embedded
Xtext
editor popup context menu via thehandler
extension point, by referencing the target embedded editor opened state.<handler class="com.example.ExampleXtextExtensionFactory:com._1c.g5.v8.dt.lcore.ui.editor.embedded.OpenEmbeddedDeclarationHandler" commandId="org.eclipse.xtext.ui.editor.hyperlinking.OpenDeclaration"> <activeWhen> <reference definitionId="com.example.EmbeddedEditor.opened"> </reference> </activeWhen> </handler>
Clients are intended to refer to this class as an action delegate in plug-in XML.- Restriction:
- This class is not intended to be instantiated by clients.
-
-
Constructor Summary
Constructors Constructor Description OpenEmbeddedDeclarationHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
execute(org.eclipse.core.commands.ExecutionEvent event)
-
Methods inherited from class org.eclipse.core.commands.AbstractHandler
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabled
-
-
-
-
Method Detail
-
execute
public Object execute(org.eclipse.core.commands.ExecutionEvent event) throws org.eclipse.core.commands.ExecutionException
- Throws:
org.eclipse.core.commands.ExecutionException
-
-