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

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.ExpandMacroStatesCommand
All Implemented Interfaces:
IHandler, IHandler2

public class ExpandMacroStatesCommand
extends AbstractHandler

A command that expands all referenceMacroStates in a given file [.kixs] and writes the expanded superstate to a new file _EXPANDED.kixs

Rating red

Constructor Summary
ExpandMacroStatesCommand()
           
 
Method Summary
 Object execute(ExecutionEvent event)
          
 void setEnabled(Object evaluationContext)
          
 
Methods inherited from class org.eclipse.core.commands.AbstractHandler
addHandlerListener, dispose, fireHandlerChanged, hasListeners, isEnabled, isHandled, removeHandlerListener, setBaseEnabled
 
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
 

Constructor Detail

ExpandMacroStatesCommand

public ExpandMacroStatesCommand()
Method Detail

setEnabled

public void setEnabled(Object evaluationContext)

Specified by:
setEnabled in interface IHandler2
Overrides:
setEnabled in class AbstractHandler

execute

public Object execute(ExecutionEvent event)
               throws ExecutionException

Throws:
ExecutionException