summaryrefslogtreecommitdiff
path: root/java/src/IceGridGUI/Application/Communicator.java
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2006-04-12 11:55:04 +0000
committerBenoit Foucher <benoit@zeroc.com>2006-04-12 11:55:04 +0000
commit9f876516b8bfbf876aac6b37afe477a9265e9ed7 (patch)
tree7609792a64ae713c1d454a9d789c363fde2389d7 /java/src/IceGridGUI/Application/Communicator.java
parentAdded support for property sets. (diff)
downloadice-9f876516b8bfbf876aac6b37afe477a9265e9ed7.tar.bz2
ice-9f876516b8bfbf876aac6b37afe477a9265e9ed7.tar.xz
ice-9f876516b8bfbf876aac6b37afe477a9265e9ed7.zip
Changes to allow compiling the GUI with property set descriptor changes.
Diffstat (limited to 'java/src/IceGridGUI/Application/Communicator.java')
-rwxr-xr-xjava/src/IceGridGUI/Application/Communicator.java14
1 files changed, 8 insertions, 6 deletions
diff --git a/java/src/IceGridGUI/Application/Communicator.java b/java/src/IceGridGUI/Application/Communicator.java
index c3065cdb32a..a731d5196a4 100755
--- a/java/src/IceGridGUI/Application/Communicator.java
+++ b/java/src/IceGridGUI/Application/Communicator.java
@@ -674,7 +674,7 @@ abstract class Communicator extends TreeNode implements DescriptorHolder
{
ServiceDescriptor sd =
new ServiceDescriptor(new java.util.LinkedList(),
- new java.util.LinkedList(),
+ new PropertySetDescriptor(new String[0], new java.util.LinkedList()),
new java.util.LinkedList(),
"",
"NewService",
@@ -683,7 +683,8 @@ abstract class Communicator extends TreeNode implements DescriptorHolder
ServiceInstanceDescriptor descriptor =
new ServiceInstanceDescriptor("",
new java.util.TreeMap(),
- sd);
+ sd,
+ new PropertySetDescriptor(new String[0], new java.util.LinkedList()));
newService(descriptor);
}
@@ -692,7 +693,8 @@ abstract class Communicator extends TreeNode implements DescriptorHolder
ServiceInstanceDescriptor descriptor =
new ServiceInstanceDescriptor("",
new java.util.HashMap(),
- null);
+ null,
+ new PropertySetDescriptor(new String[0], new java.util.LinkedList()));
newService(descriptor);
}
@@ -959,7 +961,7 @@ abstract class Communicator extends TreeNode implements DescriptorHolder
String getProperty(String key)
{
CommunicatorDescriptor descriptor = getCommunicatorDescriptor();
- java.util.Iterator p = descriptor.properties.iterator();
+ java.util.Iterator p = descriptor.propertySet.properties.iterator();
while(p.hasNext())
{
PropertyDescriptor pd = (PropertyDescriptor)p.next();
@@ -975,13 +977,13 @@ abstract class Communicator extends TreeNode implements DescriptorHolder
{
CommunicatorDescriptor descriptor = getCommunicatorDescriptor();
removeProperty(key);
- descriptor.properties.add(new PropertyDescriptor(key, newValue));
+ descriptor.propertySet.properties.add(new PropertyDescriptor(key, newValue));
}
void removeProperty(String key)
{
CommunicatorDescriptor descriptor = getCommunicatorDescriptor();
- java.util.Iterator p = descriptor.properties.iterator();
+ java.util.Iterator p = descriptor.propertySet.properties.iterator();
while(p.hasNext())
{
PropertyDescriptor pd = (PropertyDescriptor)p.next();