Class ServerBrowser

java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
com.iizigo.ui.server.monitor.ServerBrowser
All Implemented Interfaces:
EventListener, org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.jface.viewers.ISelectionChangedListener, org.eclipse.ui.IPersistable, org.eclipse.ui.IViewPart, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2, org.eclipse.ui.IWorkbenchPart3, org.eclipse.ui.part.IWorkbenchPartOrientation

public class ServerBrowser extends org.eclipse.ui.part.ViewPart implements EventListener, org.eclipse.jface.viewers.ISelectionChangedListener
The izii Server Browser.
Author:
Christopher Mindus
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The ID of this editor.

    Fields inherited from interface org.eclipse.ui.IWorkbenchPart

    PROP_TITLE
  • Constructor Summary

    Constructors
    Constructor
    Description
    Eclipse constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    createPartControl(org.eclipse.swt.widgets.Composite mainParent)
    Create contents of the editor part.
    void
    Disposes of the browser.
    void
    init(org.eclipse.ui.IViewSite site)
    Initializes the view.
    void
    onEvent(GEvent event)
    Events from the monitor.
    void
    selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
    Post-selection changes.
    void
    Sets the focus.

    Methods inherited from class org.eclipse.ui.part.ViewPart

    checkSite, getViewSite, init, saveState, setContentDescription, setInitializationData, setPartName

    Methods inherited from class org.eclipse.ui.part.WorkbenchPart

    addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy

    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

    Methods inherited from interface org.eclipse.core.runtime.IAdaptable

    getAdapter

    Methods inherited from interface org.eclipse.ui.IWorkbenchPart

    addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
  • Field Details

  • Constructor Details

    • ServerBrowser

      public ServerBrowser()
      Eclipse constructor.
  • Method Details

    • dispose

      public void dispose()
      Disposes of the browser.
      Specified by:
      dispose in interface org.eclipse.ui.IWorkbenchPart
      Overrides:
      dispose in class org.eclipse.ui.part.WorkbenchPart
    • setFocus

      public void setFocus()
      Sets the focus.
      Specified by:
      setFocus in interface org.eclipse.ui.IWorkbenchPart
      Specified by:
      setFocus in class org.eclipse.ui.part.WorkbenchPart
    • init

      public void init(org.eclipse.ui.IViewSite site) throws org.eclipse.ui.PartInitException
      Initializes the view.
      Specified by:
      init in interface org.eclipse.ui.IViewPart
      Overrides:
      init in class org.eclipse.ui.part.ViewPart
      Throws:
      org.eclipse.ui.PartInitException
    • createPartControl

      public void createPartControl(org.eclipse.swt.widgets.Composite mainParent)
      Create contents of the editor part.
      Specified by:
      createPartControl in interface org.eclipse.ui.IWorkbenchPart
      Specified by:
      createPartControl in class org.eclipse.ui.part.WorkbenchPart
      Parameters:
      mainParent -
    • onEvent

      public void onEvent(GEvent event)
      Events from the monitor.
      Specified by:
      onEvent in interface EventListener
      Parameters:
      event - The event.
    • selectionChanged

      public void selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
      Post-selection changes.
      Specified by:
      selectionChanged in interface org.eclipse.jface.viewers.ISelectionChangedListener
      Parameters:
      event - The selection event.