1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-08 09:35:23 +02:00

update subsystem name with switching configurations

This commit is contained in:
David McKnight 2006-06-29 15:37:25 +00:00
parent d05238b1b5
commit ed7dc37c6e
3 changed files with 4 additions and 3 deletions

View file

@ -775,7 +775,8 @@ public final class FileServiceSubSystem extends RemoteFileSubSystem implements I
oldConnectorService.commit(); oldConnectorService.commit();
newConnectorService.commit(); newConnectorService.commit();
setName(factory.getName());
setFileService(factory.getFileService(host)); setFileService(factory.getFileService(host));
setHostFileToRemoteFileAdapter(factory.getHostFileAdapter()); setHostFileToRemoteFileAdapter(factory.getHostFileAdapter());
setSearchService(factory.getSearchService(host)); setSearchService(factory.getSearchService(host));

View file

@ -163,7 +163,7 @@ public class ProcessServiceSubSystem extends RemoteProcessSubSystemImpl implemen
IHost host = getHost(); IHost host = getHost();
setSubSystemConfiguration(factory); setSubSystemConfiguration(factory);
setName(factory.getName());
IConnectorService oldConnectorService = getConnectorService(); IConnectorService oldConnectorService = getConnectorService();
oldConnectorService.deregisterSubSystem(this); oldConnectorService.deregisterSubSystem(this);

View file

@ -222,7 +222,7 @@ public final class ShellServiceSubSystem extends RemoteCmdSubSystem implements I
IHost host = getHost(); IHost host = getHost();
setSubSystemConfiguration(factory); setSubSystemConfiguration(factory);
setName(factory.getName());
IConnectorService oldConnectorService = getConnectorService(); IConnectorService oldConnectorService = getConnectorService();
oldConnectorService.deregisterSubSystem(this); oldConnectorService.deregisterSubSystem(this);