diff options
author | Bernard Normier <bernard@zeroc.com> | 2006-12-19 03:08:13 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2006-12-19 03:08:13 +0000 |
commit | 5d97f1baac41ab400f1fac069de3ca8c28ed69e2 (patch) | |
tree | 84bc15c4cc2f6455d1c4ff612cd2881f142444cd /java/src/IceGridGUI/Application/Communicator.java | |
parent | Added support for user-defined log files (diff) | |
download | ice-5d97f1baac41ab400f1fac069de3ca8c28ed69e2.tar.bz2 ice-5d97f1baac41ab400f1fac069de3ca8c28ed69e2.tar.xz ice-5d97f1baac41ab400f1fac069de3ca8c28ed69e2.zip |
Added properties for objects and allocatables in Adapter editor
Diffstat (limited to 'java/src/IceGridGUI/Application/Communicator.java')
-rwxr-xr-x | java/src/IceGridGUI/Application/Communicator.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/java/src/IceGridGUI/Application/Communicator.java b/java/src/IceGridGUI/Application/Communicator.java index e62c1fda896..2e99aa34ede 100755 --- a/java/src/IceGridGUI/Application/Communicator.java +++ b/java/src/IceGridGUI/Application/Communicator.java @@ -873,6 +873,22 @@ abstract class Communicator extends TreeNode implements DescriptorHolder return null; } + String lookupPropertyValue(String val) + { + CommunicatorDescriptor descriptor = getCommunicatorDescriptor(); + java.util.Iterator p = descriptor.propertySet.properties.iterator(); + while(p.hasNext()) + { + PropertyDescriptor pd = (PropertyDescriptor)p.next(); + if(pd.value.equals(val)) + { + return pd.name; + } + } + return ""; + } + + void setProperty(String key, String newValue) { CommunicatorDescriptor descriptor = getCommunicatorDescriptor(); |