com.yworks.yfiles.bpmn.view
Class BpmnLayoutConfigurator

java.lang.Object
  extended bycom.yworks.yfiles.bpmn.view.BpmnLayoutConfigurator

public class BpmnLayoutConfigurator
extends Object

Convenience class that prepares BPMN information provided by realizers created by BpmnRealizerFactory for assignment of layout information calculated by BpmnLayouter.

 

Constructor Summary
BpmnLayoutConfigurator()
           
 
Method Summary
 NodePortLayoutConfigurator createNodePortLayoutConfigurator()
          Creates a configurator that translates node ports into strong port constraints at normal nodes and weak port constraints at group nodes.
 void prepareAll(Graph2D graph)
          Performs all necessary layout preparations for the specified graph.
 void restoreAll(Graph2D graph)
          Performs all necessary resource cleanup and data translation after a layout calculation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BpmnLayoutConfigurator

public BpmnLayoutConfigurator()
Method Detail

prepareAll

public void prepareAll(Graph2D graph)
Performs all necessary layout preparations for the specified graph.

Parameters:
graph - the Graph2D instance that is prepared for automated layout calculation.

restoreAll

public void restoreAll(Graph2D graph)
Performs all necessary resource cleanup and data translation after a layout calculation.

Parameters:
graph - the Graph2D instance that was previously prepared for automated layout calculation.

createNodePortLayoutConfigurator

public NodePortLayoutConfigurator createNodePortLayoutConfigurator()
Creates a configurator that translates node ports into strong port constraints at normal nodes and weak port constraints at group nodes. The created configurator has to be registered with the Graph2DLayoutExecutor that is used to calculate a new graph layout for a BPMN diagram.

Returns:
a configurator for node ports suitable for BPMN diagrams.
See Also:
Graph2DLayoutExecutor.setNodePortConfigurator(y.view.NodePortLayoutConfigurator)


© Copyright 2010-2014,
yWorks GmbH.
All rights reserved.