- /** Wraps the execution modules of an agent. */
- static class AgentNodesWrapper extends NodesWrapper {
-
- public AgentNodesWrapper(Node node) {
- super(node);
- }
-
- protected List<WrappedNode> getWrappedNodes()
- throws RepositoryException {
- List<WrappedNode> children = new ArrayList<WrappedNode>();
- Node executionModules = getNode().getNode(
- SlcNames.SLC_EXECUTION_MODULES);
- for (NodeIterator nit = executionModules.getNodes(); nit.hasNext();) {
- for (NodeIterator nitVersions = nit.nextNode().getNodes(); nitVersions
- .hasNext();) {
- children.add(new WrappedNode(this, nitVersions.nextNode()));
- }
- }
- return children;
- }
-
- }
-
- class VmAgentObserver implements EventListener {
-
- public void onEvent(EventIterator events) {
+// /** Wraps the execution modules of an agent. */
+// static class AgentNodesWrapper extends NodesWrapper {
+//
+// public AgentNodesWrapper(Node node) {
+// super(node);
+// }
+//
+// protected List<WrappedNode> getWrappedNodes()
+// throws RepositoryException {
+// List<WrappedNode> children = new ArrayList<WrappedNode>();
+// Node executionModules = getNode();
+// for (NodeIterator nit = executionModules.getNodes(); nit.hasNext();) {
+// for (NodeIterator nitVersions = nit.nextNode().getNodes(); nitVersions
+// .hasNext();) {
+// children.add(new WrappedNode(this, nitVersions.nextNode()));
+// }
+// }
+// return children;
+// }
+//
+// }
+
+ class VmAgentObserver extends AsyncUiEventListener {
+ protected void onEventInUiThread(EventIterator events) {