de.cau.cs.kieler.kiml.ui.handlers
Class LayoutHandler

java.lang.Object
  extended by org.eclipse.core.commands.common.EventManager
      extended by org.eclipse.core.commands.AbstractHandler
          extended by de.cau.cs.kieler.kiml.ui.handlers.LayoutHandler
All Implemented Interfaces:
IHandler, IHandler2

public class LayoutHandler
extends AbstractHandler

The handler which is responsible to perform layout in a graphical diagram.

Rating proposed yellow
(2009-12-11) msp

Field Summary
static String PARAM_LAYOUT_SCOPE
          parameter identifier for the scope of automatic layout.
static String VAL_DIAGRAM
          value for diagram scope.
static String VAL_SELECTION
          value for selection scope.
 
Constructor Summary
LayoutHandler()
           
 
Method Summary
 Object execute(ExecutionEvent event)
          
 
Methods inherited from class org.eclipse.core.commands.AbstractHandler
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled, setEnabled
 
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAM_LAYOUT_SCOPE

public static final String PARAM_LAYOUT_SCOPE
parameter identifier for the scope of automatic layout.

See Also:
Constant Field Values

VAL_DIAGRAM

public static final String VAL_DIAGRAM
value for diagram scope.

See Also:
Constant Field Values

VAL_SELECTION

public static final String VAL_SELECTION
value for selection scope.

See Also:
Constant Field Values
Constructor Detail

LayoutHandler

public LayoutHandler()
Method Detail

execute

public Object execute(ExecutionEvent event)
               throws ExecutionException

Throws:
ExecutionException