pl.edu.agh.cast.schema.layout.algorithm
Class CircleLayoutAlgorithm

java.lang.Object
  extended by pl.edu.agh.cast.schema.layout.algorithm.AbstractLayoutAlgorithm
      extended by pl.edu.agh.cast.schema.layout.algorithm.CircleLayoutAlgorithm
All Implemented Interfaces:
ILayoutAlgorithm

Deprecated.

@Deprecated
public class CircleLayoutAlgorithm
extends AbstractLayoutAlgorithm

Not used any more but left for compatibility with old diagrams.

Author:
awos

Constructor Summary
CircleLayoutAlgorithm()
          Deprecated.  
 
Method Summary
protected  int getWorkUnits(int nodesCount)
          Deprecated. Queries for number of planned work units in the algorithm
 void setNodesPositions(java.util.Collection<pl.edu.agh.cast.model.visual.Node> positionNodes, org.eclipse.core.runtime.IProgressMonitor monitor)
          Deprecated. Sets positions of given nodes.
 
Methods inherited from class pl.edu.agh.cast.schema.layout.algorithm.AbstractLayoutAlgorithm
getCenterOfGravity, getUpperLeftCorner, layoutNodes, layoutNodes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CircleLayoutAlgorithm

public CircleLayoutAlgorithm()
Deprecated. 
Method Detail

setNodesPositions

public void setNodesPositions(java.util.Collection<pl.edu.agh.cast.model.visual.Node> positionNodes,
                              org.eclipse.core.runtime.IProgressMonitor monitor)
Deprecated. 
Description copied from class: AbstractLayoutAlgorithm
Sets positions of given nodes.

Specified by:
setNodesPositions in class AbstractLayoutAlgorithm
Parameters:
positionNodes - nodes to layout
monitor - non-null progress monitor

getWorkUnits

protected int getWorkUnits(int nodesCount)
Deprecated. 
Description copied from class: AbstractLayoutAlgorithm
Queries for number of planned work units in the algorithm

Specified by:
getWorkUnits in class AbstractLayoutAlgorithm
Parameters:
nodesCount - number of nodes to layout
Returns:
number of units that will be added to progress monitor's maximum range


Copyright © 2007-2008 AGH University of Science and Technology. All Rights Reserved.