1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-04 23:55:26 +02:00

Bug 150902: Disconnect contextmenu should not be shown for "Local" systems. Took out both connect and disconnect actions for Local subsystems for files, shells and processes.

This commit is contained in:
Kushal Munir 2006-10-18 14:05:22 +00:00
parent 53cfed7107
commit e2c6dca5a0
3 changed files with 24 additions and 0 deletions

View file

@ -185,6 +185,14 @@ public class LocalFileSubSystemConfiguration extends FileServiceSubSystemConfigu
public boolean supportsFilters() {
return true;
}
/**
* Returns <code>false</code>.
* @see org.eclipse.rse.subsystems.files.core.subsystems.RemoteFileSubSystemConfiguration#supportsSubSystemConnect()
*/
public boolean supportsSubSystemConnect() {
return false;
}
public IConnectorService getConnectorService(IHost host)
{

View file

@ -85,6 +85,14 @@ public class LocalProcessSubSystemConfiguration extends ProcessServiceSubSystemC
return true;
}
/**
* Returns <code>false</code>.
* @see org.eclipse.rse.subsystems.processes.core.subsystem.impl.RemoteProcessSubSystemConfiguration#supportsSubSystemConnect()
*/
public boolean supportsSubSystemConnect() {
return false;
}
/* (non-Javadoc)
* @see org.eclipse.rse.core.subsystems.ISubSystemConfiguration#getConnectorService(org.eclipse.rse.model.IHost)
*/

View file

@ -87,6 +87,14 @@ public class LocalShellSubSystemConfiguration extends ShellServiceSubSystemConfi
public boolean supportsFilters() {
return false;
}
/**
* Returns <code>false</code>
* @see org.eclipse.rse.internal.subsystems.shells.subsystems.RemoteCmdSubSystemConfiguration#supportsSubSystemConnect()
*/
public boolean supportsSubSystemConnect() {
return false;
}
public IConnectorService getConnectorService(IHost host)
{