summaryrefslogtreecommitdiff
path: root/java/src/IceGrid/TreeNode/ReplicaGroup.java
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2005-10-18 23:11:29 +0000
committerBernard Normier <bernard@zeroc.com>2005-10-18 23:11:29 +0000
commit765c3fec852a05c957116145220719d1c0e40797 (patch)
treed1178fc923be909fc13f53288c8a82bf38908393 /java/src/IceGrid/TreeNode/ReplicaGroup.java
parentx86 is now the default machine on Windows (diff)
downloadice-765c3fec852a05c957116145220719d1c0e40797.tar.bz2
ice-765c3fec852a05c957116145220719d1c0e40797.tar.xz
ice-765c3fec852a05c957116145220719d1c0e40797.zip
New current status window
Diffstat (limited to 'java/src/IceGrid/TreeNode/ReplicaGroup.java')
-rwxr-xr-xjava/src/IceGrid/TreeNode/ReplicaGroup.java17
1 files changed, 8 insertions, 9 deletions
diff --git a/java/src/IceGrid/TreeNode/ReplicaGroup.java b/java/src/IceGrid/TreeNode/ReplicaGroup.java
index ec4bd61fc61..30f16dd45aa 100755
--- a/java/src/IceGrid/TreeNode/ReplicaGroup.java
+++ b/java/src/IceGrid/TreeNode/ReplicaGroup.java
@@ -34,7 +34,12 @@ class ReplicaGroup extends EditableLeaf
actions[PASTE] = true;
}
actions[DELETE] = true;
- actions[SUBSTITUTE_VARS] = true;
+
+ if(!_ephemeral)
+ {
+ actions[SHOW_VARS] = true;
+ actions[SUBSTITUTE_VARS] = true;
+ }
return actions;
}
@@ -71,20 +76,14 @@ class ReplicaGroup extends EditableLeaf
return false;
}
- public void displayProperties()
+ public Editor getEditor()
{
- SimpleInternalFrame propertiesFrame = _model.getPropertiesFrame();
-
- propertiesFrame.setTitle("Properties for " + _id);
if(_editor == null)
{
_editor = new ReplicaGroupEditor(_model.getMainFrame());
}
- propertiesFrame.setContent(_editor.getComponent());
_editor.show(this);
-
- propertiesFrame.validate();
- propertiesFrame.repaint();
+ return _editor;
}
public Object getDescriptor()