public class EventPoolView extends MonitorSubscriptionAlarmsEventsView
| Modifier and Type | Field and Description |
|---|---|
protected SubscriptionState |
eventPoolSubscriptionState |
static String |
ID |
monitors, monitorsId, monitorsMap, monitorSubscriptionState| Constructor and Description |
|---|
EventPoolView() |
| 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 void |
dataChanged(List<Event> addedEvents) |
void |
dataChanged(List<MonitorStatusInformation> addedOrUpdated,
Set<String> removed,
boolean full) |
void |
dispose() |
String |
getPoolId() |
void |
init(org.eclipse.ui.IViewSite site,
org.eclipse.ui.IMemento memento) |
protected void |
processEvents() |
void |
saveState(org.eclipse.ui.IMemento memento) |
protected void |
setConfiguration(EventPoolViewConfiguration cfg) |
void |
setFocus()
Passing the focus request to the viewer's control.
|
void |
setPoolId(String poolId) |
protected void |
subscribe() |
protected void |
unSubscribe() |
protected void |
updateStatusBar() |
protected void |
watchMonitors(String monitorsId) |
protected void |
watchPool(String poolId) |
acknowledgeMonitor, getMonitorsId, getRealm, onConnect, onDisconnect, setMonitorsId, statusChangedMonitorSubscriptionaddSelectionListener, createCommentAction, getConnection, getConnectionService, getConnectionUri, getContentPane, getLabelForConnection, getStateLabel, isConnected, makeStringFromConnection, removeSelectionListener, scheduleJob, setConnectionId, setConnectionUri, setSelectioncheckSite, getViewSite, init, setContentDescription, setInitializationData, setPartNameaddPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusyaddListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObjectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final String ID
protected SubscriptionState eventPoolSubscriptionState
public String getPoolId()
public void setPoolId(String poolId)
public void createPartControl(org.eclipse.swt.widgets.Composite parent)
createPartControl in interface org.eclipse.ui.IWorkbenchPartcreatePartControl in class MonitorSubscriptionAlarmsEventsViewprotected void setConfiguration(EventPoolViewConfiguration cfg) throws Exception
Exceptionpublic void setFocus()
setFocus in interface org.eclipse.ui.IWorkbenchPartsetFocus in class org.eclipse.ui.part.WorkbenchPartprotected void subscribe()
subscribe in class MonitorSubscriptionAlarmsEventsViewprotected void unSubscribe()
unSubscribe in class MonitorSubscriptionAlarmsEventsViewprotected void processEvents()
public void dataChanged(List<MonitorStatusInformation> addedOrUpdated, Set<String> removed, boolean full)
dataChanged in class MonitorSubscriptionAlarmsEventsViewprotected void watchPool(String poolId)
watchPool in class AbstractAlarmsEventsViewprotected void watchMonitors(String monitorsId)
watchMonitors in class AbstractAlarmsEventsViewprotected void updateStatusBar()
updateStatusBar in class AbstractAlarmsEventsViewprotected String createStatusLabel()
public void init(org.eclipse.ui.IViewSite site,
org.eclipse.ui.IMemento memento)
throws org.eclipse.ui.PartInitException
init in interface org.eclipse.ui.IViewPartinit in class AbstractAlarmsEventsVieworg.eclipse.ui.PartInitExceptionpublic void saveState(org.eclipse.ui.IMemento memento)
saveState in interface org.eclipse.ui.IPersistablesaveState in interface org.eclipse.ui.IViewPartsaveState in class AbstractAlarmsEventsViewpublic void dispose()
dispose in interface org.eclipse.ui.IWorkbenchPartdispose in class AbstractAlarmsEventsViewCopyright © 2015 Eclipse SCADA Project. All rights reserved.