|
Lines 1-5
Link Here
|
| 1 |
/******************************************************************************** |
1 |
/******************************************************************************** |
| 2 |
* Copyright (c) 2002, 2009 IBM Corporation and others. All rights reserved. |
2 |
* Copyright (c) 2002, 2013 IBM Corporation and others. All rights reserved. |
| 3 |
* This program and the accompanying materials are made available under the terms |
3 |
* This program and the accompanying materials are made available under the terms |
| 4 |
* of the Eclipse Public License v1.0 which accompanies this distribution, and is |
4 |
* of the Eclipse Public License v1.0 which accompanies this distribution, and is |
| 5 |
* available at http://www.eclipse.org/legal/epl-v10.html |
5 |
* available at http://www.eclipse.org/legal/epl-v10.html |
|
Lines 36-41
Link Here
|
| 36 |
* David McKnight (IBM) - [226324] Default user ID from preferences not inherited |
36 |
* David McKnight (IBM) - [226324] Default user ID from preferences not inherited |
| 37 |
* David McKnight (IBM) - [196166] [usability][dnd] Changing the sort order of hosts in the SystemView should work by drag & drop |
37 |
* David McKnight (IBM) - [196166] [usability][dnd] Changing the sort order of hosts in the SystemView should work by drag & drop |
| 38 |
* David McKnight (IBM) - [286230] [dnd] Dropping resources on host nodes leads to classcast exception |
38 |
* David McKnight (IBM) - [286230] [dnd] Dropping resources on host nodes leads to classcast exception |
|
|
39 |
* David McKnight (IBM) - [402555] RSE default local host should not be deletable from UI |
| 39 |
********************************************************************************/ |
40 |
********************************************************************************/ |
| 40 |
|
41 |
|
| 41 |
package org.eclipse.rse.internal.ui.view; |
42 |
package org.eclipse.rse.internal.ui.view; |
|
Lines 619-624
Link Here
|
| 619 |
if (ss[i].isConnected() && ss[i].getSubSystemConfiguration().supportsSubSystemConnect()) |
620 |
if (ss[i].isConnected() && ss[i].getSubSystemConfiguration().supportsSubSystemConnect()) |
| 620 |
return false; |
621 |
return false; |
| 621 |
} |
622 |
} |
|
|
623 |
if (host == sr.getLocalHost()){ |
| 624 |
return false; // don't allow deleting the default local host |
| 625 |
} |
| 626 |
|
| 627 |
|
| 622 |
} |
628 |
} |
| 623 |
return true; |
629 |
return true; |
| 624 |
} |
630 |
} |