org.eclipse.etrice.ui.behavior.support
Class DefaultPositionProvider

java.lang.Object
  extended by org.eclipse.etrice.ui.behavior.support.DefaultPositionProvider
All Implemented Interfaces:
IPositionProvider

public class DefaultPositionProvider
extends java.lang.Object
implements IPositionProvider

Author:
Henrik Rentz-Reichert (initial contribution)

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.etrice.ui.behavior.support.IPositionProvider
IPositionProvider.PosAndSize
 
Constructor Summary
DefaultPositionProvider(ActorClass ac)
           
 
Method Summary
 IPositionProvider.PosAndSize getPosition(StateGraphNode node)
           
<T extends StateGraphNode>
java.util.List<IPositionProvider.PosAndSize>
getPositions(java.util.List<T> nodes)
           
 void setScale(double sx, double sy)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPositionProvider

public DefaultPositionProvider(ActorClass ac)
Method Detail

setScale

public void setScale(double sx,
                     double sy)
Specified by:
setScale in interface IPositionProvider

getPosition

public IPositionProvider.PosAndSize getPosition(StateGraphNode node)
Specified by:
getPosition in interface IPositionProvider

getPositions

public <T extends StateGraphNode> java.util.List<IPositionProvider.PosAndSize> getPositions(java.util.List<T> nodes)
Specified by:
getPositions in interface IPositionProvider