pl.edu.agh.cast.zestalgorithms.core
Class LayoutAlgorithmAdapter
java.lang.Object
pl.edu.agh.cast.zestalgorithms.core.LayoutAlgorithmAdapter
- All Implemented Interfaces:
- ILayoutAlgorithm
public class LayoutAlgorithmAdapter
- extends Object
- implements ILayoutAlgorithm
Adapts ZEST's LayoutAlgorithm
to be used as CAST's Layout Algorithm
- Author:
- Paweł Koperek , Mateusz Kupisz
Constructor Summary |
LayoutAlgorithmAdapter(org.eclipse.zest.layouts.LayoutAlgorithm algorithm)
Constructs new adapter for given ZEST's layout algorithm to be used as CAST's layout algorithm |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LayoutAlgorithmAdapter
public LayoutAlgorithmAdapter(org.eclipse.zest.layouts.LayoutAlgorithm algorithm)
- Constructs new adapter for given ZEST's layout algorithm to be used as CAST's layout algorithm
- Parameters:
algorithm
- ZEST algorithm to be adapted
layoutNodes
public void layoutNodes(Collection<ISchemaNode> positionNodes)
layoutNodes
public void layoutNodes(Collection<ISchemaNode> positionNodes,
org.eclipse.core.runtime.IProgressMonitor monitor)
- Description copied from interface:
ILayoutAlgorithm
- Method executed to layout a collection of visual nodes.
- Specified by:
layoutNodes
in interface ILayoutAlgorithm
- Parameters:
positionNodes
- nodes on which layout will be performedmonitor
- progress monitor used to report progress of layout operation; MUST NOT be null
Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.