Package com.iizigo.handler
Class OpenBrowserIIZI
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.AbstractHandler
com.iizigo.handler.OpenBrowserIIZI
- All Implemented Interfaces:
org.eclipse.core.commands.IHandler
,org.eclipse.core.commands.IHandler2
public class OpenBrowserIIZI extends org.eclipse.core.commands.AbstractHandler
Opens the browser to the iiziGo localhost:portnumber or to iiziServer localhost:portnumber.
- 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
OpenBrowserIIZI
public OpenBrowserIIZI()Eclipse default constructor.
Method Details
execute
public Object execute(org.eclipse.core.commands.ExecutionEvent event) throws org.eclipse.core.commands.ExecutionException Opens the browser to the iiziGo localhost:portnumber or to iiziServer localhost:portnumber. The event command ID contains ".iiziServer" for iiziServer or ".iiziGo" for iiziGo. If the Id ends with "ext" (i.e. not "int" = internal), then the browser will be opened externally, otherwise internally.- Parameters:
event
- The execution event.- Throws:
org.eclipse.core.commands.ExecutionException
- If the browser ViewPart failed to open.