public interface IPruningListener
IPruningListener
is notified about pruning changes, i.e. adding
INodeLayout
s to an ISubgraphLayout
(pruning), or removing
INodeLayout
s from an ISubgraphLayout
(unpruning).Modifier and Type | Method and Description |
---|---|
boolean |
nodesPruned(ILayoutContext context,
ISubgraphLayout[] subgraph)
This method is called when some nodes are pruned in a layout context.
|
boolean |
nodesUnpruned(ILayoutContext context,
INodeLayout[] nodes)
This method is called when some nodes are unpruned in a layout context,
that is they are no longer part of a subgraph.
|
boolean nodesPruned(ILayoutContext context, ISubgraphLayout[] subgraph)
ILayoutAlgorithm.applyLayout(boolean)
will be called on the
context's main algorithm.context
- the layout context that fired the eventsubgraph
- subgraphs that have been created or had nodes addedboolean nodesUnpruned(ILayoutContext context, INodeLayout[] nodes)
ILayoutAlgorithm.applyLayout(boolean)
will be called on the
context's main algorithm.context
- the layout context that fired the eventnodes
- nodes that have been unprunedCopyright (c) 2014 itemis AG and others. All rights reserved.