public class OpenParentGraphOnDoubleClickHandler extends org.eclipse.gef.mvc.fx.handlers.AbstractHandler implements org.eclipse.gef.mvc.fx.handlers.IOnClickHandler
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.adaptable
adaptable
IAdaptable.Bound.Impl<T extends IAdaptable>
Constructor and Description |
---|
OpenParentGraphOnDoubleClickHandler() |
Modifier and Type | Method and Description |
---|---|
void |
click(javafx.scene.input.MouseEvent event) |
ZestFxRootPart |
getHost() |
commit, execute, init, isRegistered, isRegisteredForHost, restoreRefreshVisuals, rollback, storeAndDisableRefreshVisuals
adaptableProperty, getAdaptable, setAdaptable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
adaptableProperty, getAdaptable, setAdaptable
public void click(javafx.scene.input.MouseEvent event)
click
in interface org.eclipse.gef.mvc.fx.handlers.IOnClickHandler
public ZestFxRootPart getHost()
getHost
in interface org.eclipse.gef.mvc.fx.handlers.IHandler
getHost
in class org.eclipse.gef.mvc.fx.handlers.AbstractHandler
Copyright (c) 2014 itemis AG and others. All rights reserved.