|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GraphPartitionExtension
Implementations are extending the functionality of a GraphPartition
.
A GraphPartitionExtension
can be used to create
new Obstacle
s that will be given to the initializer
of the ObstaclePartition
and react to its decomposition events if the ObstaclePartition
is
a DynamicDecomposition
.
A GraphPartitionExtension
has to be
added
to the GraphPartition
which will call its preparePartition
method before the ObstaclePartition
is initialized.
Method Summary | |
---|---|
void |
cleanup()
Cleans the extension up from the last partitioning with the current configuration and graphPartition. |
void |
preparePartition(PathSearchConfiguration configuration,
GraphPartition graphPartition)
This method is called by the given GraphPartition upon initialization before its
ObstaclePartition gets initialized. |
Methods inherited from interface y.layout.router.polyline.DynamicDecomposition.Listener |
---|
onCellCreated, onCellFinalized, onCellSubdivided |
Method Detail |
---|
void preparePartition(PathSearchConfiguration configuration, GraphPartition graphPartition)
GraphPartition
upon initialization before its
ObstaclePartition
gets initialized.
Implementations may use the given graph
the GraphPartition
is based upon to initialize themselves
and/or add obstacles
to the list
that ObstaclePartition
is initialized with.
configuration
- The configuration used for the path search.graphPartition
- The graph partition using this extension.void cleanup()
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |