diff options
Diffstat (limited to 'java/src/IceGridGUI/Application/AbstractServerEditor.java')
-rwxr-xr-x | java/src/IceGridGUI/Application/AbstractServerEditor.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/java/src/IceGridGUI/Application/AbstractServerEditor.java b/java/src/IceGridGUI/Application/AbstractServerEditor.java index 154f2d4c8f0..78aab335011 100755 --- a/java/src/IceGridGUI/Application/AbstractServerEditor.java +++ b/java/src/IceGridGUI/Application/AbstractServerEditor.java @@ -37,7 +37,7 @@ abstract class AbstractServerEditor extends Editor _propertiesPanel.setName("Server Properties");
}
- protected void applyUpdate()
+ protected boolean applyUpdate()
{
Root root = _target.getRoot();
Server server = (Server)_target;
@@ -83,7 +83,7 @@ abstract class AbstractServerEditor extends Editor e.toString(),
"Apply failed",
JOptionPane.ERROR_MESSAGE);
- return;
+ return false;
}
//
@@ -143,7 +143,7 @@ abstract class AbstractServerEditor extends Editor e.toString(),
"Apply failed",
JOptionPane.ERROR_MESSAGE);
- return;
+ return false;
}
//
@@ -160,6 +160,7 @@ abstract class AbstractServerEditor extends Editor root.getCoordinator().getCurrentTab().showNode(_target);
_applyButton.setEnabled(false);
_discardButton.setEnabled(false);
+ return true;
}
finally
{
|