Package com.iizigo.ui.server.monitor
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 java.lang.String
ID
The ID of this editor.
-
Constructor Summary
Constructors Constructor Description ServerBrowser()
Eclipse constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createPartControl(org.eclipse.swt.widgets.Composite mainParent)
Create contents of the editor part.void
dispose()
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
setFocus()
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
-
-
-
-
Field Detail
-
ID
public static final java.lang.String ID
The ID of this editor.- See Also:
- Constant Field Values
-
-
Method Detail
-
dispose
public void dispose()
Disposes of the browser.- Specified by:
dispose
in interfaceorg.eclipse.ui.IWorkbenchPart
- Overrides:
dispose
in classorg.eclipse.ui.part.WorkbenchPart
-
setFocus
public void setFocus()
Sets the focus.- Specified by:
setFocus
in interfaceorg.eclipse.ui.IWorkbenchPart
- Specified by:
setFocus
in classorg.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 interfaceorg.eclipse.ui.IViewPart
- Overrides:
init
in classorg.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 interfaceorg.eclipse.ui.IWorkbenchPart
- Specified by:
createPartControl
in classorg.eclipse.ui.part.WorkbenchPart
- Parameters:
mainParent
-
-
onEvent
public void onEvent(GEvent event)
Events from the monitor.- Specified by:
onEvent
in interfaceEventListener
- Parameters:
event
- The event.
-
selectionChanged
public void selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
Post-selection changes.- Specified by:
selectionChanged
in interfaceorg.eclipse.jface.viewers.ISelectionChangedListener
- Parameters:
event
- The selection event.
-
-