Package | Description |
---|---|
org.eclipse.gef4.zest.core.viewers | |
org.eclipse.gef4.zest.core.widgets | |
org.eclipse.gef4.zest.core.widgets.custom |
Modifier and Type | Field and Description |
---|---|
protected GraphWidget |
GraphViewer.graph |
Modifier and Type | Method and Description |
---|---|
GraphWidget |
GraphViewer.getGraphControl() |
GraphWidget |
AbstractStructuredGraphViewer.getGraphControl() |
Modifier and Type | Method and Description |
---|---|
protected GraphConnection[] |
AbstractStructuredGraphViewer.getConnectionsArray(GraphWidget graph)
Converts the list of GraphModelConnection objects into an array and
returns it.
|
protected GraphNode[] |
AbstractStructuredGraphViewer.getNodesArray(GraphWidget graph)
Converts the list of GraphModelNode objects into an array an returns it.
|
Constructor and Description |
---|
GraphViewer(GraphWidget graph)
Initializes the viewer.
|
Modifier and Type | Field and Description |
---|---|
protected GraphWidget |
GraphNode.graphWidget |
Modifier and Type | Method and Description |
---|---|
GraphWidget |
IContainer.getGraph() |
GraphWidget |
GraphWidget.getGraph() |
GraphWidget |
GraphContainer.getGraph()
Gets the graph that this container has been added to.
|
GraphWidget |
GraphNode.getGraphWidget()
Gets the graph widget that this node is contained in
|
abstract GraphWidget |
GraphItem.getGraphWidget()
Gets the graph that this item is rooted on.
|
GraphWidget |
GraphConnection.getGraphWidget()
Gets the graph widget that this connection is in
|
Modifier and Type | Method and Description |
---|---|
void |
FisheyeListener.fisheyeAdded(GraphWidget graph,
org.eclipse.draw2d.IFigure originalFigure,
org.eclipse.draw2d.IFigure fisheyeFigure)
Called when a fisheye figure is added to an observed graph.
|
void |
FisheyeListener.fisheyeRemoved(GraphWidget graph,
org.eclipse.draw2d.IFigure originalFigure,
org.eclipse.draw2d.IFigure fisheyeFigure)
Called when a fisheye figure is removed form an observed graph.
|
void |
FisheyeListener.fisheyeReplaced(GraphWidget graph,
org.eclipse.draw2d.IFigure oldFisheyeFigure,
org.eclipse.draw2d.IFigure newFisheyeFigure)
Called when one fisheye figure is replaced by another in an observed
graph.
|
Constructor and Description |
---|
GraphConnection(GraphWidget graphModel,
int style,
GraphNode source,
GraphNode destination) |
GraphContainer(GraphWidget graph,
int style)
Creates a new GraphContainer.
|
GraphContainer(GraphWidget graph,
int style,
java.lang.String text,
Image image)
Deprecated.
Since Zest 2.0, use
GraphContainer.GraphContainer(GraphWidget, int)
, GraphNode.setText(String) , and GraphNode.setImage(Image) |
Constructor and Description |
---|
CGraphNode(GraphWidget graphModel,
int style,
org.eclipse.draw2d.IFigure figure) |
Copyright (c) 2014 itemis AG and others. All rights reserved.