Package | Description |
---|---|
org.eclipse.gef4.layout |
This package provides an interface-based facade to exchange layout
information with layout algorithms (within this package), concrete
implementations of layout algorithms (
org.eclipse.gef4.layout.algorithms ). |
Modifier and Type | Method and Description |
---|---|
IEdgeLayout[] |
ILayoutContext.getConnections(INodeLayout layoutEntity1,
INodeLayout layoutEntity2)
Returns all the connections between given source and target entities.
|
IEdgeLayout[] |
AbstractLayoutContext.getConnections(INodeLayout layoutEntity1,
INodeLayout layoutEntity2) |
IEdgeLayout[] |
ILayoutContext.getEdges()
Returns all the connections between nodes that should be laid out.
|
IEdgeLayout[] |
AbstractLayoutContext.getEdges() |
IEdgeLayout[] |
INodeLayout.getIncomingConnections()
Returns all connections that have this node as a target.
|
IEdgeLayout[] |
INodeLayout.getOutgoingConnections()
Returns all connections that have this node as a source.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractLayoutContext.addEdge(IEdgeLayout edge)
Adds the given
IEdgeLayout to the list of edges and fires a
corresponding connection-added-event. |
static java.lang.Double |
LayoutProperties.getWeight(IEdgeLayout edge)
Returns the value of the
LayoutProperties.WEIGHT_PROPERTY of the given
IEdgeLayout . |
boolean |
ILayoutFilter.isLayoutIrrelevant(IEdgeLayout connectionLayout)
Returns
true to indicate that the given
IEdgeLayout is irrelevant for layout. |
boolean |
ILayoutContext.isLayoutIrrelevant(IEdgeLayout connLayout)
Returns
true when the given IEdgeLayout is not
relevant for layout according to the configured layout filters . |
boolean |
AbstractLayoutContext.isLayoutIrrelevant(IEdgeLayout connLayout) |
protected void |
AbstractLayoutContext.removeEdge(IEdgeLayout edge)
Removes the given
IEdgeLayout from the list of edges and fires a
corresponding connection-removed-event. |
static void |
LayoutProperties.setWeight(IEdgeLayout edge,
double weight)
Sets the value of the
LayoutProperties.WEIGHT_PROPERTY of the given
IEdgeLayout to the given value. |
Copyright (c) 2014 itemis AG and others. All rights reserved.