diff options
author | Bernard Normier <bernard@zeroc.com> | 2005-10-18 23:11:29 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2005-10-18 23:11:29 +0000 |
commit | 765c3fec852a05c957116145220719d1c0e40797 (patch) | |
tree | d1178fc923be909fc13f53288c8a82bf38908393 /java/src/IceGrid/TreeNode/Adapter.java | |
parent | x86 is now the default machine on Windows (diff) | |
download | ice-765c3fec852a05c957116145220719d1c0e40797.tar.bz2 ice-765c3fec852a05c957116145220719d1c0e40797.tar.xz ice-765c3fec852a05c957116145220719d1c0e40797.zip |
New current status window
Diffstat (limited to 'java/src/IceGrid/TreeNode/Adapter.java')
-rwxr-xr-x | java/src/IceGrid/TreeNode/Adapter.java | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/java/src/IceGrid/TreeNode/Adapter.java b/java/src/IceGrid/TreeNode/Adapter.java index 7cf6e274204..d0200c3ec5f 100755 --- a/java/src/IceGrid/TreeNode/Adapter.java +++ b/java/src/IceGrid/TreeNode/Adapter.java @@ -44,6 +44,7 @@ class Adapter extends Leaf if(_resolver != null && !_ephemeral) { + actions[SHOW_VARS] = true; actions[SUBSTITUTE_VARS] = true; } return actions; @@ -87,21 +88,14 @@ class Adapter extends Leaf tree, value, sel, expanded, leaf, row, hasFocus); } - public void displayProperties() + public Editor getEditor() { - SimpleInternalFrame propertiesFrame = _model.getPropertiesFrame(); - - propertiesFrame.setTitle("Properties for " + _id); if(_editor == null) { _editor = new AdapterEditor(_model.getMainFrame()); } - _editor.show(this); - propertiesFrame.setContent(_editor.getComponent()); - - propertiesFrame.validate(); - propertiesFrame.repaint(); + return _editor; } public boolean destroy() @@ -270,7 +264,7 @@ class Adapter extends Leaf { if(proxy == null) { - _currentEndpoints = ""; + _currentEndpoints = null; _toolTip = "Inactive"; } else @@ -285,7 +279,7 @@ class Adapter extends Leaf { _currentEndpoints = str.substring(index + 1); } - _toolTip = "Current endpoints: " + _currentEndpoints; + _toolTip = "Published endpoints: " + _currentEndpoints; } } |