Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpnehrer2005-02-02 04:04:37 +0000
committerpnehrer2005-02-02 04:04:37 +0000
commitd0e526d0a290ffe675460974a2a7c10950e359d9 (patch)
tree17b5645e4335e24b20e4bb69a1cff2d382aa4092 /examples/bundles/org.eclipse.ecf.example.sdo.editor
parent2b4f099bd5b692101e6818bb4a68c9963c16f9c6 (diff)
downloadorg.eclipse.ecf-d0e526d0a290ffe675460974a2a7c10950e359d9.tar.gz
org.eclipse.ecf-d0e526d0a290ffe675460974a2a7c10950e359d9.tar.xz
org.eclipse.ecf-d0e526d0a290ffe675460974a2a7c10950e359d9.zip
Added debug event spy.
Diffstat (limited to 'examples/bundles/org.eclipse.ecf.example.sdo.editor')
-rw-r--r--examples/bundles/org.eclipse.ecf.example.sdo.editor/src/org/eclipse/ecf/example/sdo/editor/EditorPlugin.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/bundles/org.eclipse.ecf.example.sdo.editor/src/org/eclipse/ecf/example/sdo/editor/EditorPlugin.java b/examples/bundles/org.eclipse.ecf.example.sdo.editor/src/org/eclipse/ecf/example/sdo/editor/EditorPlugin.java
index 2cfaf2781..fb4aa381b 100644
--- a/examples/bundles/org.eclipse.ecf.example.sdo.editor/src/org/eclipse/ecf/example/sdo/editor/EditorPlugin.java
+++ b/examples/bundles/org.eclipse.ecf.example.sdo.editor/src/org/eclipse/ecf/example/sdo/editor/EditorPlugin.java
@@ -24,6 +24,7 @@ import org.eclipse.ecf.sdo.ISubscriptionCallback;
import org.eclipse.ecf.sdo.IUpdateConsumer;
import org.eclipse.ecf.sdo.SDOPlugin;
import org.eclipse.ecf.sdo.emf.EMFUpdateProvider;
+import org.eclipse.ecf.test.EventSpy;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.osgi.framework.BundleContext;
@@ -131,7 +132,7 @@ public class EditorPlugin extends AbstractUIPlugin {
initialize();
return tracker.isPublished(path);
}
-
+
public synchronized void checkConnected() throws ECFException {
initialize();
}
@@ -154,6 +155,9 @@ public class EditorPlugin extends AbstractUIPlugin {
IDFactory.makeStringID(PublishedGraphTracker.class
.getName()), tracker, null, null);
this.tracker = tracker;
+ container.getSharedObjectManager()
+ .addSharedObject(IDFactory.makeStringID("debug"),
+ new EventSpy(), null, null);
}
}
} \ No newline at end of file

Back to the top