Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGoulwen Le Fur2015-01-08 14:26:35 +0000
committerGoulwen Le Fur2015-01-08 14:26:35 +0000
commit154b2cffd0bf5b1a83902a5f34fbe949bb1be04d (patch)
treeabff156b72f3fecee9b71a63f19d9a53ed8af987
parent3e689292fa6d21c235dc5a65d57083ea5350c092 (diff)
downloadorg.eclipse.eef-154b2cffd0bf5b1a83902a5f34fbe949bb1be04d.tar.gz
org.eclipse.eef-154b2cffd0bf5b1a83902a5f34fbe949bb1be04d.tar.xz
org.eclipse.eef-154b2cffd0bf5b1a83902a5f34fbe949bb1be04d.zip
ADDED: SimplestSemanticAdapter class for Sirius bridge compatibility
-rw-r--r--plugins/org.eclipse.emf.eef.runtime/META-INF/MANIFEST.MF1
-rw-r--r--plugins/org.eclipse.emf.eef.runtime/src/org/eclipse/emf/eef/runtime/ui/adapters/SimplestSemanticAdapter.java37
2 files changed, 38 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.eef.runtime/META-INF/MANIFEST.MF b/plugins/org.eclipse.emf.eef.runtime/META-INF/MANIFEST.MF
index f65a5b787..f3c87da87 100644
--- a/plugins/org.eclipse.emf.eef.runtime/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.emf.eef.runtime/META-INF/MANIFEST.MF
@@ -46,6 +46,7 @@ Export-Package: org.eclipse.emf.eef.runtime,
org.eclipse.emf.eef.runtime.providers,
org.eclipse.emf.eef.runtime.providers.impl,
org.eclipse.emf.eef.runtime.ui,
+ org.eclipse.emf.eef.runtime.ui.adapters,
org.eclipse.emf.eef.runtime.ui.comparator,
org.eclipse.emf.eef.runtime.ui.notify,
org.eclipse.emf.eef.runtime.ui.parts,
diff --git a/plugins/org.eclipse.emf.eef.runtime/src/org/eclipse/emf/eef/runtime/ui/adapters/SimplestSemanticAdapter.java b/plugins/org.eclipse.emf.eef.runtime/src/org/eclipse/emf/eef/runtime/ui/adapters/SimplestSemanticAdapter.java
new file mode 100644
index 000000000..69bbd99df
--- /dev/null
+++ b/plugins/org.eclipse.emf.eef.runtime/src/org/eclipse/emf/eef/runtime/ui/adapters/SimplestSemanticAdapter.java
@@ -0,0 +1,37 @@
+/*******************************************************************************
+ * Copyright (c) 2015 Obeo.
+ * 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:
+ * Obeo - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.eef.runtime.ui.adapters;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.eef.runtime.api.adapters.SemanticAdapter;
+
+/**
+ * @author <a href="mailto:nathalie.lepine@obeo.fr">Nathalie Lepine</a>
+ *
+ */
+public final class SimplestSemanticAdapter implements SemanticAdapter {
+
+ private EObject target;
+
+ public SimplestSemanticAdapter(EObject target) {
+ super();
+ this.target = target;
+ }
+
+ /**
+ * {@inheritDoc}
+ * @see org.eclipse.emf.eef.runtime.api.adapters.SemanticAdapter#getEObject()
+ */
+ public EObject getEObject() {
+ return target;
+ }
+
+} \ No newline at end of file

Back to the top