public abstract class AbstractAlarmsEventsView
extends org.eclipse.ui.part.ViewPart
| Constructor and Description |
|---|
AbstractAlarmsEventsView() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addSelectionListener() |
protected CustomizableAction |
createCommentAction(Runnable runnable) |
void |
createPartControl(org.eclipse.swt.widgets.Composite parent) |
void |
dispose() |
Connection |
getConnection() |
ConnectionService |
getConnectionService() |
String |
getConnectionUri() |
org.eclipse.swt.widgets.Composite |
getContentPane() |
protected String |
getLabelForConnection() |
protected abstract org.eclipse.core.databinding.observable.Realm |
getRealm() |
org.eclipse.swt.widgets.Label |
getStateLabel() |
void |
init(org.eclipse.ui.IViewSite site,
org.eclipse.ui.IMemento memento) |
protected boolean |
isConnected() |
protected String |
makeStringFromConnection(Connection connection) |
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
|
protected void |
removeSelectionListener() |
void |
saveState(org.eclipse.ui.IMemento memento) |
protected void |
scheduleJob(Runnable runnable) |
void |
setConnectionId(String connectionId) |
void |
setConnectionUri(String connectionUri) |
protected void |
setSelection(org.eclipse.jface.viewers.ISelection selection) |
protected abstract void |
updateStatusBar() |
protected abstract void |
watchMonitors(String monitorsId) |
protected abstract void |
watchPool(String poolId) |
checkSite, getViewSite, init, setContentDescription, setInitializationData, setPartNameaddPartPropertyListener, addPropertyListener, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setFocus, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusyaddListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObjectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic void saveState(org.eclipse.ui.IMemento memento)
saveState in interface org.eclipse.ui.IPersistablesaveState in interface org.eclipse.ui.IViewPartsaveState in class org.eclipse.ui.part.ViewPartpublic 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 org.eclipse.ui.part.ViewPartorg.eclipse.ui.PartInitExceptionpublic void createPartControl(org.eclipse.swt.widgets.Composite parent)
createPartControl in interface org.eclipse.ui.IWorkbenchPartcreatePartControl in class org.eclipse.ui.part.WorkbenchPartpublic void setConnectionId(String connectionId) throws Exception
connectionId - Exceptionpublic void setConnectionUri(String connectionUri) throws Exception
connectionUri - Exceptionprotected void onConnect()
protected void onDisconnect()
protected boolean isConnected()
protected void addSelectionListener()
protected void setSelection(org.eclipse.jface.viewers.ISelection selection)
protected abstract void watchPool(String poolId)
protected abstract void watchMonitors(String monitorsId)
protected abstract void updateStatusBar()
protected void removeSelectionListener()
public String getConnectionUri()
public Connection getConnection()
public ConnectionService getConnectionService()
public org.eclipse.swt.widgets.Composite getContentPane()
public org.eclipse.swt.widgets.Label getStateLabel()
public void dispose()
dispose in interface org.eclipse.ui.IWorkbenchPartdispose in class org.eclipse.ui.part.WorkbenchPartprotected CustomizableAction createCommentAction(Runnable runnable)
protected abstract org.eclipse.core.databinding.observable.Realm getRealm()
protected void scheduleJob(Runnable runnable)
protected String getLabelForConnection()
protected String makeStringFromConnection(Connection connection)
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.