Package org.yamcs.studio.core.ui
Class AuthorizationStateProvider
java.lang.Object
org.eclipse.ui.AbstractSourceProvider
org.yamcs.studio.core.ui.AuthorizationStateProvider
- All Implemented Interfaces:
ISourceProvider
,YamcsAware
Used in plugin.xml core-expressions to keep track of connection state
-
Field Summary
Fields inherited from class org.eclipse.ui.AbstractSourceProvider
DEBUG
-
Constructor Summary
-
Method Summary
Methods inherited from class org.eclipse.ui.AbstractSourceProvider
addSourceProviderListener, fireSourceChanged, fireSourceChanged, initialize, logDebuggingInfo, removeSourceProviderListener
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.yamcs.studio.core.YamcsAware
changeInstance, changeProcessor, changeProcessorInfo, onYamcsConnecting, onYamcsConnectionFailed, updateClearance, updateTime
-
Field Details
-
STATE_KEY_MAY_COMMAND
- See Also:
-
STATE_KEY_MAY_READ_STACKS
- See Also:
-
STATE_KEY_MAY_WRITE_STACKS
- See Also:
-
-
Constructor Details
-
AuthorizationStateProvider
public AuthorizationStateProvider()
-
-
Method Details
-
getCurrentState
- Specified by:
getCurrentState
in interfaceISourceProvider
-
getProvidedSourceNames
- Specified by:
getProvidedSourceNames
in interfaceISourceProvider
-
onYamcsConnected
public void onYamcsConnected()Description copied from interface:YamcsAware
Called when we the global connection to yamcs was succesfully established- Specified by:
onYamcsConnected
in interfaceYamcsAware
-
onYamcsDisconnected
public void onYamcsDisconnected()Description copied from interface:YamcsAware
Called when the yamcs is connection went lost- Specified by:
onYamcsDisconnected
in interfaceYamcsAware
-
dispose
public void dispose()- Specified by:
dispose
in interfaceISourceProvider
-