org.eclipse.ocl.examples.interpreter.actions
Class ShowConsoleHandler
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.AbstractHandler
org.eclipse.ocl.examples.interpreter.actions.ShowConsoleHandler
- All Implemented Interfaces:
- org.eclipse.core.commands.IHandler, org.eclipse.core.commands.IHandler2
- Direct Known Subclasses:
- ShowEcoreConsoleHandler, ShowUMLConsoleHandler
public class ShowConsoleHandler
- extends org.eclipse.core.commands.AbstractHandler
Action handler that ensures that the console view is active, with the
Interactive OCL console active within it.
- Since:
- 3.3
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 |
ShowConsoleHandler
public ShowConsoleHandler()
consoleOpened
protected void consoleOpened(OCLConsole console)
execute
public java.lang.Object execute(org.eclipse.core.commands.ExecutionEvent event)
throws org.eclipse.core.commands.ExecutionException
- Throws:
org.eclipse.core.commands.ExecutionException