diff options
Diffstat (limited to 'java/src/IceGridGUI/Application/CommunicatorChildEditor.java')
-rwxr-xr-x | java/src/IceGridGUI/Application/CommunicatorChildEditor.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/java/src/IceGridGUI/Application/CommunicatorChildEditor.java b/java/src/IceGridGUI/Application/CommunicatorChildEditor.java index 651863bc0c2..b80d4e9f625 100755 --- a/java/src/IceGridGUI/Application/CommunicatorChildEditor.java +++ b/java/src/IceGridGUI/Application/CommunicatorChildEditor.java @@ -21,7 +21,7 @@ abstract class CommunicatorChildEditor extends Editor void postUpdate() {}
- protected void applyUpdate()
+ protected boolean applyUpdate()
{
Root root = _target.getRoot();
root.disableSelectionListener();
@@ -60,7 +60,7 @@ abstract class CommunicatorChildEditor extends Editor JOptionPane.ERROR_MESSAGE);
root.setSelectedNode(_target);
- return;
+ return false;
}
//
@@ -96,7 +96,7 @@ abstract class CommunicatorChildEditor extends Editor e.toString(),
"Apply failed",
JOptionPane.ERROR_MESSAGE);
- return;
+ return false;
}
//
@@ -112,6 +112,7 @@ abstract class CommunicatorChildEditor extends Editor root.getCoordinator().getCurrentTab().showNode(_target);
_applyButton.setEnabled(false);
_discardButton.setEnabled(false);
+ return true;
}
finally
{
|