Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptessier2014-02-21 09:55:37 +0000
committerptessier2014-02-21 09:55:37 +0000
commitfaed100368408a1361f1f9068eaa782d03a134c3 (patch)
tree07e2146d7b111b31085c6ae2e7d3b6c90c7d229a /plugins/facet/org.eclipse.papyrus.emf.facet.efacet/src/org/eclipse/papyrus/emf/facet/efacet/QueryContext.java
parent0db84936d49980e0db1c87c9321408b898591ada (diff)
downloadorg.eclipse.papyrus-faed100368408a1361f1f9068eaa782d03a134c3.tar.gz
org.eclipse.papyrus-faed100368408a1361f1f9068eaa782d03a134c3.tar.xz
org.eclipse.papyrus-faed100368408a1361f1f9068eaa782d03a134c3.zip
Bug 386118 - [EMF Facet] Papyrus should progressively support EMF Facet
0.2 change the name of each imported packages
Diffstat (limited to 'plugins/facet/org.eclipse.papyrus.emf.facet.efacet/src/org/eclipse/papyrus/emf/facet/efacet/QueryContext.java')
-rw-r--r--plugins/facet/org.eclipse.papyrus.emf.facet.efacet/src/org/eclipse/papyrus/emf/facet/efacet/QueryContext.java83
1 files changed, 83 insertions, 0 deletions
diff --git a/plugins/facet/org.eclipse.papyrus.emf.facet.efacet/src/org/eclipse/papyrus/emf/facet/efacet/QueryContext.java b/plugins/facet/org.eclipse.papyrus.emf.facet.efacet/src/org/eclipse/papyrus/emf/facet/efacet/QueryContext.java
new file mode 100644
index 00000000000..6042d4ec869
--- /dev/null
+++ b/plugins/facet/org.eclipse.papyrus.emf.facet.efacet/src/org/eclipse/papyrus/emf/facet/efacet/QueryContext.java
@@ -0,0 +1,83 @@
+/**
+ * Copyright (c) 2011 Mia-Software.
+ *
+ * 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:
+ * Gregoire Dupe (Mia-Software) - Design
+ * Nicolas Guyomar (Mia-Software) - Implementation
+ *
+ */
+package org.eclipse.emf.facet.efacet;
+
+import org.eclipse.emf.common.util.EList;
+
+import org.eclipse.emf.ecore.EObject;
+
+import org.eclipse.emf.ecore.resource.Resource;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>Query Context</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * This is a class used to evaluate a query on every given model element.
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.emf.facet.efacet.QueryContext#getSelectedModelElements <em>Selected Model Elements</em>}</li>
+ * <li>{@link org.eclipse.emf.facet.efacet.QueryContext#getSelectedModels <em>Selected Models</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.emf.facet.efacet.EFacetPackage#getQueryContext()
+ * @model
+ * @generated
+ * @deprecated use the new eFacet metamodel in org.eclipse.emf.facet.efacet.metamodel. Cf.
+ * https://bugs.eclipse.org/bugs/show_bug.cgi?id=373672
+ */
+@Deprecated
+public interface QueryContext extends EObject {
+ /**
+ * Returns the value of the '<em><b>Selected Model Elements</b></em>' reference list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.EObject}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Selected Model Elements</em>' reference list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Selected Model Elements</em>' reference list.
+ * @see org.eclipse.emf.facet.efacet.EFacetPackage#getQueryContext_SelectedModelElements()
+ * @model
+ * @generated
+ * @deprecated use the new eFacet2 metamodel in org.eclipse.emf.facet.efacet2.metamodel
+ */
+ @Deprecated
+ EList<EObject> getSelectedModelElements();
+
+ /**
+ * Returns the value of the '<em><b>Selected Models</b></em>' attribute list.
+ * The list contents are of type {@link org.eclipse.emf.ecore.resource.Resource}.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Selected Models</em>' attribute list isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Selected Models</em>' attribute list.
+ * @see org.eclipse.emf.facet.efacet.EFacetPackage#getQueryContext_SelectedModels()
+ * @model transient="true"
+ * @generated
+ * @deprecated use the new eFacet2 metamodel in org.eclipse.emf.facet.efacet2.metamodel
+ */
+ @Deprecated
+ EList<Resource> getSelectedModels();
+
+} // QueryContext

Back to the top