diff options
author | Bernard Normier <bernard@zeroc.com> | 2006-06-05 21:59:38 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2006-06-05 21:59:38 +0000 |
commit | e4ed2530b30e4314ae622a255abf0e76630ea6c7 (patch) | |
tree | 6001a71f1eb7161fcd56f49489abe61d6e20e284 /java/src/IceGridGUI/Application/TemplateEditor.java | |
parent | add filters back to build (diff) | |
download | ice-e4ed2530b30e4314ae622a255abf0e76630ea6c7.tar.bz2 ice-e4ed2530b30e4314ae622a255abf0e76630ea6c7.tar.xz ice-e4ed2530b30e4314ae622a255abf0e76630ea6c7.zip |
Added validation
Diffstat (limited to 'java/src/IceGridGUI/Application/TemplateEditor.java')
-rwxr-xr-x | java/src/IceGridGUI/Application/TemplateEditor.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/java/src/IceGridGUI/Application/TemplateEditor.java b/java/src/IceGridGUI/Application/TemplateEditor.java index 2131e6b2cf1..d06f37f0ac6 100755 --- a/java/src/IceGridGUI/Application/TemplateEditor.java +++ b/java/src/IceGridGUI/Application/TemplateEditor.java @@ -84,6 +84,11 @@ class TemplateEditor extends Editor builder.nextLine();
}
+ protected boolean validate()
+ {
+ return check(new String[]{"Template ID", _template.getText().trim()});
+ }
+
void show()
{
TemplateDescriptor descriptor = getDescriptor();
|