Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 228010 Details for
Bug 402556
Backport to 3.4.x RSE default local host should not be deletable from UI
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
backport patch
patch.txt (text/plain), 1.82 KB, created by
David McKnight
on 2013-03-06 12:24:33 EST
(
hide
)
Description:
backport patch
Filename:
MIME Type:
Creator:
David McKnight
Created:
2013-03-06 12:24:33 EST
Size:
1.82 KB
patch
obsolete
>diff --git a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/view/SystemViewConnectionAdapter.java b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/view/SystemViewConnectionAdapter.java >index 1f33986..f90145b 100644 >--- a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/view/SystemViewConnectionAdapter.java >+++ b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/view/SystemViewConnectionAdapter.java >@@ -1,5 +1,5 @@ > /******************************************************************************** >- * Copyright (c) 2002, 2009 IBM Corporation and others. All rights reserved. >+ * Copyright (c) 2002, 2013 IBM Corporation and others. All rights reserved. > * This program and the accompanying materials are made available under the terms > * of the Eclipse Public License v1.0 which accompanies this distribution, and is > * available at http://www.eclipse.org/legal/epl-v10.html >@@ -36,6 +36,7 @@ > * David McKnight (IBM) - [226324] Default user ID from preferences not inherited > * David McKnight (IBM) - [196166] [usability][dnd] Changing the sort order of hosts in the SystemView should work by drag & drop > * David McKnight (IBM) - [286230] [dnd] Dropping resources on host nodes leads to classcast exception >+ * David McKnight (IBM) - [402555] RSE default local host should not be deletable from UI > ********************************************************************************/ > > package org.eclipse.rse.internal.ui.view; >@@ -619,6 +620,11 @@ > if (ss[i].isConnected() && ss[i].getSubSystemConfiguration().supportsSubSystemConnect()) > return false; > } >+ if (host == sr.getLocalHost()){ >+ return false; // don't allow deleting the default local host >+ } >+ >+ > } > return true; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 402556
: 228010