summaryrefslogtreecommitdiff
path: root/java/src/IceGridGUI/Application/CommunicatorChildEditor.java
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2006-05-31 02:36:19 +0000
committerBernard Normier <bernard@zeroc.com>2006-05-31 02:36:19 +0000
commit30f98a26bbf51552b5ec361e1a9ff89a778fd6d5 (patch)
tree6058928209564e76b87b5b7a4d8b2df0e6006e8c /java/src/IceGridGUI/Application/CommunicatorChildEditor.java
parentAdded tooltips to Login dialog (diff)
downloadice-30f98a26bbf51552b5ec361e1a9ff89a778fd6d5.tar.bz2
ice-30f98a26bbf51552b5ec361e1a9ff89a778fd6d5.tar.xz
ice-30f98a26bbf51552b5ec361e1a9ff89a778fd6d5.zip
Save now applies if needed
Diffstat (limited to 'java/src/IceGridGUI/Application/CommunicatorChildEditor.java')
-rwxr-xr-xjava/src/IceGridGUI/Application/CommunicatorChildEditor.java7
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
{