mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-04 07:35:24 +02:00
[cleanup] minor cleanup prep for refactoring
This commit is contained in:
parent
b1082b1173
commit
5c085bc55f
3 changed files with 11 additions and 10 deletions
|
@ -21,19 +21,21 @@ import org.eclipse.rse.core.model.IHost;
|
|||
import org.eclipse.rse.core.model.IRSEModelObject;
|
||||
|
||||
/**
|
||||
* This is the interface implemented by ConnectorService (formerly System) objects.
|
||||
* This is the interface implemented by AbstractConnectorService
|
||||
* (formerly System) objects.
|
||||
* <p>
|
||||
* A connector service manages a live connection to a remote system, with
|
||||
* operations for connecting and disconnecting, and storing information
|
||||
* typically cached from a subsystem: user ID, password, port, etc.
|
||||
* typically cached from a subsystem: credentials, port, etc.
|
||||
* <p>
|
||||
* The SubSystem interface includes a method, getConnectorService(), which returns an
|
||||
* instance of an object that implements this interface for that subsystem.
|
||||
* The SubSystem interface includes a method, getConnectorService(),
|
||||
* which returns an instance of an object that implements this interface
|
||||
* for that subsystem.
|
||||
* <p>
|
||||
* A single connector service object can be unique to a subsystem instance, but
|
||||
* it can also be shared across multiple subsystems in a single host if those
|
||||
* subsystems share a physical connection to the remote system. This sharing is done via
|
||||
* subclasses of {@link org.eclipse.rse.core.subsystems.AbstractConnectorServiceManager}
|
||||
* subsystems share a physical connection to the remote system.
|
||||
* This sharing is done using implementers of {@link IConnectorServiceManager}
|
||||
* which are returned by another getter method in SubSystem.
|
||||
*/
|
||||
public interface IConnectorService extends IRSEModelObject {
|
||||
|
|
|
@ -480,7 +480,9 @@ public abstract class AbstractConnectorService extends RSEModelObject implements
|
|||
// dy: March 24, 2003: check if prompting is temporarily suppressed by a tool
|
||||
// vendor, this should only be suppressed if the user cancelled a previous signon
|
||||
// dialog (or some other good reason)
|
||||
if (isSuppressSignonPrompt()) throw new InterruptedException();
|
||||
if (isSuppressSignonPrompt()) {
|
||||
throw new InterruptedException();
|
||||
}
|
||||
|
||||
ISubSystem subsystem = getPrimarySubSystem();
|
||||
IHost host = subsystem.getHost();
|
||||
|
|
|
@ -19,10 +19,7 @@ import java.util.Hashtable;
|
|||
import java.util.Set;
|
||||
|
||||
import org.eclipse.rse.core.model.IHost;
|
||||
import org.eclipse.rse.core.model.ISystemRegistry;
|
||||
import org.eclipse.rse.model.DummyHost;
|
||||
import org.eclipse.rse.ui.RSEUIPlugin;
|
||||
import org.eclipse.swt.widgets.Shell;
|
||||
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue