summaryrefslogtreecommitdiff
path: root/java/src/IceGridGUI/Application/ServerTemplateEditor.java
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2006-09-15 19:42:39 +0000
committerBernard Normier <bernard@zeroc.com>2006-09-15 19:42:39 +0000
commit926a34c0cde3bb59a64c6906442246015290c310 (patch)
tree247d19ba42bd29fb7b60d96ac936ca91d497357b /java/src/IceGridGUI/Application/ServerTemplateEditor.java
parentMerged fixes from 3.1 branch (diff)
downloadice-926a34c0cde3bb59a64c6906442246015290c310.tar.bz2
ice-926a34c0cde3bb59a64c6906442246015290c310.tar.xz
ice-926a34c0cde3bb59a64c6906442246015290c310.zip
dos2unix
Diffstat (limited to 'java/src/IceGridGUI/Application/ServerTemplateEditor.java')
-rwxr-xr-xjava/src/IceGridGUI/Application/ServerTemplateEditor.java128
1 files changed, 64 insertions, 64 deletions
diff --git a/java/src/IceGridGUI/Application/ServerTemplateEditor.java b/java/src/IceGridGUI/Application/ServerTemplateEditor.java
index d74211b7f28..5f9f8c36798 100755
--- a/java/src/IceGridGUI/Application/ServerTemplateEditor.java
+++ b/java/src/IceGridGUI/Application/ServerTemplateEditor.java
@@ -1,64 +1,64 @@
-// **********************************************************************
-//
-// Copyright (c) 2003-2006 ZeroC, Inc. All rights reserved.
-//
-// This copy of Ice is licensed to you under the terms described in the
-// ICE_LICENSE file included in this distribution.
-//
-// **********************************************************************
-package IceGridGUI.Application;
-
-import com.jgoodies.forms.builder.DefaultFormBuilder;
-
-class ServerTemplateEditor extends TemplateEditor
-{
- ServerTemplateEditor()
- {
- _subEditor = new ServerSubEditor(this);
- }
-
- void writeDescriptor()
- {
- super.writeDescriptor();
- _subEditor.writeDescriptor();
- }
-
- boolean isSimpleUpdate()
- {
- return super.isSimpleUpdate() && _subEditor.isSimpleUpdate();
- }
-
- protected void appendProperties(DefaultFormBuilder builder)
- {
- super.appendProperties(builder);
- builder.appendSeparator();
- builder.nextLine();
- _subEditor.appendProperties(builder);
- }
-
- protected void buildPropertiesPanel()
- {
- super.buildPropertiesPanel();
- _propertiesPanel.setName("Server Template Properties");
- }
-
- protected boolean validate()
- {
- return super.validate() && _subEditor.validate();
- }
-
- void show(ServerTemplate t)
- {
- detectUpdates(false);
- _target = t;
-
- super.show();
- _subEditor.show(true);
-
- _applyButton.setEnabled(t.isEphemeral());
- _discardButton.setEnabled(t.isEphemeral());
- detectUpdates(true);
- }
-
- private ServerSubEditor _subEditor;
-}
+// **********************************************************************
+//
+// Copyright (c) 2003-2006 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+package IceGridGUI.Application;
+
+import com.jgoodies.forms.builder.DefaultFormBuilder;
+
+class ServerTemplateEditor extends TemplateEditor
+{
+ ServerTemplateEditor()
+ {
+ _subEditor = new ServerSubEditor(this);
+ }
+
+ void writeDescriptor()
+ {
+ super.writeDescriptor();
+ _subEditor.writeDescriptor();
+ }
+
+ boolean isSimpleUpdate()
+ {
+ return super.isSimpleUpdate() && _subEditor.isSimpleUpdate();
+ }
+
+ protected void appendProperties(DefaultFormBuilder builder)
+ {
+ super.appendProperties(builder);
+ builder.appendSeparator();
+ builder.nextLine();
+ _subEditor.appendProperties(builder);
+ }
+
+ protected void buildPropertiesPanel()
+ {
+ super.buildPropertiesPanel();
+ _propertiesPanel.setName("Server Template Properties");
+ }
+
+ protected boolean validate()
+ {
+ return super.validate() && _subEditor.validate();
+ }
+
+ void show(ServerTemplate t)
+ {
+ detectUpdates(false);
+ _target = t;
+
+ super.show();
+ _subEditor.show(true);
+
+ _applyButton.setEnabled(t.isEphemeral());
+ _discardButton.setEnabled(t.isEphemeral());
+ detectUpdates(true);
+ }
+
+ private ServerSubEditor _subEditor;
+}