use of org.eclipse.flux.core.Repository 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