public static class IGraphStructureListener.Stub extends java.lang.Object implements IGraphStructureListener
IGraphStructureListener
which
contains empty implementations of the specified methods.IGraphStructureListener.Stub
Constructor and Description |
---|
Stub() |
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.
|
public boolean nodeAdded(ILayoutContext context, INodeLayout node)
IGraphStructureListener
ILayoutAlgorithm.applyLayout(boolean)
will be called on the
context's main algorithm.nodeAdded
in interface IGraphStructureListener
context
- the layout context that fired the eventnode
- the added nodepublic boolean nodeRemoved(ILayoutContext context, INodeLayout node)
IGraphStructureListener
ILayoutAlgorithm.applyLayout(boolean)
will be called on the
context's main algorithm.nodeRemoved
in interface IGraphStructureListener
context
- the context that fired the eventnode
- the removed nodepublic boolean connectionAdded(ILayoutContext context, IConnectionLayout connection)
IGraphStructureListener
ILayoutAlgorithm.applyLayout(boolean)
will be called on the
context's main algorithm.connectionAdded
in interface IGraphStructureListener
context
- the context that fired the eventconnection
- the added connectionpublic boolean connectionRemoved(ILayoutContext context, IConnectionLayout connection)
IGraphStructureListener
ILayoutAlgorithm.applyLayout(boolean)
will be called on the
context's main algorithm.connectionRemoved
in interface IGraphStructureListener
context
- the context that fired the eventconnection
- the added connectionCopyright (c) 2014 itemis AG and others. All rights reserved.