org.eclipse.etrice.ui.commands.handlers
Class EditModelHandler

java.lang.Object
  extended by org.eclipse.core.commands.common.EventManager
      extended by org.eclipse.core.commands.AbstractHandler
          extended by org.eclipse.etrice.ui.commands.handlers.EditModelHandler
All Implemented Interfaces:
org.eclipse.core.commands.IHandler, org.eclipse.core.commands.IHandler2

public class EditModelHandler
extends org.eclipse.core.commands.AbstractHandler

Our sample handler extends AbstractHandler, an IHandler base class.

See Also:
IHandler, AbstractHandler

Constructor Summary
EditModelHandler()
          The constructor.
 
Method Summary
 java.lang.Object execute(org.eclipse.core.commands.ExecutionEvent event)
          the command has been executed, so extract extract the needed information from the application context.
 
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
 

Constructor Detail

EditModelHandler

public EditModelHandler()
The constructor.

Method Detail

execute

public java.lang.Object execute(org.eclipse.core.commands.ExecutionEvent event)
                         throws org.eclipse.core.commands.ExecutionException
the command has been executed, so extract extract the needed information from the application context.

Throws:
org.eclipse.core.commands.ExecutionException