public interface IGraphStructureListener
IGraphStructureListener
is notified about structural changes, i.e.
the addition/removal of INodeLayout
s and IConnectionLayout
s.Modifier and Type | Interface and Description |
---|---|
static class |
IGraphStructureListener.Stub
A stub implementation of the
IGraphStructureListener which
contains empty implementations of the specified methods. |
Modifier and Type | Method and Description |
---|---|
boolean |
connectionAdded(ILayoutContext context,
IConnectionLayout connection)
This method is called whenever a connection is added to a context.
|
boolean |
connectionRemoved(ILayoutContext context,
IConnectionLayout connection)
This method is called whenever a connection is removed from a context.
|
boolean |
nodeAdded(ILayoutContext context,
INodeLayout node)
This method is called whenever a node is added to a context.
|
boolean |
nodeRemoved(ILayoutContext context,
INodeLayout node)
This method is called whenever a node is removed from a context.
|
boolean nodeAdded(ILayoutContext context, INodeLayout node)
ILayoutAlgorithm.applyLayout(boolean)
will be called on the
context's main algorithm.context
- the layout context that fired the eventnode
- the added nodeboolean nodeRemoved(ILayoutContext context, INodeLayout node)
ILayoutAlgorithm.applyLayout(boolean)
will be called on the
context's main algorithm.context
- the context that fired the eventnode
- the removed nodeboolean connectionAdded(ILayoutContext context, IConnectionLayout connection)
ILayoutAlgorithm.applyLayout(boolean)
will be called on the
context's main algorithm.context
- the context that fired the eventconnection
- the added connectionboolean connectionRemoved(ILayoutContext context, IConnectionLayout connection)
ILayoutAlgorithm.applyLayout(boolean)
will be called on the
context's main algorithm.context
- the context that fired the eventconnection
- the added connectionCopyright (c) 2014 itemis AG and others. All rights reserved.