Class 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 TypeFieldDescription
      static java.lang.StringID
      The ID of this editor.
      • Fields inherited from interface org.eclipse.ui.IWorkbenchPart

        PROP_TITLE
    • Constructor Summary

      Constructors 
      ConstructorDescription
      ServerBrowser()
      Eclipse constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidcreatePartControl​(org.eclipse.swt.widgets.Composite mainParent)
      Create contents of the editor part.
      voiddispose()
      Disposes of the browser.
      voidinit​(org.eclipse.ui.IViewSite site)
      Initializes the view.
      voidonEvent​(GEvent event)
      Events from the monitor.
      voidselectionChanged​(org.eclipse.jface.viewers.SelectionChangedEvent event)
      Post-selection changes.
      voidsetFocus()
      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 Detail

    • Constructor Detail

      • ServerBrowser

        public ServerBrowser()
        Eclipse constructor.
    • Method Detail

      • 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.