diff options
author | Bernard Normier <bernard@zeroc.com> | 2006-05-31 22:52:08 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2006-05-31 22:52:08 +0000 |
commit | 4df583f8e4785296e4c4b592d24bba5f1fd02136 (patch) | |
tree | 55e97a21b1397e2bf30c297bf8119e8e13216566 /java/src/IceGridGUI/Application/AdapterEditor.java | |
parent | minor change. (diff) | |
download | ice-4df583f8e4785296e4c4b592d24bba5f1fd02136.tar.bz2 ice-4df583f8e4785296e4c4b592d24bba5f1fd02136.tar.xz ice-4df583f8e4785296e4c4b592d24bba5f1fd02136.zip |
Fixed various bugs
Diffstat (limited to 'java/src/IceGridGUI/Application/AdapterEditor.java')
-rwxr-xr-x | java/src/IceGridGUI/Application/AdapterEditor.java | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/java/src/IceGridGUI/Application/AdapterEditor.java b/java/src/IceGridGUI/Application/AdapterEditor.java index 94d7c02c112..d26ff266c89 100755 --- a/java/src/IceGridGUI/Application/AdapterEditor.java +++ b/java/src/IceGridGUI/Application/AdapterEditor.java @@ -439,8 +439,14 @@ class AdapterEditor extends CommunicatorChildEditor _replicaGroupId.setEnabled(isEditable);
_replicaGroupId.setEditable(isEditable);
- _endpoints.setText(
- Utils.substitute(adapter.getProperty("Endpoints"), resolver));
+ if(adapter.isEphemeral())
+ {
+ _endpoints.setText("default");
+ }
+ else
+ {
+ _endpoints.setText(Utils.substitute(adapter.getProperty("Endpoints"), resolver));
+ }
_endpoints.setEditable(isEditable);
_publishedEndpoints.setEnabled(true);
|