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

    Constructors
    Constructor
    Description
    Eclipse default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    execute(org.eclipse.core.commands.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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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.