Lines 105-111
Link Here
|
105 |
/** |
105 |
/** |
106 |
* Called on each subsystem associated with a particular |
106 |
* Called on each subsystem associated with a particular |
107 |
* {@link IConnectorService} after it disconnects |
107 |
* {@link IConnectorService} after it disconnects |
108 |
* |
108 |
* |
109 |
* @param monitor a progress monitor that can be used to show progress |
109 |
* @param monitor a progress monitor that can be used to show progress |
110 |
* during long-running operation. Cancellation is typically not |
110 |
* during long-running operation. Cancellation is typically not |
111 |
* supported since it might leave the system in an inconsistent |
111 |
* supported since it might leave the system in an inconsistent |
Lines 154-167
Link Here
|
154 |
|
154 |
|
155 |
/** |
155 |
/** |
156 |
* Check if the subsystem is connected, and connect if it's not. |
156 |
* Check if the subsystem is connected, and connect if it's not. |
157 |
* |
157 |
* |
158 |
* This is a convenience method which first checks whether the subsystem is |
158 |
* This is a convenience method which first checks whether the subsystem is |
159 |
* already connected. If not, it automatically checks if it's running on the |
159 |
* already connected. If not, it automatically checks if it's running on the |
160 |
* dispatch thread or not, and calls the right <code>connect()</code> |
160 |
* dispatch thread or not, and calls the right <code>connect()</code> method |
161 |
* method as appropriate. It also performs some exception parsing, |
161 |
* as appropriate. It also performs some exception parsing, converting |
162 |
* converting Exceptions from connect() into SystemMessageException that can |
162 |
* Exceptions from connect() into SystemMessageException that can be |
163 |
* be displayed to the user by using a method in it. |
163 |
* displayed to the user by using a method in it. |
164 |
* |
164 |
* |
|
|
165 |
* If the subsystem is marked offline, or supports caching and is currently |
166 |
* restoring from its memento, no connect will be performed. |
167 |
* |
165 |
* @throws SystemMessageException in case of an error connecting |
168 |
* @throws SystemMessageException in case of an error connecting |
166 |
* @since org.eclipse.rse.core 3.0 |
169 |
* @since org.eclipse.rse.core 3.0 |
167 |
*/ |
170 |
*/ |