Search in sources :

Example 1 with ProcessorStateProvider

use of org.yamcs.studio.core.ui.processor.ProcessorStateProvider in project yamcs-studio by yamcs.

the class YamcsUIPlugin method doUpdateGlobalProcessingState.

private void doUpdateGlobalProcessingState(IWorkbench workbench, ProcessorInfo processorInfo) {
    ISourceProviderService service = (ISourceProviderService) workbench.getService(ISourceProviderService.class);
    ProcessorStateProvider state = (ProcessorStateProvider) service.getSourceProvider(ProcessorStateProvider.STATE_KEY_PROCESSING);
    state.updateState(processorInfo);
}
Also used : ProcessorStateProvider(org.yamcs.studio.core.ui.processor.ProcessorStateProvider) ISourceProviderService(org.eclipse.ui.services.ISourceProviderService)

Aggregations

ISourceProviderService (org.eclipse.ui.services.ISourceProviderService)1 ProcessorStateProvider (org.yamcs.studio.core.ui.processor.ProcessorStateProvider)1