| Package | Description |
|---|---|
| org.eclipse.gef4.zest.fx.behaviors |
This package provides behaviors for transferring information between graph
model elements and layout abstractions (
LayoutContextBehavior,
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),
dragging of edge labels (
OffsetEdgeLabelOnDragPolicy), and
navigating nested graphs via double-click (
OpenNestedGraphOnDoubleClickPolicy,
OpenParentGraphOnDoubleClickPolicy
). |
| Modifier and Type | Method and Description |
|---|---|
NodeContentPart |
NodeLayoutBehavior.getHost() |
NodeContentPart |
NodeHidingBehavior.getHost() |
protected NodeContentPart |
LayoutContextBehavior.getNestingPart()
Returns the
NodeContentPart that contains the nested graph to
which the LayoutContextBehavior.getGraphLayoutContext() corresponds. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<NodeContentPart> |
HidingModel.getHiddenNeighborParts(NodeContentPart nodePart)
Returns a
Set containing all NodeContentParts
corresponding to the hidden neighbors of the content of the given
NodeContentPart. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<NodeContentPart> |
HidingModel.getHiddenNeighborParts(NodeContentPart nodePart)
Returns a
Set containing all NodeContentParts
corresponding to the hidden neighbors of the content of the given
NodeContentPart. |
boolean |
HidingModel.hasHiddenNeighbors(NodeContentPart nodePart)
Returns
true if at least one neighbor of the given
NodeContentPart is currently hidden. |
void |
HidingModel.hide(NodeContentPart nodePart)
|
boolean |
HidingModel.isHidden(NodeContentPart nodePart)
|
void |
HidingModel.show(NodeContentPart nodePart)
|
| Constructor and Description |
|---|
HideOperation(IViewer<javafx.scene.Node> viewer,
NodeContentPart nodePart)
Constructs a new
HideOperation that will hide the given
NodeContentPart upon execution. |
ShowHiddenNeighborsOperation(IViewer<javafx.scene.Node> viewer,
NodeContentPart nodePart)
Constructs a new
ShowHiddenNeighborsOperation that will show all
hidden neighbors of the given NodeContentPart by removing them
from the HidingModel of the given IViewer upon execution. |
| Modifier and Type | Method and Description |
|---|---|
NodeContentPart |
ShowHiddenNeighborsPolicy.getHost() |
NodeContentPart |
ShowHiddenNeighborsOnTypePolicy.getHost() |
NodeContentPart |
OpenNestedGraphOnDoubleClickPolicy.getHost() |
NodeContentPart |
HidePolicy.getHost() |
NodeContentPart |
HideOnTypePolicy.getHost() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<NodeContentPart> |
SemanticZoomPolicy.findNestingNodes()
Returns a
List containing all NodeContentParts (within
the currently rendered graph) that have a nested graph assigned to them. |
| Modifier and Type | Method and Description |
|---|---|
protected ITransactionalOperation |
HidePolicy.createDeselectOperation(NodeContentPart part)
Returns an
ITransactionalOperation that removes the given
NodeContentPart from the SelectionModel of the
corresponding IViewer. |
protected ITransactionalOperation |
HidePolicy.createHideOperation(NodeContentPart part)
Returns an
ITransactionalOperation that adds the given
NodeContentPart to the HidingModel of its IViewer
. |
protected ITransactionalOperation |
HidePolicy.createUnfocusOperation(NodeContentPart part)
Returns an
ITransactionalOperation that removes the given
NodeContentPart from the FocusModel of the corresponding
IViewer. |
Copyright (c) 2014 itemis AG and others. All rights reserved.