Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Willink2018-05-13 04:26:59 -0400
committerEd Willink2018-05-13 04:26:59 -0400
commita7234d08fbcaca7cec11bb263418036e95248a73 (patch)
tree62b2610c95f4d73d6e437b7b9f08bb16c0714853
parent5844fbd4d02000216a4fafeccef91e0b02e09fb4 (diff)
downloadorg.eclipse.qvtd-a7234d08fbcaca7cec11bb263418036e95248a73.tar.gz
org.eclipse.qvtd-a7234d08fbcaca7cec11bb263418036e95248a73.tar.xz
org.eclipse.qvtd-a7234d08fbcaca7cec11bb263418036e95248a73.zip
[396543] Add http://www.eclipse.org/qvt/2018/PostProcess EAnnotation
-rw-r--r--plugins/org.eclipse.qvtd.text/emf-gen/org/eclipse/qvtd/text/TextModelPackage.java1
-rw-r--r--plugins/org.eclipse.qvtd.text/emf-gen/org/eclipse/qvtd/text/impl/TextModelPackageImpl.java21
-rw-r--r--plugins/org.eclipse.qvtd.text/emf-gen/org/eclipse/qvtd/text/util/TextModelAdapterFactory.java5
-rw-r--r--plugins/org.eclipse.qvtd.text/emf-gen/org/eclipse/qvtd/text/util/TextModelSwitch.java3
-rw-r--r--plugins/org.eclipse.qvtd.text/model/TextModel.ecore4
-rw-r--r--plugins/org.eclipse.qvtd.xml/emf-gen/org/eclipse/qvtd/xml/XMLmodelPackage.java1
-rw-r--r--plugins/org.eclipse.qvtd.xml/emf-gen/org/eclipse/qvtd/xml/impl/XMLmodelPackageImpl.java21
-rw-r--r--plugins/org.eclipse.qvtd.xml/emf-gen/org/eclipse/qvtd/xml/util/XMLmodelAdapterFactory.java5
-rw-r--r--plugins/org.eclipse.qvtd.xml/emf-gen/org/eclipse/qvtd/xml/util/XMLmodelSwitch.java3
-rw-r--r--plugins/org.eclipse.qvtd.xml/model/XMLmodel.ecore9
10 files changed, 67 insertions, 6 deletions
diff --git a/plugins/org.eclipse.qvtd.text/emf-gen/org/eclipse/qvtd/text/TextModelPackage.java b/plugins/org.eclipse.qvtd.text/emf-gen/org/eclipse/qvtd/text/TextModelPackage.java
index 15553d73c..bedd2bd4a 100644
--- a/plugins/org.eclipse.qvtd.text/emf-gen/org/eclipse/qvtd/text/TextModelPackage.java
+++ b/plugins/org.eclipse.qvtd.text/emf-gen/org/eclipse/qvtd/text/TextModelPackage.java
@@ -33,6 +33,7 @@ import org.eclipse.emf.ecore.EReference;
* <!-- end-user-doc -->
* @see org.eclipse.qvtd.text.TextModelFactory
* @model kind="package"
+ * annotation="http://www.eclipse.org/qvt/2018/PostProcess raw='org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl' processed='org.eclipse.qvtd.text.utilities.TextModelResourceFactoryImpl'"
* @generated
*/
public interface TextModelPackage extends EPackage {
diff --git a/plugins/org.eclipse.qvtd.text/emf-gen/org/eclipse/qvtd/text/impl/TextModelPackageImpl.java b/plugins/org.eclipse.qvtd.text/emf-gen/org/eclipse/qvtd/text/impl/TextModelPackageImpl.java
index 65d3a0476..c27554d73 100644
--- a/plugins/org.eclipse.qvtd.text/emf-gen/org/eclipse/qvtd/text/impl/TextModelPackageImpl.java
+++ b/plugins/org.eclipse.qvtd.text/emf-gen/org/eclipse/qvtd/text/impl/TextModelPackageImpl.java
@@ -273,6 +273,27 @@ public class TextModelPackageImpl extends EPackageImpl implements TextModelPacka
// Create resource
createResource(eNS_URI);
+
+ // Create annotations
+ // http://www.eclipse.org/qvt/2018/PostProcess
+ createPostProcessAnnotations();
+ }
+
+ /**
+ * Initializes the annotations for <b>http://www.eclipse.org/qvt/2018/PostProcess</b>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void createPostProcessAnnotations() {
+ String source = "http://www.eclipse.org/qvt/2018/PostProcess";
+ addAnnotation
+ (this,
+ source,
+ new String[] {
+ "raw", "org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl",
+ "processed", "org.eclipse.qvtd.text.utilities.TextModelResourceFactoryImpl"
+ });
}
} //TextModelPackageImpl
diff --git a/plugins/org.eclipse.qvtd.text/emf-gen/org/eclipse/qvtd/text/util/TextModelAdapterFactory.java b/plugins/org.eclipse.qvtd.text/emf-gen/org/eclipse/qvtd/text/util/TextModelAdapterFactory.java
index c99105db1..e67cb4edf 100644
--- a/plugins/org.eclipse.qvtd.text/emf-gen/org/eclipse/qvtd/text/util/TextModelAdapterFactory.java
+++ b/plugins/org.eclipse.qvtd.text/emf-gen/org/eclipse/qvtd/text/util/TextModelAdapterFactory.java
@@ -21,6 +21,7 @@ import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
import org.eclipse.emf.ecore.EObject;
+import org.eclipse.jdt.annotation.Nullable;
import org.eclipse.qvtd.text.*;
/**
@@ -77,8 +78,8 @@ public class TextModelAdapterFactory extends AdapterFactoryImpl {
* <!-- end-user-doc -->
* @generated
*/
- protected TextModelSwitch<Adapter> modelSwitch =
- new TextModelSwitch<Adapter>() {
+ protected TextModelSwitch<@Nullable Adapter> modelSwitch =
+ new TextModelSwitch<@Nullable Adapter>() {
@Override
public Adapter caseStringNode(StringNode object) {
return createStringNodeAdapter();
diff --git a/plugins/org.eclipse.qvtd.text/emf-gen/org/eclipse/qvtd/text/util/TextModelSwitch.java b/plugins/org.eclipse.qvtd.text/emf-gen/org/eclipse/qvtd/text/util/TextModelSwitch.java
index fa2f6ca2c..3e381f808 100644
--- a/plugins/org.eclipse.qvtd.text/emf-gen/org/eclipse/qvtd/text/util/TextModelSwitch.java
+++ b/plugins/org.eclipse.qvtd.text/emf-gen/org/eclipse/qvtd/text/util/TextModelSwitch.java
@@ -19,6 +19,7 @@ import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.util.Switch;
+import org.eclipse.jdt.annotation.Nullable;
import org.eclipse.qvtd.text.*;
/**
@@ -34,7 +35,7 @@ import org.eclipse.qvtd.text.*;
* @see org.eclipse.qvtd.text.TextModelPackage
* @generated
*/
-public class TextModelSwitch<T> extends Switch<T> {
+public class TextModelSwitch<@Nullable T> extends Switch<T> {
/**
* The cached model package
* <!-- begin-user-doc -->
diff --git a/plugins/org.eclipse.qvtd.text/model/TextModel.ecore b/plugins/org.eclipse.qvtd.text/model/TextModel.ecore
index 78da40639..3d9d170d7 100644
--- a/plugins/org.eclipse.qvtd.text/model/TextModel.ecore
+++ b/plugins/org.eclipse.qvtd.text/model/TextModel.ecore
@@ -1,6 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<ecore:EPackage xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" name="text" nsURI="http://www.eclipse.org/qvt/2018/TextModel" nsPrefix="text">
+ <eAnnotations source="http://www.eclipse.org/qvt/2018/PostProcess">
+ <details key="raw" value="org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl"/>
+ <details key="processed" value="org.eclipse.qvtd.text.utilities.TextModelResourceFactoryImpl"/>
+ </eAnnotations>
<eClassifiers xsi:type="ecore:EClass" name="StringNode">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
<details key="documentation" value="A tree of StringNodes provides a hierarchical text structure with an optional cumulative indent, prefix, separator and suffix for child nodes between text and endText contributions."/>
diff --git a/plugins/org.eclipse.qvtd.xml/emf-gen/org/eclipse/qvtd/xml/XMLmodelPackage.java b/plugins/org.eclipse.qvtd.xml/emf-gen/org/eclipse/qvtd/xml/XMLmodelPackage.java
index 4bdf5718c..1f9a5bcf9 100644
--- a/plugins/org.eclipse.qvtd.xml/emf-gen/org/eclipse/qvtd/xml/XMLmodelPackage.java
+++ b/plugins/org.eclipse.qvtd.xml/emf-gen/org/eclipse/qvtd/xml/XMLmodelPackage.java
@@ -33,6 +33,7 @@ import org.eclipse.emf.ecore.EReference;
* <!-- end-user-doc -->
* @see org.eclipse.qvtd.xml.XMLmodelFactory
* @model kind="package"
+ * annotation="http://www.eclipse.org/qvt/2018/PostProcess raw='org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl' processed='org.eclipse.qvtd.xml.utilities.XMLmodelResourceFactoryImpl'"
* @generated
*/
public interface XMLmodelPackage extends EPackage {
diff --git a/plugins/org.eclipse.qvtd.xml/emf-gen/org/eclipse/qvtd/xml/impl/XMLmodelPackageImpl.java b/plugins/org.eclipse.qvtd.xml/emf-gen/org/eclipse/qvtd/xml/impl/XMLmodelPackageImpl.java
index 1ad9bfe42..28e0837c1 100644
--- a/plugins/org.eclipse.qvtd.xml/emf-gen/org/eclipse/qvtd/xml/impl/XMLmodelPackageImpl.java
+++ b/plugins/org.eclipse.qvtd.xml/emf-gen/org/eclipse/qvtd/xml/impl/XMLmodelPackageImpl.java
@@ -568,6 +568,27 @@ public class XMLmodelPackageImpl extends EPackageImpl implements XMLmodelPackage
// Create resource
createResource(eNS_URI);
+
+ // Create annotations
+ // http://www.eclipse.org/qvt/2018/PostProcess
+ createPostProcessAnnotations();
+ }
+
+ /**
+ * Initializes the annotations for <b>http://www.eclipse.org/qvt/2018/PostProcess</b>.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void createPostProcessAnnotations() {
+ String source = "http://www.eclipse.org/qvt/2018/PostProcess";
+ addAnnotation
+ (this,
+ source,
+ new String[] {
+ "raw", "org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl",
+ "processed", "org.eclipse.qvtd.xml.utilities.XMLmodelResourceFactoryImpl"
+ });
}
} //XMLmodelPackageImpl
diff --git a/plugins/org.eclipse.qvtd.xml/emf-gen/org/eclipse/qvtd/xml/util/XMLmodelAdapterFactory.java b/plugins/org.eclipse.qvtd.xml/emf-gen/org/eclipse/qvtd/xml/util/XMLmodelAdapterFactory.java
index 5e76d4e38..017d033f6 100644
--- a/plugins/org.eclipse.qvtd.xml/emf-gen/org/eclipse/qvtd/xml/util/XMLmodelAdapterFactory.java
+++ b/plugins/org.eclipse.qvtd.xml/emf-gen/org/eclipse/qvtd/xml/util/XMLmodelAdapterFactory.java
@@ -21,6 +21,7 @@ import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl;
import org.eclipse.emf.ecore.EObject;
+import org.eclipse.jdt.annotation.Nullable;
import org.eclipse.qvtd.xml.*;
/**
@@ -77,8 +78,8 @@ public class XMLmodelAdapterFactory extends AdapterFactoryImpl {
* <!-- end-user-doc -->
* @generated
*/
- protected XMLmodelSwitch<Adapter> modelSwitch =
- new XMLmodelSwitch<Adapter>() {
+ protected XMLmodelSwitch<@Nullable Adapter> modelSwitch =
+ new XMLmodelSwitch<@Nullable Adapter>() {
@Override
public Adapter caseAttribute(Attribute object) {
return createAttributeAdapter();
diff --git a/plugins/org.eclipse.qvtd.xml/emf-gen/org/eclipse/qvtd/xml/util/XMLmodelSwitch.java b/plugins/org.eclipse.qvtd.xml/emf-gen/org/eclipse/qvtd/xml/util/XMLmodelSwitch.java
index ae435ca86..acaf8b02b 100644
--- a/plugins/org.eclipse.qvtd.xml/emf-gen/org/eclipse/qvtd/xml/util/XMLmodelSwitch.java
+++ b/plugins/org.eclipse.qvtd.xml/emf-gen/org/eclipse/qvtd/xml/util/XMLmodelSwitch.java
@@ -19,6 +19,7 @@ import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.util.Switch;
+import org.eclipse.jdt.annotation.Nullable;
import org.eclipse.qvtd.xml.*;
/**
@@ -34,7 +35,7 @@ import org.eclipse.qvtd.xml.*;
* @see org.eclipse.qvtd.xml.XMLmodelPackage
* @generated
*/
-public class XMLmodelSwitch<T> extends Switch<T> {
+public class XMLmodelSwitch<@Nullable T> extends Switch<T> {
/**
* The cached model package
* <!-- begin-user-doc -->
diff --git a/plugins/org.eclipse.qvtd.xml/model/XMLmodel.ecore b/plugins/org.eclipse.qvtd.xml/model/XMLmodel.ecore
index ec939eaf1..ea68aa36b 100644
--- a/plugins/org.eclipse.qvtd.xml/model/XMLmodel.ecore
+++ b/plugins/org.eclipse.qvtd.xml/model/XMLmodel.ecore
@@ -7,6 +7,15 @@
name="xml"
nsURI="http://www.eclipse.org/qvt/2018/XML"
nsPrefix="sax">
+ <eAnnotations
+ source="http://www.eclipse.org/qvt/2018/PostProcess">
+ <details
+ key="raw"
+ value="org.eclipse.emf.ecore.xmi.impl.XMIResourceFactoryImpl"/>
+ <details
+ key="processed"
+ value="org.eclipse.qvtd.xml.utilities.XMLmodelResourceFactoryImpl"/>
+ </eAnnotations>
<eClassifiers
xsi:type="ecore:EClass"
name="Attribute"

Back to the top