use of org.eclipse.flux.client.MessageConnector in project flux by eclipse.
the class FluxUiPlugin method start.
@Override
public void start(BundleContext context) throws Exception {
super.start(context);
plugin = this;
MessageConnector messagingConnector = Activator.getDefault().getMessageConnector();
if (messagingConnector != null) {
connectionListener = new AuthFailureReporter(messagingConnector.getState());
}
}
use of org.eclipse.flux.client.MessageConnector in project flux by eclipse.
the class SyncDownloadHandler method isEnabled.
@Override
public boolean isEnabled() {
final Repository repository = org.eclipse.flux.core.Activator.getDefault().getRepository();
final MessageConnector messagingConnector = org.eclipse.flux.core.Activator.getDefault().getMessageConnector();
return repository != null && messagingConnector != null;
}
Aggregations