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
FieldsFields inherited from class org.eclipse.ui.AbstractSourceProvider
DEBUG -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.eclipse.ui.AbstractSourceProvider
addSourceProviderListener, fireSourceChanged, fireSourceChanged, initialize, logDebuggingInfo, removeSourceProviderListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getCurrentStatein interfaceISourceProvider
-
getProvidedSourceNames
- Specified by:
getProvidedSourceNamesin interfaceISourceProvider
-
onYamcsConnected
public void onYamcsConnected()Description copied from interface:YamcsAwareCalled when we the global connection to yamcs was succesfully established- Specified by:
onYamcsConnectedin interfaceYamcsAware
-
onYamcsDisconnected
public void onYamcsDisconnected()Description copied from interface:YamcsAwareCalled when the yamcs is connection went lost- Specified by:
onYamcsDisconnectedin interfaceYamcsAware
-
dispose
public void dispose()- Specified by:
disposein interfaceISourceProvider
-