mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-15 04:55:22 +02:00
[175142] checks during persistence and registration of the service
This commit is contained in:
parent
80c5b1abfd
commit
bc609fe6c6
2 changed files with 5 additions and 1 deletions
|
@ -24,7 +24,6 @@ import org.eclipse.rse.subsystems.shells.core.subsystems.servicesubsystem.IShell
|
||||||
public class DelegatingShellProcessConnectorService extends AbstractDelegatingConnectorService
|
public class DelegatingShellProcessConnectorService extends AbstractDelegatingConnectorService
|
||||||
{
|
{
|
||||||
private IConnectorService _realService;
|
private IConnectorService _realService;
|
||||||
private ISubSystem _subSystem;
|
|
||||||
public DelegatingShellProcessConnectorService(IHost host)
|
public DelegatingShellProcessConnectorService(IHost host)
|
||||||
{
|
{
|
||||||
super(host);
|
super(host);
|
||||||
|
|
|
@ -2561,6 +2561,11 @@ public abstract class SubSystem extends RSEModelObject implements IAdaptable, IS
|
||||||
_connectorService.registerSubSystem(this);
|
_connectorService.registerSubSystem(this);
|
||||||
setDirty(true);
|
setDirty(true);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// register the subsystem
|
||||||
|
_connectorService.registerSubSystem(this);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue