| Package | Description |
|---|---|
| org.eclipse.gef4.zest.fx.behaviors |
This package provides behaviors for transferring information between graph
model elements and layout abstractions (
GraphLayoutBehavior,
AbstractLayoutBehavior,
NodeLayoutBehavior,
EdgeLayoutBehavior), as well as
hiding/unhiding of nodes and related edges (
AbstractHidingBehavior,
NodeHidingBehavior,
EdgeHidingBehavior,
EdgeLabelHidingBehavior). |
| org.eclipse.gef4.zest.fx.models |
This package provides viewer models to support hiding/unhiding of nodes (
HidingModel) as well as semantic
zooming (NavigationModel). |
| org.eclipse.gef4.zest.fx.operations |
This package provides an
IUndoableOperation to support
hiding/unhiding of nodes and related edges (
HideOperation). |
| org.eclipse.gef4.zest.fx.policies |
This package provides policy implementations to support hiding/unhiding of
nodes and related edges (
HidePolicy,
ShowHiddenNeighborsOnTypePolicy),
navigating nested graphs via double-click (
OpenNestedGraphOnDoubleClickPolicy,
OpenParentGraphOnDoubleClickPolicy
). |
| Modifier and Type | Method and Description |
|---|---|
NodePart |
NodeLayoutBehavior.getHost() |
NodePart |
NodeHidingBehavior.getHost() |
protected NodePart |
GraphLayoutBehavior.getNestingPart()
Returns the
NodePart that contains the nested graph to which the
behavior corresponds, if this behavior is related to a nested graph. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<NodePart> |
HidingModel.getHiddenNeighborParts(NodePart nodePart)
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<NodePart> |
HidingModel.getHiddenNeighborParts(NodePart nodePart)
|
boolean |
HidingModel.hasHiddenNeighbors(NodePart nodePart)
Returns
true if at least one neighbor of the given
NodePart is currently hidden. |
void |
HidingModel.hide(NodePart nodePart)
|
boolean |
HidingModel.isHidden(NodePart nodePart)
|
void |
HidingModel.show(NodePart nodePart)
|
| Constructor and Description |
|---|
HideOperation(IViewer<javafx.scene.Node> viewer,
NodePart nodePart)
Constructs a new
HideOperation that will hide the given
NodePart upon execution. |
ShowHiddenNeighborsOperation(IViewer<javafx.scene.Node> viewer,
NodePart nodePart)
Constructs a new
ShowHiddenNeighborsOperation that will show all
hidden neighbors of the given NodePart by removing them
from the HidingModel of the given IViewer upon execution. |
| Modifier and Type | Method and Description |
|---|---|
NodePart |
ShowHiddenNeighborsPolicy.getHost() |
NodePart |
ShowHiddenNeighborsOnTypePolicy.getHost() |
NodePart |
OpenNestedGraphOnDoubleClickPolicy.getHost() |
NodePart |
HidePolicy.getHost() |
NodePart |
HideOnTypePolicy.getHost() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<NodePart> |
SemanticZoomPolicy.findNestingNodes()
Returns a
List containing all NodeParts (within the
currently rendered graph) that have a nested graph assigned to them. |
| Modifier and Type | Method and Description |
|---|---|
protected ITransactionalOperation |
HidePolicy.createDeselectOperation(NodePart part)
Returns an
ITransactionalOperation that removes the given
NodePart from the SelectionModel of the
corresponding IViewer. |
protected ITransactionalOperation |
HidePolicy.createHideOperation(NodePart part)
|
protected ITransactionalOperation |
HidePolicy.createUnfocusOperation(NodePart part)
Returns an
ITransactionalOperation that removes the given
NodePart from the FocusModel of the corresponding
IViewer. |
Copyright (c) 2014 itemis AG and others. All rights reserved.