summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-09-24 07:08:33 (EDT)
committerEike Stepper2007-09-24 07:08:33 (EDT)
commit4ee3d778854783dd777259dcd85f254c66945d2c (patch)
tree3eda29269f0c295fc7413db0d9ffa264128ae036
parentc02e7448f6da62da765407d57347073f9bb6f66a (diff)
downloadcdo-4ee3d778854783dd777259dcd85f254c66945d2c.zip
cdo-4ee3d778854783dd777259dcd85f254c66945d2c.tar.gz
cdo-4ee3d778854783dd777259dcd85f254c66945d2c.tar.bz2
[204408] javacFailOnError=false does not work
https://bugs.eclipse.org/bugs/show_bug.cgi?id=204408
-rw-r--r--plugins/org.eclipse.emf.cdo/.classpath1
-rw-r--r--plugins/org.eclipse.emf.cdo/.cvsignore1
-rw-r--r--plugins/org.eclipse.emf.cdo/mixin/org/eclipse/emf/ecore/impl/CDOAware.java21
-rw-r--r--plugins/org.eclipse.emf.cdo/mixin/org/eclipse/emf/ecore/impl/CDOCallback.java25
4 files changed, 48 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo/.classpath b/plugins/org.eclipse.emf.cdo/.classpath
index 304e861..5b69b37 100644
--- a/plugins/org.eclipse.emf.cdo/.classpath
+++ b/plugins/org.eclipse.emf.cdo/.classpath
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
+ <classpathentry kind="src" output="mixin-bin" path="mixin"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="output" path="bin"/>
diff --git a/plugins/org.eclipse.emf.cdo/.cvsignore b/plugins/org.eclipse.emf.cdo/.cvsignore
index 6ffb221..5298e8d 100644
--- a/plugins/org.eclipse.emf.cdo/.cvsignore
+++ b/plugins/org.eclipse.emf.cdo/.cvsignore
@@ -1,3 +1,4 @@
bin
+mixin-bin
doc
text
diff --git a/plugins/org.eclipse.emf.cdo/mixin/org/eclipse/emf/ecore/impl/CDOAware.java b/plugins/org.eclipse.emf.cdo/mixin/org/eclipse/emf/ecore/impl/CDOAware.java
new file mode 100644
index 0000000..2eb314d
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo/mixin/org/eclipse/emf/ecore/impl/CDOAware.java
@@ -0,0 +1,21 @@
+/***************************************************************************
+ * Copyright (c) 2004 - 2007 Eike Stepper, Germany.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Eike Stepper - initial API and implementation
+ **************************************************************************/
+package org.eclipse.emf.ecore.impl;
+
+/**
+ * @author Eike Stepper
+ */
+public interface CDOAware
+{
+ public CDOCallback getCDOCallback();
+
+ public void setCDOCallback(CDOCallback callback);
+}
diff --git a/plugins/org.eclipse.emf.cdo/mixin/org/eclipse/emf/ecore/impl/CDOCallback.java b/plugins/org.eclipse.emf.cdo/mixin/org/eclipse/emf/ecore/impl/CDOCallback.java
new file mode 100644
index 0000000..1996c27
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo/mixin/org/eclipse/emf/ecore/impl/CDOCallback.java
@@ -0,0 +1,25 @@
+/***************************************************************************
+ * Copyright (c) 2004 - 2007 Eike Stepper, Germany.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Eike Stepper - initial API and implementation
+ **************************************************************************/
+package org.eclipse.emf.ecore.impl;
+
+// import org.eclipse.emf.ecore.resource.Resource;
+
+/**
+ * @author Eike Stepper
+ */
+public interface CDOCallback
+{
+ public void beforeRead(EObjectImpl eObject);
+
+ public void beforeWrite(EObjectImpl eObject);
+
+ // public Resource callbackResource(BasicEObjectImpl eObject);
+}