diff options
author | Bernard Normier <bernard@zeroc.com> | 2006-05-31 02:36:19 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2006-05-31 02:36:19 +0000 |
commit | 30f98a26bbf51552b5ec361e1a9ff89a778fd6d5 (patch) | |
tree | 6058928209564e76b87b5b7a4d8b2df0e6006e8c /java/src/IceGridGUI/Application/PropertySetEditor.java | |
parent | Added tooltips to Login dialog (diff) | |
download | ice-30f98a26bbf51552b5ec361e1a9ff89a778fd6d5.tar.bz2 ice-30f98a26bbf51552b5ec361e1a9ff89a778fd6d5.tar.xz ice-30f98a26bbf51552b5ec361e1a9ff89a778fd6d5.zip |
Save now applies if needed
Diffstat (limited to 'java/src/IceGridGUI/Application/PropertySetEditor.java')
-rwxr-xr-x | java/src/IceGridGUI/Application/PropertySetEditor.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/java/src/IceGridGUI/Application/PropertySetEditor.java b/java/src/IceGridGUI/Application/PropertySetEditor.java index bb971992d2e..702a19476d5 100755 --- a/java/src/IceGridGUI/Application/PropertySetEditor.java +++ b/java/src/IceGridGUI/Application/PropertySetEditor.java @@ -32,7 +32,7 @@ import IceGridGUI.*; class PropertySetEditor extends Editor
{
- protected void applyUpdate()
+ protected boolean applyUpdate()
{
PropertySet nps = (PropertySet)_target;
Root root = nps.getRoot();
@@ -72,7 +72,7 @@ class PropertySetEditor extends Editor e.toString(),
"Apply failed",
JOptionPane.ERROR_MESSAGE);
- return;
+ return false;
}
//
@@ -93,6 +93,7 @@ class PropertySetEditor extends Editor root.getCoordinator().getCurrentTab().showNode(_target);
_applyButton.setEnabled(false);
_discardButton.setEnabled(false);
+ return true;
}
finally
{
|