public class OpenParentGraphOnDoubleClickPolicy extends AbstractFXOnClickPolicy
OpenParentGraphOnDoubleClickPolicy
is an
AbstractFXOnClickPolicy
that can be installed on
GraphRootPart
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.Constructor and Description |
---|
OpenParentGraphOnDoubleClickPolicy() |
Modifier and Type | Method and Description |
---|---|
void |
click(javafx.scene.input.MouseEvent e) |
GraphRootPart |
getHost() |
commit, disableRefreshVisuals, enableRefreshVisuals, getAdaptable, init, setAdaptable
public void click(javafx.scene.input.MouseEvent e)
click
in class AbstractFXOnClickPolicy
public GraphRootPart getHost()
getHost
in interface IPolicy<javafx.scene.Node>
getHost
in class AbstractPolicy<javafx.scene.Node>
Copyright (c) 2014 itemis AG and others. All rights reserved.