public class OpenNestedGraphOnDoubleClickHandler extends org.eclipse.gef.mvc.fx.handlers.AbstractHandler implements org.eclipse.gef.mvc.fx.handlers.IOnClickHandler
OpenNestedGraphOnDoubleClickHandler
is an IOnClickHandler
that can be installed on NodePart
s (see getHost()
). It opens
the Graph
that is nested inside of its NodePart
when the
NodePart
is double clicked.adaptable
adaptable
IAdaptable.Bound.Impl<T extends IAdaptable>
Constructor and Description |
---|
OpenNestedGraphOnDoubleClickHandler() |
Modifier and Type | Method and Description |
---|---|
void |
click(javafx.scene.input.MouseEvent event) |
NodePart |
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 NodePart 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.