public class EventHistoryView extends AbstractAlarmsEventsView
Constructor and Description |
---|
EventHistoryView() |
Modifier and Type | Method and Description |
---|---|
void |
createPartControl(org.eclipse.swt.widgets.Composite parent)
This is a callback that will allow us to create the viewer and initialize
it.
|
protected String |
createStatusLabel() |
protected org.eclipse.core.databinding.observable.Realm |
getRealm() |
void |
init(org.eclipse.ui.IViewSite site,
org.eclipse.ui.IMemento memento) |
protected void |
onConnect()
onConnect is only called if connection is actually there
|
protected void |
onDisconnect()
onDisonnect is only called if connection is not there or no connection is
found at all
it also maybe called multiple times
|
void |
saveState(org.eclipse.ui.IMemento memento) |
protected void |
setConfiguration(EventHistoryViewConfiguration cfg) |
void |
setFocus()
Passing the focus request to the viewer's control.
|
protected void |
updateStatusBar() |
protected void |
watchMonitors(String monitorsId) |
protected void |
watchPool(String poolId) |
addSelectionListener, createCommentAction, dispose, getConnection, getConnectionService, getConnectionUri, getContentPane, getLabelForConnection, getStateLabel, isConnected, makeStringFromConnection, removeSelectionListener, scheduleJob, setConnectionId, setConnectionUri, setSelection
checkSite, getViewSite, init, setContentDescription, setInitializationData, setPartName
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final String ID
public void createPartControl(org.eclipse.swt.widgets.Composite parent)
createPartControl
in interface org.eclipse.ui.IWorkbenchPart
createPartControl
in class AbstractAlarmsEventsView
protected void setConfiguration(EventHistoryViewConfiguration cfg) throws Exception
Exception
public void setFocus()
setFocus
in interface org.eclipse.ui.IWorkbenchPart
setFocus
in class org.eclipse.ui.part.WorkbenchPart
protected org.eclipse.core.databinding.observable.Realm getRealm()
getRealm
in class AbstractAlarmsEventsView
protected void onConnect()
AbstractAlarmsEventsView
onConnect
in class AbstractAlarmsEventsView
protected void onDisconnect()
AbstractAlarmsEventsView
onDisconnect
in class AbstractAlarmsEventsView
protected void updateStatusBar()
updateStatusBar
in class AbstractAlarmsEventsView
protected String createStatusLabel()
protected void watchPool(String poolId)
watchPool
in class AbstractAlarmsEventsView
protected void watchMonitors(String monitorsId)
watchMonitors
in class AbstractAlarmsEventsView
public void init(org.eclipse.ui.IViewSite site, org.eclipse.ui.IMemento memento) throws org.eclipse.ui.PartInitException
init
in interface org.eclipse.ui.IViewPart
init
in class AbstractAlarmsEventsView
org.eclipse.ui.PartInitException
public void saveState(org.eclipse.ui.IMemento memento)
saveState
in interface org.eclipse.ui.IPersistable
saveState
in interface org.eclipse.ui.IViewPart
saveState
in class AbstractAlarmsEventsView
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.