summaryrefslogtreecommitdiff
path: root/java/src/IceGrid/TreeNode/Service.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/Service.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/Service.java')
-rwxr-xr-xjava/src/IceGrid/TreeNode/Service.java12
1 files changed, 4 insertions, 8 deletions
diff --git a/java/src/IceGrid/TreeNode/Service.java b/java/src/IceGrid/TreeNode/Service.java
index f85aa8820e1..c84c2f22f01 100755
--- a/java/src/IceGrid/TreeNode/Service.java
+++ b/java/src/IceGrid/TreeNode/Service.java
@@ -74,6 +74,7 @@ class Service extends Parent
if(_resolver != null && !_ephemeral)
{
+ actions[SHOW_VARS] = true;
actions[SUBSTITUTE_VARS] = true;
}
@@ -169,11 +170,8 @@ class Service extends Parent
((ListParent)_parent).destroyChild(this);
}
- public void displayProperties()
+ public Editor getEditor()
{
- SimpleInternalFrame propertiesFrame = _model.getPropertiesFrame();
- propertiesFrame.setTitle("Properties for " + _id);
-
if(_instanceDescriptor.template.length() > 0)
{
if(_instanceEditor == null)
@@ -181,7 +179,7 @@ class Service extends Parent
_instanceEditor = new ServiceInstanceEditor(_model.getMainFrame());
}
_instanceEditor.show(this);
- propertiesFrame.setContent(_instanceEditor.getComponent());
+ return _instanceEditor;
}
else
{
@@ -190,10 +188,8 @@ class Service extends Parent
_editor = new ServiceEditor(_model.getMainFrame());
}
_editor.show(this);
- propertiesFrame.setContent(_editor.getComponent());
+ return _editor;
}
- propertiesFrame.validate();
- propertiesFrame.repaint();
}
public String toString()