Lines 19-24
Link Here
|
19 |
* made ensureRemoteSystemsProject private instead of protected |
19 |
* made ensureRemoteSystemsProject private instead of protected |
20 |
* David Dykstal (IBM) - [186589] move user types, user actions, and compile commands |
20 |
* David Dykstal (IBM) - [186589] move user types, user actions, and compile commands |
21 |
* API to the user actions plugin |
21 |
* API to the user actions plugin |
|
|
22 |
* David Dykstal (IBM) - [191130] remove getRemoteSystemsProject() and getProfileFolder() |
23 |
* as part of the work to removed the exception printed at startup. |
22 |
********************************************************************************/ |
24 |
********************************************************************************/ |
23 |
|
25 |
|
24 |
package org.eclipse.rse.core; |
26 |
package org.eclipse.rse.core; |
Lines 148-169
Link Here
|
148 |
_listener.removeResourceChangeListener(l); |
150 |
_listener.removeResourceChangeListener(l); |
149 |
} |
151 |
} |
150 |
|
152 |
|
151 |
/** |
153 |
// /** |
152 |
* Get the default remote systems project. |
154 |
// * Get the default remote systems project. |
153 |
* If found but closed, this will open the project. |
155 |
// * If found but closed, this will open the project. |
154 |
* @return IProject handle of the project. Use exists() to test existence. |
156 |
// * @return IProject handle of the project. Use exists() to test existence. |
155 |
*/ |
157 |
// * @deprecated use {@link #getRemoteSystemsProject(boolean)} instead. |
156 |
public static IProject getRemoteSystemsProject() |
158 |
// */ |
157 |
{ |
159 |
// public static IProject getRemoteSystemsProject() |
158 |
return getRemoteSystemsProject(true); |
160 |
// { |
159 |
} |
161 |
// return getRemoteSystemsProject(true); |
|
|
162 |
// } |
160 |
|
163 |
|
161 |
/** |
164 |
/** |
162 |
* Get the default remote systems project. |
165 |
* Get the default remote systems project. |
163 |
* If found but closed, this will open the project. |
166 |
* If found but closed, this will open the project. |
164 |
* @param force if true force the creation of the project if not found. |
167 |
* @param force if true force the creation of the project if not found. |
165 |
* In any case, returns handle to the project. |
168 |
* In any case, returns handle to the project. |
166 |
* @return IProject handle of the project. Use exists() to test existence. |
169 |
* @return IProject handle of the project. Clients should use |
|
|
170 |
* exists() or isAccessible() to test existence. |
167 |
*/ |
171 |
*/ |
168 |
public static IProject getRemoteSystemsProject(boolean force) { |
172 |
public static IProject getRemoteSystemsProject(boolean force) { |
169 |
if (remoteSystemsProject == null) { |
173 |
if (remoteSystemsProject == null) { |
Lines 273-282
Link Here
|
273 |
/** |
277 |
/** |
274 |
* Get profiles folder for a given profile name |
278 |
* Get profiles folder for a given profile name |
275 |
*/ |
279 |
*/ |
276 |
public static IFolder getProfileFolder(String profileName) |
280 |
// public static IFolder getProfileFolder(String profileName) |
277 |
{ |
281 |
// { |
278 |
return getResourceHelpers().getOrCreateFolder(getRemoteSystemsProject(),profileName); |
282 |
// return getResourceHelpers().getOrCreateFolder(getRemoteSystemsProject(),profileName); |
279 |
} |
283 |
// } |
280 |
|
284 |
|
281 |
|
285 |
|
282 |
// ------------------- |
286 |
// ------------------- |