summaryrefslogtreecommitdiff
path: root/java/src/IceGridGUI/LiveDeployment/Root.java
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2006-05-01 22:10:14 +0000
committerBernard Normier <bernard@zeroc.com>2006-05-01 22:10:14 +0000
commit6d1afe97d80c63e34e5a26a636f690daa5d330cb (patch)
treeaf44668c9d23c3bb1441f4c771f208d456425396 /java/src/IceGridGUI/LiveDeployment/Root.java
parentFixed W32 compiles for string converters (diff)
downloadice-6d1afe97d80c63e34e5a26a636f690daa5d330cb.tar.bz2
ice-6d1afe97d80c63e34e5a26a636f690daa5d330cb.tar.xz
ice-6d1afe97d80c63e34e5a26a636f690daa5d330cb.zip
The LiveDeployment pane now handles property sets correctly
Diffstat (limited to 'java/src/IceGridGUI/LiveDeployment/Root.java')
-rwxr-xr-xjava/src/IceGridGUI/LiveDeployment/Root.java12
1 files changed, 11 insertions, 1 deletions
diff --git a/java/src/IceGridGUI/LiveDeployment/Root.java b/java/src/IceGridGUI/LiveDeployment/Root.java
index d50fc0af7eb..7dc2766f82e 100755
--- a/java/src/IceGridGUI/LiveDeployment/Root.java
+++ b/java/src/IceGridGUI/LiveDeployment/Root.java
@@ -143,6 +143,10 @@ public class Root extends ListTreeNode
//
// Update only descriptors (no tree node shown in this view)
//
+ appDesc.propertySets.keySet().
+ removeAll(java.util.Arrays.asList(update.removePropertySets));
+ appDesc.propertySets.putAll(update.propertySets);
+
for(int i = 0; i < update.removeReplicaGroups.length; ++i)
{
for(int j = 0; j < appDesc.replicaGroups.size(); ++j)
@@ -164,7 +168,6 @@ public class Root extends ListTreeNode
removeAll(java.util.Arrays.asList(update.removeServerTemplates));
appDesc.serverTemplates.putAll(update.serverTemplates);
-
//
// Nodes
//
@@ -327,6 +330,13 @@ public class Root extends ListTreeNode
return this;
}
+ PropertySetDescriptor findNamedPropertySet(String name, String applicationName)
+ {
+ ApplicationDescriptor descriptor = (ApplicationDescriptor)
+ _descriptorMap.get(applicationName);
+ return (PropertySetDescriptor)descriptor.propertySets.get(name);
+ }
+
private Node findNode(String nodeName)
{
return (Node)find(nodeName, _children);