org.eclipse.ocl.examples.interpreter.actions
Class ShowConsoleHandler

java.lang.Object
  extended by org.eclipse.core.commands.common.EventManager
      extended by org.eclipse.core.commands.AbstractHandler
          extended by 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

Constructor Summary
ShowConsoleHandler()
           
 
Method Summary
protected  void consoleOpened(OCLConsole console)
           
 java.lang.Object execute(org.eclipse.core.commands.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
 

Constructor Detail

ShowConsoleHandler

public ShowConsoleHandler()
Method Detail

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