diff options
Diffstat (limited to 'java/src/IceGrid/TreeNode/ServerTemplate.java')
-rwxr-xr-x | java/src/IceGrid/TreeNode/ServerTemplate.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/java/src/IceGrid/TreeNode/ServerTemplate.java b/java/src/IceGrid/TreeNode/ServerTemplate.java index 3a47251b329..d442607cf70 100755 --- a/java/src/IceGrid/TreeNode/ServerTemplate.java +++ b/java/src/IceGrid/TreeNode/ServerTemplate.java @@ -43,6 +43,21 @@ import IceGrid.Utils; class ServerTemplate extends EditableParent
{
+ public void displayProperties()
+ {
+ SimpleInternalFrame propertiesFrame = _model.getPropertiesFrame();
+ propertiesFrame.setTitle("Properties for " + _id);
+
+ if(_editor == null)
+ {
+ _editor = new ServerTemplateEditor(_model.getMainFrame());
+ }
+ _editor.show(this);
+ propertiesFrame.setContent(_editor.getComponent());
+ propertiesFrame.validate();
+ propertiesFrame.repaint();
+ }
+
//
// Application is needed to lookup service templates
@@ -166,4 +181,6 @@ class ServerTemplate extends EditableParent private DbEnvs _dbEnvs;
private PropertiesHolder _propertiesHolder;
+
+ static private ServerTemplateEditor _editor;
}
|