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
TheOpenParentGraphOnDoubleClickHandler
is anIOnClickHandler
that can be installed onZestFxRootPart
s (seegetHost()
). It opens theGraph
that contains the node that contains theGraph
that is currently open when the background is double clicked.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.gef.common.adapt.IAdaptable.Bound
IAdaptable.Bound.Impl<T extends IAdaptable>
-
-
Constructor Summary
Constructors Constructor Description OpenParentGraphOnDoubleClickHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
click(javafx.scene.input.MouseEvent event)
ZestFxRootPart
getHost()
-
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
-
-
-
-
Method Detail
-
click
public void click(javafx.scene.input.MouseEvent event)
- Specified by:
click
in interfaceorg.eclipse.gef.mvc.fx.handlers.IOnClickHandler
-
getHost
public ZestFxRootPart getHost()
- Specified by:
getHost
in interfaceorg.eclipse.gef.mvc.fx.handlers.IHandler
- Overrides:
getHost
in classorg.eclipse.gef.mvc.fx.handlers.AbstractHandler
-
-