Package com.iizigo.db.sample.handler
Class OpenDoc
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.AbstractHandler
com.iizigo.db.sample.handler.OpenDoc
- All Implemented Interfaces:
org.eclipse.core.commands.IHandler
,org.eclipse.core.commands.IHandler2
public class OpenDoc extends org.eclipse.core.commands.AbstractHandler
Opens the online documentation of BIRT Classic Models Sample database in an external browser.
- Author:
- Christopher Mindus
Constructor Summary
Method Summary
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
Constructor Details
OpenDoc
public OpenDoc()Eclipse default constructor.
Method Details
execute
public Object execute(org.eclipse.core.commands.ExecutionEvent event) throws org.eclipse.core.commands.ExecutionException Opens the online documentation of BIRT Classic Models Sample database in an external browser.The URL is https://www.eclipse.org/birt/documentation/sample-database.php.
- Parameters:
event
- The execution event.- Throws:
org.eclipse.core.commands.ExecutionException
- If the browser ViewPart failed to open.