Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2006-01-03 04:39:07 +0000
committerslewis2006-01-03 04:39:07 +0000
commit0d00787f0d8de19464aaac7bc951d9817fd7c518 (patch)
tree9b0f0f3ac17c993cd463def4a92e52a6149dedd9 /examples/bundles/org.eclipse.ecf.example.sdo.editor
parent98e09eacc4650e6086e1e690b0932cf84267291a (diff)
downloadorg.eclipse.ecf-0d00787f0d8de19464aaac7bc951d9817fd7c518.tar.gz
org.eclipse.ecf-0d00787f0d8de19464aaac7bc951d9817fd7c518.tar.xz
org.eclipse.ecf-0d00787f0d8de19464aaac7bc951d9817fd7c518.zip
Changed 'make' factory methods (e.g. IDFactory.getDefault().makeID) to 'create' methods (e.g. IDFactory.getDefault().createID().
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 ffd370938..85f0e9dc8 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
@@ -115,7 +115,7 @@ public class EditorPlugin extends AbstractUIPlugin {
.getWorkspace().getRoot().getProject(p.segment(0)));
PublishedGraphTracker tracker = getTracker(container);
- ID id = IDFactory.getDefault().makeStringID(path);
+ ID id = IDFactory.getDefault().createStringID(path);
WaitableSubscriptionCallback mutex = new WaitableSubscriptionCallback();
ISharedDataGraph result = DataGraphSharingFactory.getDataGraphSharing(
container, "default").subscribe(id, new EMFUpdateProvider(),
@@ -141,7 +141,7 @@ public class EditorPlugin extends AbstractUIPlugin {
.getWorkspace().getRoot().getProject(p.segment(0)));
PublishedGraphTracker tracker = getTracker(container);
- ID id = IDFactory.getDefault().makeStringID(path);
+ ID id = IDFactory.getDefault().createStringID(path);
WaitablePublicationCallback mutex = new WaitablePublicationCallback();
ISharedDataGraph result = DataGraphSharingFactory.getDataGraphSharing(
container, "default").publish(dataGraph, id,
@@ -162,7 +162,7 @@ public class EditorPlugin extends AbstractUIPlugin {
ISharedObjectContainer container = getContainer(ResourcesPlugin
.getWorkspace().getRoot().getProject(p.segment(0)));
PublishedGraphTracker tracker = getTracker(container);
- return tracker.isPublished(IDFactory.getDefault().makeStringID(path));
+ return tracker.isPublished(IDFactory.getDefault().createStringID(path));
}
public synchronized void checkConnected(IProject project)
@@ -179,7 +179,7 @@ public class EditorPlugin extends AbstractUIPlugin {
private PublishedGraphTracker getTracker(ISharedObjectContainer container)
throws ECFException {
- ID id = IDFactory.getDefault().makeStringID(PublishedGraphTracker.class.getName());
+ ID id = IDFactory.getDefault().createStringID(PublishedGraphTracker.class.getName());
PublishedGraphTracker tracker = (PublishedGraphTracker) container
.getSharedObjectManager().getSharedObject(id);
if (tracker == null) {

Back to the top