Package com.iizigo.handler
Class OpenBrowserIIZI
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.AbstractHandler
com.iizigo.handler.OpenBrowserIIZI
Opens the browser to the iiziGo localhost:portnumber or to iiziServer localhost:portnumber.
- Author:
- Christopher Mindus
Constructor Summary
Method Summary
Modifier and TypeMethodDescriptionexecute
(ExecutionEvent event) Opens the browser to the iiziGo localhost:portnumber or to iiziServer localhost:portnumber.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
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:
ExecutionException
- If the browser ViewPart failed to open.