Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpnehrer2005-02-19 23:43:52 -0500
committerpnehrer2005-02-19 23:43:52 -0500
commitdb5c7032e1c3913d67f0520fc887e7c0067516a8 (patch)
tree2f6987cb4f0a6efd4b4973b7cf1d113f1d06eb42 /examples/bundles/org.eclipse.ecf.sdo/src/org
parentfc03720bb3eb5baf97c87b53e2b3dc13595267e2 (diff)
downloadorg.eclipse.ecf-db5c7032e1c3913d67f0520fc887e7c0067516a8.tar.gz
org.eclipse.ecf-db5c7032e1c3913d67f0520fc887e7c0067516a8.tar.xz
org.eclipse.ecf-db5c7032e1c3913d67f0520fc887e7c0067516a8.zip
Removed dependency on Platform.
Diffstat (limited to 'examples/bundles/org.eclipse.ecf.sdo/src/org')
-rw-r--r--examples/bundles/org.eclipse.ecf.sdo/src/org/eclipse/ecf/internal/sdo/DataGraphSharing.java10
-rw-r--r--examples/bundles/org.eclipse.ecf.sdo/src/org/eclipse/ecf/internal/sdo/SharedDataGraph.java10
2 files changed, 16 insertions, 4 deletions
diff --git a/examples/bundles/org.eclipse.ecf.sdo/src/org/eclipse/ecf/internal/sdo/DataGraphSharing.java b/examples/bundles/org.eclipse.ecf.sdo/src/org/eclipse/ecf/internal/sdo/DataGraphSharing.java
index 266b75650..3cb8412d0 100644
--- a/examples/bundles/org.eclipse.ecf.sdo/src/org/eclipse/ecf/internal/sdo/DataGraphSharing.java
+++ b/examples/bundles/org.eclipse.ecf.sdo/src/org/eclipse/ecf/internal/sdo/DataGraphSharing.java
@@ -10,7 +10,6 @@
*******************************************************************************/
package org.eclipse.ecf.internal.sdo;
-import org.eclipse.core.runtime.PlatformObject;
import org.eclipse.ecf.core.ISharedObject;
import org.eclipse.ecf.core.ISharedObjectConfig;
import org.eclipse.ecf.core.ISharedObjectManager;
@@ -30,7 +29,7 @@ import commonj.sdo.DataGraph;
/**
* @author pnehrer
*/
-public class DataGraphSharing extends PlatformObject implements
+public class DataGraphSharing implements
IDataGraphSharing, ISharedObject {
static final String DATA_GRAPH_SHARING_ID = DataGraphSharing.class
@@ -155,4 +154,11 @@ public class DataGraphSharing extends PlatformObject implements
.equals(containerID))
config = null;
}
+
+ /* (non-Javadoc)
+ * @see org.eclipse.ecf.core.ISharedObject#getAdapter(java.lang.Class)
+ */
+ public Object getAdapter(Class clazz) {
+ return null;
+ }
} \ No newline at end of file
diff --git a/examples/bundles/org.eclipse.ecf.sdo/src/org/eclipse/ecf/internal/sdo/SharedDataGraph.java b/examples/bundles/org.eclipse.ecf.sdo/src/org/eclipse/ecf/internal/sdo/SharedDataGraph.java
index 870c0ea9b..a3678414f 100644
--- a/examples/bundles/org.eclipse.ecf.sdo/src/org/eclipse/ecf/internal/sdo/SharedDataGraph.java
+++ b/examples/bundles/org.eclipse.ecf.sdo/src/org/eclipse/ecf/internal/sdo/SharedDataGraph.java
@@ -12,7 +12,6 @@ package org.eclipse.ecf.internal.sdo;
import java.io.IOException;
-import org.eclipse.core.runtime.PlatformObject;
import org.eclipse.ecf.core.ISharedObject;
import org.eclipse.ecf.core.ISharedObjectConfig;
import org.eclipse.ecf.core.SharedObjectInitException;
@@ -34,7 +33,7 @@ import commonj.sdo.DataGraph;
/**
* @author pnehrer
*/
-public class SharedDataGraph extends PlatformObject implements ISharedObject,
+public class SharedDataGraph implements ISharedObject,
ISharedDataGraph {
private final IUpdateConsumer updateConsumer;
@@ -290,4 +289,11 @@ public class SharedDataGraph extends PlatformObject implements ISharedObject,
buf.append("version=").append(version).append("]");
return buf.toString();
}
+
+ /* (non-Javadoc)
+ * @see org.eclipse.ecf.core.ISharedObject#getAdapter(java.lang.Class)
+ */
+ public Object getAdapter(Class clazz) {
+ return null;
+ }
} \ No newline at end of file

Back to the top