de.cau.cs.kieler.synccharts.diagram.custom.handlers
Class AddToStateHandler

java.lang.Object
  extended by org.eclipse.core.commands.common.EventManager
      extended by org.eclipse.core.commands.AbstractHandler
          extended by de.cau.cs.kieler.synccharts.diagram.custom.handlers.AddToStateHandler
All Implemented Interfaces:
IHandler, IHandler2

public class AddToStateHandler
extends AbstractHandler
implements IHandler

Handler that adds an element to a specific compartment.

Rating red

Field Summary
static String TYPE_PARAM
          parameter for type of element to add.
 
Constructor Summary
AddToStateHandler()
           
 
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
 
Methods inherited from interface org.eclipse.core.commands.IHandler
addHandlerListener, dispose, isEnabled, isHandled, removeHandlerListener
 

Field Detail

TYPE_PARAM

public static final String TYPE_PARAM
parameter for type of element to add.

See Also:
Constant Field Values
Constructor Detail

AddToStateHandler

public AddToStateHandler()
Method Detail

execute

public Object execute(ExecutionEvent event)
               throws ExecutionException

Specified by:
execute in interface IHandler
Throws:
ExecutionException