Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2006-01-13 08:57:53 +0000
committerslewis2006-01-13 08:57:53 +0000
commit4dc48907bccc0ad6b86b9086a16cee45e28e8d51 (patch)
tree2269a1c147ad2ff7f6af6606a184e927a664be22 /examples/bundles/org.eclipse.ecf.example.sdo.editor
parent1363281b99661fcf8b219355cf2f7c09ce01cac7 (diff)
downloadorg.eclipse.ecf-4dc48907bccc0ad6b86b9086a16cee45e28e8d51.tar.gz
org.eclipse.ecf-4dc48907bccc0ad6b86b9086a16cee45e28e8d51.tar.xz
org.eclipse.ecf-4dc48907bccc0ad6b86b9086a16cee45e28e8d51.zip
Added RemoteSharedObjectDescription subclass of SharedObjectDescription. Updated implementations to deal with SharedObjectDescription or RemoteSharedObjectDescription
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/PublishedGraphTracker.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/examples/bundles/org.eclipse.ecf.example.sdo.editor/src/org/eclipse/ecf/example/sdo/editor/PublishedGraphTracker.java b/examples/bundles/org.eclipse.ecf.example.sdo.editor/src/org/eclipse/ecf/example/sdo/editor/PublishedGraphTracker.java
index dd74133da..2978c7a9e 100644
--- a/examples/bundles/org.eclipse.ecf.example.sdo.editor/src/org/eclipse/ecf/example/sdo/editor/PublishedGraphTracker.java
+++ b/examples/bundles/org.eclipse.ecf.example.sdo.editor/src/org/eclipse/ecf/example/sdo/editor/PublishedGraphTracker.java
@@ -16,15 +16,14 @@ import java.util.HashSet;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.Map;
-
import org.eclipse.ecf.core.ISharedObject;
import org.eclipse.ecf.core.ISharedObjectConfig;
import org.eclipse.ecf.core.ISharedObjectContext;
-import org.eclipse.ecf.core.SharedObjectDescription;
+import org.eclipse.ecf.core.RemoteSharedObjectDescription;
import org.eclipse.ecf.core.SharedObjectInitException;
-import org.eclipse.ecf.core.events.ISharedObjectActivatedEvent;
-import org.eclipse.ecf.core.events.IContainerDisconnectedEvent;
import org.eclipse.ecf.core.events.IContainerConnectedEvent;
+import org.eclipse.ecf.core.events.IContainerDisconnectedEvent;
+import org.eclipse.ecf.core.events.ISharedObjectActivatedEvent;
import org.eclipse.ecf.core.events.ISharedObjectDeactivatedEvent;
import org.eclipse.ecf.core.events.ISharedObjectMessageEvent;
import org.eclipse.ecf.core.identity.ID;
@@ -307,7 +306,7 @@ public class PublishedGraphTracker implements ISharedObject {
try {
getContext().sendCreate(
null,
- new SharedObjectDescription(config.getSharedObjectID(),
+ new RemoteSharedObjectDescription(config.getSharedObjectID(),
getClass()));
} catch (IOException e) {
// TODO Auto-generated catch block
@@ -322,7 +321,7 @@ public class PublishedGraphTracker implements ISharedObject {
try {
getContext().sendCreate(
containerID,
- new SharedObjectDescription(config.getSharedObjectID(),
+ new RemoteSharedObjectDescription(config.getSharedObjectID(),
getClass(), props));
} catch (IOException ex) {
// TODO Auto-generated catch block

Back to the top