pl.edu.agh.cast.schema.editor.action.layout
Class SetRandomLayoutAction

java.lang.Object
  extended by pl.edu.agh.cast.schema.editor.action.layout.AbstractSetLayoutAction
      extended by pl.edu.agh.cast.schema.editor.action.layout.SetRandomLayoutAction
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IEditorActionDelegate

public class SetRandomLayoutAction
extends AbstractSetLayoutAction

Action for laying nodes using the random layout algorithm.

Author:
AGH CAST Team

Field Summary
 
Fields inherited from class pl.edu.agh.cast.schema.editor.action.layout.AbstractSetLayoutAction
commandStack, diagram, selectedNodes
 
Constructor Summary
SetRandomLayoutAction()
           
 
Method Summary
protected  ILayoutAlgorithm getAlgorithm()
          Returns used current layout algorithm.
 
Methods inherited from class pl.edu.agh.cast.schema.editor.action.layout.AbstractSetLayoutAction
run, selectionChanged, setActiveEditor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetRandomLayoutAction

public SetRandomLayoutAction()
Method Detail

getAlgorithm

protected ILayoutAlgorithm getAlgorithm()
Returns used current layout algorithm.

Specified by:
getAlgorithm in class AbstractSetLayoutAction
Returns:
a layout algorithm
See Also:
AbstractSetLayoutAction.getAlgorithm()


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