summaryrefslogtreecommitdiff
path: root/java/src/IceGridGUI/Application/Adapter.java
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2006-06-09 20:50:36 +0000
committerBernard Normier <bernard@zeroc.com>2006-06-09 20:50:36 +0000
commitb0076e702ef9be4a393dc10081091ba3f56a10e9 (patch)
tree98ea5eac89f0c9098fefe12cf9e56e4ebcae37d2 /java/src/IceGridGUI/Application/Adapter.java
parentfixed bug with location test. bug 1052 (diff)
downloadice-b0076e702ef9be4a393dc10081091ba3f56a10e9.tar.bz2
ice-b0076e702ef9be4a393dc10081091ba3f56a10e9.tar.xz
ice-b0076e702ef9be4a393dc10081091ba3f56a10e9.zip
Added support for allocatable objects
Diffstat (limited to 'java/src/IceGridGUI/Application/Adapter.java')
-rwxr-xr-xjava/src/IceGridGUI/Application/Adapter.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/java/src/IceGridGUI/Application/Adapter.java b/java/src/IceGridGUI/Application/Adapter.java
index a3ef527f8f9..ca5d8512a6a 100755
--- a/java/src/IceGridGUI/Application/Adapter.java
+++ b/java/src/IceGridGUI/Application/Adapter.java
@@ -164,7 +164,9 @@ class Adapter extends TreeNode implements DescriptorHolder
attributes.add(createAttribute("wait-for-activation", "false"));
}
- if(_descriptor.description.length() == 0 && _descriptor.objects.isEmpty())
+ if(_descriptor.description.length() == 0
+ && _descriptor.objects.isEmpty()
+ && _descriptor.allocatables.isEmpty())
{
writer.writeElement("adapter", attributes);
}
@@ -176,7 +178,8 @@ class Adapter extends TreeNode implements DescriptorHolder
{
writer.writeElement("description", _descriptor.description);
}
- writeObjects(writer, _descriptor.objects);
+ writeObjects("object", writer, _descriptor.objects);
+ writeObjects("allocatable", writer, _descriptor.allocatables);
writer.writeEndTag("adapter");
}
}