summaryrefslogtreecommitdiff
path: root/java/src/IceGridGUI/Application/ReplicaGroupEditor.java
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2006-12-04 17:02:43 +0000
committerBernard Normier <bernard@zeroc.com>2006-12-04 17:02:43 +0000
commitb1863fa8330d6f06b9dbddbea0c11be53320e1a5 (patch)
tree38e118544bb38b0884e85c88384c6772033480f0 /java/src/IceGridGUI/Application/ReplicaGroupEditor.java
parentAdded extra proxy properties (diff)
downloadice-b1863fa8330d6f06b9dbddbea0c11be53320e1a5.tar.bz2
ice-b1863fa8330d6f06b9dbddbea0c11be53320e1a5.tar.xz
ice-b1863fa8330d6f06b9dbddbea0c11be53320e1a5.zip
Numerous fixes: copy/paste etc, auto-apply by default and more
Diffstat (limited to 'java/src/IceGridGUI/Application/ReplicaGroupEditor.java')
-rwxr-xr-xjava/src/IceGridGUI/Application/ReplicaGroupEditor.java13
1 files changed, 10 insertions, 3 deletions
diff --git a/java/src/IceGridGUI/Application/ReplicaGroupEditor.java b/java/src/IceGridGUI/Application/ReplicaGroupEditor.java
index e6a126dfea8..4cb075956c4 100755
--- a/java/src/IceGridGUI/Application/ReplicaGroupEditor.java
+++ b/java/src/IceGridGUI/Application/ReplicaGroupEditor.java
@@ -32,7 +32,7 @@ import IceGridGUI.*;
class ReplicaGroupEditor extends Editor
{
- protected boolean applyUpdate()
+ protected boolean applyUpdate(boolean refresh)
{
ReplicaGroup replicaGroup = (ReplicaGroup)_target;
Root root = replicaGroup.getRoot();
@@ -138,10 +138,17 @@ class ReplicaGroupEditor extends Editor
_target = replicaGroups.findChildWithDescriptor(descriptor);
root.updated();
- root.setSelectedNode(_target);
+
+ if(refresh)
+ {
+ root.setSelectedNode(_target);
+ }
}
- root.getCoordinator().getCurrentTab().showNode(_target);
+ if(refresh)
+ {
+ root.getCoordinator().getCurrentTab().showNode(_target);
+ }
_applyButton.setEnabled(false);
_discardButton.setEnabled(false);
return true;