pl.edu.agh.cast.schema.editor.layout.algorithm
Interface ILayoutAlgorithm

All Known Implementing Classes:
AbstractGroupingLayoutAlgorithm, AbstractLayoutAlgorithm, EnhancedCircleLayoutAlgorithm, GroupLayoutAlgorithm, LayoutAlgorithmAdapter, Peacock3LayoutAlgorithm, RandomLayoutAlgorithm

public interface ILayoutAlgorithm

Interface for pluggable layout algorithms.

Author:
AGH CAST Team

Method Summary
 void layoutNodes(Collection<ISchemaNode> nodes, org.eclipse.core.runtime.IProgressMonitor monitor)
          Method executed to layout a collection of visual nodes.
 

Method Detail

layoutNodes

void layoutNodes(Collection<ISchemaNode> nodes,
                 org.eclipse.core.runtime.IProgressMonitor monitor)
Method executed to layout a collection of visual nodes.

Parameters:
nodes - nodes on which layout will be performed
monitor - progress monitor used to report progress of layout operation; MUST NOT be null
Throws:
IllegalArgumentException - if monitor is null


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.