Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2005-07-09 22:29:23 +0000
committerslewis2005-07-09 22:29:23 +0000
commit56c126fd31ff11429cf1db096ae3088d5767973d (patch)
treedcc3f3ad69943919ac055ee156ac0c1049f3adee /examples/bundles/org.eclipse.ecf.example.sdo.editor
parent3c98e7b038bba2bbe5f8886fc12e340fd32cf655 (diff)
downloadorg.eclipse.ecf-56c126fd31ff11429cf1db096ae3088d5767973d.tar.gz
org.eclipse.ecf-56c126fd31ff11429cf1db096ae3088d5767973d.tar.xz
org.eclipse.ecf-56c126fd31ff11429cf1db096ae3088d5767973d.zip
Changed IDFactory.makeID() API to be: IDFactory.getDefault().makeID(). Updated all client code. Added IIDFactory interface. Changed IDFactory.getDefault() to return IIDFactory. Changed SharedObjectContainerFactory.getDefault() to return ISharedObjectContainerFactory.
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.java8
1 files changed, 4 insertions, 4 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 6f6601e6b..a7889467a 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
@@ -117,7 +117,7 @@ public class EditorPlugin extends AbstractUIPlugin {
.getWorkspace().getRoot().getProject(p.segment(0)));
PublishedGraphTracker tracker = getTracker(container);
- ID id = IDFactory.makeStringID(path);
+ ID id = IDFactory.getDefault().makeStringID(path);
WaitableSubscriptionCallback mutex = new WaitableSubscriptionCallback();
ISharedDataGraph result = DataGraphSharingFactory.getDataGraphSharing(
container, "default").subscribe(id, new EMFUpdateProvider(),
@@ -143,7 +143,7 @@ public class EditorPlugin extends AbstractUIPlugin {
.getWorkspace().getRoot().getProject(p.segment(0)));
PublishedGraphTracker tracker = getTracker(container);
- ID id = IDFactory.makeStringID(path);
+ ID id = IDFactory.getDefault().makeStringID(path);
WaitablePublicationCallback mutex = new WaitablePublicationCallback();
ISharedDataGraph result = DataGraphSharingFactory.getDataGraphSharing(
container, "default").publish(dataGraph, id,
@@ -164,7 +164,7 @@ public class EditorPlugin extends AbstractUIPlugin {
ISharedObjectContainer container = getContainer(ResourcesPlugin
.getWorkspace().getRoot().getProject(p.segment(0)));
PublishedGraphTracker tracker = getTracker(container);
- return tracker.isPublished(IDFactory.makeStringID(path));
+ return tracker.isPublished(IDFactory.getDefault().makeStringID(path));
}
public synchronized void checkConnected(IProject project)
@@ -181,7 +181,7 @@ public class EditorPlugin extends AbstractUIPlugin {
private PublishedGraphTracker getTracker(ISharedObjectContainer container)
throws ECFException {
- ID id = IDFactory.makeStringID(PublishedGraphTracker.class.getName());
+ ID id = IDFactory.getDefault().makeStringID(PublishedGraphTracker.class.getName());
PublishedGraphTracker tracker = (PublishedGraphTracker) container
.getSharedObjectManager().getSharedObject(id);
if (tracker == null) {

Back to the top