Package org.eclipse.gef.zest.fx.handlers
Class OpenParentGraphOnDoubleClickHandler
java.lang.Object
org.eclipse.gef.common.adapt.IAdaptable.Bound.Impl<IVisualPart<? extends javafx.scene.Node>>
org.eclipse.gef.mvc.fx.handlers.AbstractHandler
org.eclipse.gef.zest.fx.handlers.OpenParentGraphOnDoubleClickHandler
- All Implemented Interfaces:
IAdaptable.Bound<IVisualPart<? extends javafx.scene.Node>>
,org.eclipse.gef.mvc.fx.handlers.IHandler
,org.eclipse.gef.mvc.fx.handlers.IOnClickHandler
public class OpenParentGraphOnDoubleClickHandler
extends org.eclipse.gef.mvc.fx.handlers.AbstractHandler
implements org.eclipse.gef.mvc.fx.handlers.IOnClickHandler
The
OpenParentGraphOnDoubleClickHandler
is an IOnClickHandler
that can be installed on ZestFxRootPart
s (see getHost()
). It
opens the Graph
that contains the node that contains the
Graph
that is currently open when the background is double clicked.-
Property Summary
Properties inherited from class org.eclipse.gef.common.adapt.IAdaptable.Bound.Impl
adaptable
Properties inherited from interface org.eclipse.gef.common.adapt.IAdaptable.Bound
adaptable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.gef.common.adapt.IAdaptable.Bound
IAdaptable.Bound.Impl<T extends IAdaptable>
-
Constructor Summary
-
Method Summary
Methods inherited from class org.eclipse.gef.mvc.fx.handlers.AbstractHandler
commit, execute, init, isRegistered, isRegisteredForHost, restoreRefreshVisuals, rollback, storeAndDisableRefreshVisuals
Methods inherited from class org.eclipse.gef.common.adapt.IAdaptable.Bound.Impl
adaptableProperty, getAdaptable, setAdaptable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.gef.common.adapt.IAdaptable.Bound
adaptableProperty, getAdaptable, setAdaptable
-
Constructor Details
-
OpenParentGraphOnDoubleClickHandler
public OpenParentGraphOnDoubleClickHandler()
-
-
Method Details
-
click
public void click(javafx.scene.input.MouseEvent event) - Specified by:
click
in interfaceorg.eclipse.gef.mvc.fx.handlers.IOnClickHandler
-
getHost
- Specified by:
getHost
in interfaceorg.eclipse.gef.mvc.fx.handlers.IHandler
- Overrides:
getHost
in classorg.eclipse.gef.mvc.fx.handlers.AbstractHandler
-