/*
  * (non-Javadoc)
  *
  * @see
  * org.eclipse.rse.core.subsystems.SubSystemConfiguration#setConnectorService
  * (org.eclipse.rse.core.model.IHost,
  * org.eclipse.rse.core.subsystems.IConnectorService)
  */
 @Override
 public void setConnectorService(IHost host, IConnectorService connectorService) {
   LocalConnectorServiceManager.getInstance()
       .setConnectorService(host, getServiceImplType(), connectorService);
   ISubSystem[] sses = getSubSystems(host, false);
   if (sses != null && sses.length > 0) {
     for (int i = 0; i < sses.length; i++) {
       ISubSystem ss = sses[i];
       ss.setConnectorService(connectorService);
     }
   }
 }
 /** @since 2.0 */
 public boolean isConnected() {
   // IConnectorService[] services = host.getConnectorServices();
   // int connected = 0;
   // for (IConnectorService service : services) {
   // if (service.isConnected()) {
   // connected++;
   // }
   // }
   // return connected == services.length;
   ISubSystem[] subSystems = host.getSubSystems();
   for (ISubSystem subsystem : subSystems) {
     if (subsystem instanceof IRemoteFileSubSystem) {
       return subsystem.isConnected();
     }
   }
   return false;
 }