org.drools.eclipse.flow.common.editor.action
Class VerticalAutoLayoutAction

java.lang.Object
  extended by org.eclipse.ui.actions.ActionDelegate
      extended by org.drools.eclipse.flow.common.editor.action.VerticalAutoLayoutAction
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IActionDelegate2, org.eclipse.ui.IEditorActionDelegate
Direct Known Subclasses:
HorizontalAutoLayoutAction

public class VerticalAutoLayoutAction
extends org.eclipse.ui.actions.ActionDelegate
implements org.eclipse.ui.IEditorActionDelegate

Action for auto layouting a RuleFlow.


Constructor Summary
VerticalAutoLayoutAction()
           
 
Method Summary
protected  org.eclipse.draw2d.graph.DirectedGraph createDirectedGraph(Map<Long,org.eclipse.draw2d.graph.Node> mapping)
           
 void run(org.eclipse.jface.action.IAction action)
           
 void setActiveEditor(org.eclipse.jface.action.IAction action, org.eclipse.ui.IEditorPart targetEditor)
           
 
Methods inherited from class org.eclipse.ui.actions.ActionDelegate
dispose, init, runWithEvent, selectionChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.ui.IActionDelegate
selectionChanged
 

Constructor Detail

VerticalAutoLayoutAction

public VerticalAutoLayoutAction()
Method Detail

run

public void run(org.eclipse.jface.action.IAction action)
Specified by:
run in interface org.eclipse.ui.IActionDelegate
Overrides:
run in class org.eclipse.ui.actions.ActionDelegate

setActiveEditor

public void setActiveEditor(org.eclipse.jface.action.IAction action,
                            org.eclipse.ui.IEditorPart targetEditor)
Specified by:
setActiveEditor in interface org.eclipse.ui.IEditorActionDelegate

createDirectedGraph

protected org.eclipse.draw2d.graph.DirectedGraph createDirectedGraph(Map<Long,org.eclipse.draw2d.graph.Node> mapping)


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.