Bug 549105: [Model2Doc] Deletion of the semantic context doesn't delete the DocumentTemplate
   - contribute JUnit tests for UML
   - contribute JUnit tests for SysML 1.6:

Change-Id: I6101e8dfb9e9053de90f6ce99d64cadfae7a20f0
Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
diff --git a/features/org.eclipse.papyrus.model2doc.tests.feature/feature.xml b/features/org.eclipse.papyrus.model2doc.tests.feature/feature.xml
index a45fe5a..59c312d 100755
--- a/features/org.eclipse.papyrus.model2doc.tests.feature/feature.xml
+++ b/features/org.eclipse.papyrus.model2doc.tests.feature/feature.xml
@@ -58,6 +58,13 @@
          unpack="false"/>
 
    <plugin
+         id="org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests"
+         download-size="0"
+         install-size="0"
+         version="0.0.0"
+         unpack="false"/>
+
+   <plugin
          id="org.eclipse.papyrus.model2doc.integration.uml.architecture.tests"
          download-size="0"
          install-size="0"
diff --git a/plugins/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types/src/org/eclipse/papyrus/model2doc/integration/emf/documentstructuretemplate/types/internal/advices/DocumentTemplateElementTypesConstants.java b/plugins/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types/src/org/eclipse/papyrus/model2doc/integration/emf/documentstructuretemplate/types/internal/advices/DocumentTemplateElementTypesConstants.java
new file mode 100755
index 0000000..00e627c
--- /dev/null
+++ b/plugins/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types/src/org/eclipse/papyrus/model2doc/integration/emf/documentstructuretemplate/types/internal/advices/DocumentTemplateElementTypesConstants.java
@@ -0,0 +1,36 @@
+/*****************************************************************************
+ * Copyright (c) 2021 CEA LIST and others.
+ *
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License 2.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
+ *
+ * Contributors:
+ *  Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+
+package org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.internal.advices;
+
+/**
+ * Constants used by this plugin of ElementTypes
+ */
+public final class DocumentTemplateElementTypesConstants {
+
+	private DocumentTemplateElementTypesConstants() {
+		// to prevent instantiation
+	}
+
+	/**
+	 * The Papyrus Element Type Context
+	 */
+	public static final String PAPYRUS_ELEMENT_TYPE_CONTEXT = "org.eclipse.papyrus.infra.services.edit.TypeContext"; //$NON-NLS-1$
+
+	/**
+	 * The Moedl2Doc Element Type Set ID
+	 */
+	public static final String DOCUMENT_TEMPLATE_ELEMENT_TYPE_SET_ID = "org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.elementTypeSet"; //$NON-NLS-1$
+}
diff --git a/tests/integration/ieee/org.eclipse.papyrus.model2doc.integration.ieee.requirements.sysml16.odt.architecture.tests/META-INF/MANIFEST.MF b/tests/integration/ieee/org.eclipse.papyrus.model2doc.integration.ieee.requirements.sysml16.odt.architecture.tests/META-INF/MANIFEST.MF
index cfed066..880396d 100755
--- a/tests/integration/ieee/org.eclipse.papyrus.model2doc.integration.ieee.requirements.sysml16.odt.architecture.tests/META-INF/MANIFEST.MF
+++ b/tests/integration/ieee/org.eclipse.papyrus.model2doc.integration.ieee.requirements.sysml16.odt.architecture.tests/META-INF/MANIFEST.MF
@@ -5,35 +5,40 @@
 Bundle-Version: 0.8.0.qualifier
 Bundle-Activator: org.eclipse.papyrus.model2doc.integration.ieee.requirements.sysml16.odt.architecture.tests.Activator
 Bundle-Vendor: Eclipse Modeling Project
-Require-Bundle: org.eclipse.ui;bundle-version="[3.118.0,4.0.0)",
+Require-Bundle: org.eclipse.core.expressions;bundle-version="[3.7.0,4.0.0)",
  org.eclipse.core.runtime;bundle-version="[3.20.0,4.0.0)",
- org.junit;bundle-version="[4.13.0,5.0.0)",
- org.eclipse.papyrus.junit.utils;bundle-version="[3.0.0,4.0.0)",
  org.eclipse.emf.ecore;bundle-version="[2.23.0,3.0.0)",
- org.eclipse.papyrus.model2doc.emf.documentstructuretemplate;bundle-version="[0.8.0,1.0.0)",
  org.eclipse.emf.transaction;bundle-version="[1.9.0,2.0.0)",
+ org.eclipse.gmf.runtime.emf.commands.core;bundle-version="[1.7.0,2.0.0)",
+ org.eclipse.gmf.runtime.emf.type.core;bundle-version="[1.9.0,2.0.0)",
+ org.eclipse.papyrus.infra.architecture.representation;bundle-version="[3.0.0,4.0.0)",
+ org.eclipse.papyrus.infra.core;bundle-version="[4.0.0,5.0.0)",
+ org.eclipse.papyrus.infra.core.architecture;bundle-version="[3.0.0,4.0.0)",
+ org.eclipse.papyrus.infra.core.log;bundle-version="[2.0.0,3.0.0)",
+ org.eclipse.papyrus.infra.core.sasheditor;bundle-version="[3.0.0,4.0.0)",
+ org.eclipse.papyrus.infra.emf;bundle-version="[4.0.0,5.0.0)",
+ org.eclipse.papyrus.infra.emf.gmf;bundle-version="[2.0.0,3.0.0)",
+ org.eclipse.papyrus.infra.services.edit;bundle-version="[4.0.0,5.0.0)",
+ org.eclipse.papyrus.infra.tools;bundle-version="[4.0.0,5.0.0)",
+ org.eclipse.papyrus.infra.types;bundle-version="[5.0.0,6.0.0)",
+ org.eclipse.papyrus.infra.types.core;bundle-version="[5.0.0,6.0.0)",
+ org.eclipse.papyrus.infra.viewpoints.policy;bundle-version="[4.0.0,5.0.0)",
+ org.eclipse.papyrus.infra.widgets;bundle-version="[4.0.0,5.0.0)",
+ org.eclipse.papyrus.junit.framework;bundle-version="[2.0.0,3.0.0)",
+ org.eclipse.papyrus.junit.utils;bundle-version="[3.0.0,4.0.0)",
+ org.eclipse.papyrus.model2doc.emf.documentstructuretemplate;bundle-version="[0.8.0,1.0.0)",
  org.eclipse.papyrus.model2doc.emf.template2structure;bundle-version="[0.8.0,1.0.0)",
  org.eclipse.papyrus.model2doc.emf.documentstructure;bundle-version="[0.8.0,1.0.0)",
- org.eclipse.papyrus.infra.core;bundle-version="[4.0.0,5.0.0)",
- org.eclipse.uml2.uml;bundle-version="[5.5.0,6.0.0)",
- org.eclipse.papyrus.model2doc.integration.ieee.requirements.sysml16.odt.architecture;bundle-version="[0.8.0,1.0.0)",
- org.eclipse.gmf.runtime.emf.commands.core;bundle-version="[1.7.0,2.0.0)",
- org.eclipse.core.expressions;bundle-version="[3.7.0,4.0.0)",
- org.eclipse.papyrus.infra.emf.gmf;bundle-version="[2.0.0,3.0.0)",
- org.eclipse.papyrus.infra.emf;bundle-version="[4.0.0,5.0.0)",
+ org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types;bundle-version="[0.8.0,1.0.0)",
  org.eclipse.papyrus.model2doc.integration.ieee.requirements;bundle-version="[0.8.0,1.0.0)",
- org.eclipse.papyrus.views.modelexplorer;bundle-version="[5.0.0,6.0.0)",
+ org.eclipse.papyrus.model2doc.integration.ieee.requirements.sysml16.odt.architecture;bundle-version="[0.8.0,1.0.0)",
  org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.ui;bundle-version="[0.8.0,1.0.0)",
- org.eclipse.papyrus.infra.tools;bundle-version="[4.0.0,5.0.0)",
  org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.representation;bundle-version="[0.8.0,1.0.0)",
- org.eclipse.papyrus.infra.viewpoints.policy;bundle-version="[4.0.0,5.0.0)",
- org.eclipse.papyrus.junit.framework;bundle-version="[2.0.0,3.0.0)",
- org.eclipse.papyrus.infra.architecture.representation;bundle-version="[3.0.0,4.0.0)",
- org.eclipse.papyrus.infra.core.architecture;bundle-version="[3.0.0,4.0.0)",
+ org.eclipse.papyrus.views.modelexplorer;bundle-version="[5.0.0,6.0.0)",
+ org.eclipse.ui;bundle-version="[3.118.0,4.0.0)",
  org.eclipse.ui.navigator;bundle-version="[3.9.0,4.0.0)",
- org.eclipse.papyrus.infra.core.sasheditor;bundle-version="[3.0.0,4.0.0)",
- org.eclipse.papyrus.infra.widgets;bundle-version="[4.0.0,5.0.0)",
- org.eclipse.papyrus.infra.core.log;bundle-version="[2.0.0,3.0.0)"
+ org.eclipse.uml2.uml;bundle-version="[5.5.0,6.0.0)",
+ org.junit;bundle-version="[4.13.0,5.0.0)"
 Bundle-RequiredExecutionEnvironment: JavaSE-11
 Automatic-Module-Name: org.eclipse.papyrus.model2doc.integration.ieee.requirements.sysml16.odt.architecture.tests
 Bundle-ActivationPolicy: lazy
diff --git a/tests/integration/ieee/org.eclipse.papyrus.model2doc.integration.ieee.requirements.sysml16.odt.architecture.tests/resources/DocumentTemplateElementType/SysML16_DocumentTemplateSemanticOwnerDeletion.di b/tests/integration/ieee/org.eclipse.papyrus.model2doc.integration.ieee.requirements.sysml16.odt.architecture.tests/resources/DocumentTemplateElementType/SysML16_DocumentTemplateSemanticOwnerDeletion.di
new file mode 100755
index 0000000..785b011
--- /dev/null
+++ b/tests/integration/ieee/org.eclipse.papyrus.model2doc.integration.ieee.requirements.sysml16.odt.architecture.tests/resources/DocumentTemplateElementType/SysML16_DocumentTemplateSemanticOwnerDeletion.di
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<architecture:ArchitectureDescription xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:architecture="http://www.eclipse.org/papyrus/infra/core/architecture" contextId="org.eclipse.papyrus.sysml.architecture.SysML16"/>
diff --git a/tests/integration/ieee/org.eclipse.papyrus.model2doc.integration.ieee.requirements.sysml16.odt.architecture.tests/resources/DocumentTemplateElementType/SysML16_DocumentTemplateSemanticOwnerDeletion.notation b/tests/integration/ieee/org.eclipse.papyrus.model2doc.integration.ieee.requirements.sysml16.odt.architecture.tests/resources/DocumentTemplateElementType/SysML16_DocumentTemplateSemanticOwnerDeletion.notation
new file mode 100755
index 0000000..bf9abab
--- /dev/null
+++ b/tests/integration/ieee/org.eclipse.papyrus.model2doc.integration.ieee.requirements.sysml16.odt.architecture.tests/resources/DocumentTemplateElementType/SysML16_DocumentTemplateSemanticOwnerDeletion.notation
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"/>
diff --git a/tests/integration/ieee/org.eclipse.papyrus.model2doc.integration.ieee.requirements.sysml16.odt.architecture.tests/resources/DocumentTemplateElementType/SysML16_DocumentTemplateSemanticOwnerDeletion.pdst b/tests/integration/ieee/org.eclipse.papyrus.model2doc.integration.ieee.requirements.sysml16.odt.architecture.tests/resources/DocumentTemplateElementType/SysML16_DocumentTemplateSemanticOwnerDeletion.pdst
new file mode 100755
index 0000000..ef6c651
--- /dev/null
+++ b/tests/integration/ieee/org.eclipse.papyrus.model2doc.integration.ieee.requirements.sysml16.odt.architecture.tests/resources/DocumentTemplateElementType/SysML16_DocumentTemplateSemanticOwnerDeletion.pdst
@@ -0,0 +1,299 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:author="http://www.eclipse.org/papyrus/model2doc/core/1.0.0/Author" xmlns:documentstructuretemplate="http://www.eclipse.org/papyrus/model2doc/emf/1.0.0/documentstructuretemplate" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:generatorconfiguration="http://www.eclipse.org/papyrus/model2doc/1.0.0/generatorconfiguration" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmlns:umldocumentstructuretemplate="http://www.eclipse.org/papyrus/model2doc/uml/1.0.0/documentstructuretemplate" xmlns:umlexpressions="http://www.eclipse.org/papyrus/umlexpressions">
+  <documentstructuretemplate:TextDocumentTemplate xmi:id="_K-4OEFHYEey_5Y9wNjPglw" name="NewODT-IEEESysML1.6Requirementsdocumentation0" description="This template allows to create a Document conforms to IEEE specifications with a SysML16 profile." kindId="IEEE_For_Sysml16_ODT_DocumentStructureTemplateKindId" mainTitle="Package">
+    <semanticContext xmi:type="uml:Package" href="SysML16_DocumentTemplateSemanticOwnerDeletion.uml#_I_XNYFHYEey_5Y9wNjPglw"/>
+    <graphicalContext xmi:type="uml:Package" href="SysML16_DocumentTemplateSemanticOwnerDeletion.uml#_I_XNYFHYEey_5Y9wNjPglw"/>
+    <documentTemplatePrototype xmi:type="documentstructuretemplate:DocumentTemplatePrototype" href="platform:/plugin/org.eclipse.papyrus.model2doc.integration.ieee.requirements.sysml16.odt.architecture/resources/ODT_IEEE_For_SysML16.pdst#IEEE_For_Sysml16_ODT_DocumentStructureTemplate_Prototype"/>
+    <documentStructureGeneratorConfiguration xmi:type="generatorconfiguration:DefaultDocumentStructureGeneratorConfiguration" xmi:id="_K-4OEVHYEey_5Y9wNjPglw" saveDocumentStructure="true" saveImages="true" templateFile="platform:/plugin/org.eclipse.papyrus.model2doc.integration.ieee.requirements.sysml16.odt.architecture/resources/srs_template_ieee.ott" documentName="NewODT-IEEESysML1.6Requirementsdocumentation0" documentFolder="output" documentGeneratorId="org.eclipse.papyrus.model2doc.document.generator.odt" structureGeneratorId="TextDocumentStructureGenerator.default" imageFolder="output/images" structureFolder="output"/>
+    <author xmi:type="author:Author" xmi:id="_K-4OElHYEey_5Y9wNjPglw" firstName="Papyrus-Model2Doc" lastName="Generator"/>
+    <documentPart xmi:type="documentstructuretemplate:TableOfContents" xmi:id="_K-4OE1HYEey_5Y9wNjPglw" tocTitle="Table Of Contents"/>
+    <documentPart xmi:type="documentstructuretemplate:Body" xmi:id="_K-4OFFHYEey_5Y9wNjPglw">
+      <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_K-4OFVHYEey_5Y9wNjPglw" generate="true" generateTitle="true" customTitle="Specific Requirements" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+        <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package/nestedPackage"/>
+        <subBodyPartTemplate xmi:type="documentstructuretemplate:EClassPartTemplate" xmi:id="_K-4OFlHYEey_5Y9wNjPglw" filterRule="TYPE_OF" generate="true" generateTitle="true" customTitle="External Interfaces Requirements" generateIfEmpty="true" defaultTextIfEmpty="N/A">
+          <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+          <generateBranchCondition xmi:type="umlexpressions:SingleStereotypeAttributeEqualityExpression" xmi:id="_K-4OF1HYEey_5Y9wNjPglw" stereotypeQualifiedName="IEEERequirementsDocumentation::IEEERequirements" expectedValue="EXTERNAL_INTERFACES_REQUIREMENTS" propertyName="category"/>
+          <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_K-4OGFHYEey_5Y9wNjPglw" generate="true" generateTitle="false" customTitle="" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+            <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package/nestedPackage"/>
+            <subBodyPartTemplate xmi:type="documentstructuretemplate:EClassPartTemplate" xmi:id="_K-4OGVHYEey_5Y9wNjPglw" filterRule="TYPE_OF" generate="true" generateTitle="true" customTitle="User Interfaces" generateIfEmpty="true" defaultTextIfEmpty="N/A">
+              <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+              <generateBranchCondition xmi:type="umlexpressions:SingleStereotypeAttributeEqualityExpression" xmi:id="_K-4OGlHYEey_5Y9wNjPglw" stereotypeQualifiedName="IEEERequirementsDocumentation::IEEERequirements" expectedValue="USER_INTERFACES" propertyName="category"/>
+              <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_K-4OG1HYEey_5Y9wNjPglw" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+                <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Namespace/ownedMember"/>
+                <subBodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePartTemplate" xmi:id="_K-4OHFHYEey_5Y9wNjPglw" filterRule="TYPE_OF" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+                  <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+                  <bodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePropertyAttributeAsParagraph" xmi:id="_K-4OHVHYEey_5Y9wNjPglw" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" propertyName="text" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A"/>
+                </subBodyPartTemplate>
+              </bodyPartTemplate>
+            </subBodyPartTemplate>
+            <subBodyPartTemplate xmi:type="documentstructuretemplate:EClassPartTemplate" xmi:id="_K-4OHlHYEey_5Y9wNjPglw" filterRule="TYPE_OF" generate="true" generateTitle="true" customTitle="Hardware Interfaces" generateIfEmpty="true" defaultTextIfEmpty="N/A">
+              <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+              <generateBranchCondition xmi:type="umlexpressions:SingleStereotypeAttributeEqualityExpression" xmi:id="_K-4OH1HYEey_5Y9wNjPglw" stereotypeQualifiedName="IEEERequirementsDocumentation::IEEERequirements" expectedValue="HARDWARE_INTERFACES" propertyName="category"/>
+              <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_K-4OIFHYEey_5Y9wNjPglw" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+                <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Namespace/ownedMember"/>
+                <subBodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePartTemplate" xmi:id="_K-4OIVHYEey_5Y9wNjPglw" filterRule="TYPE_OF" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+                  <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+                  <bodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePropertyAttributeAsParagraph" xmi:id="_K-4OIlHYEey_5Y9wNjPglw" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" propertyName="text" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A"/>
+                </subBodyPartTemplate>
+              </bodyPartTemplate>
+            </subBodyPartTemplate>
+            <subBodyPartTemplate xmi:type="documentstructuretemplate:EClassPartTemplate" xmi:id="_K-4OI1HYEey_5Y9wNjPglw" filterRule="TYPE_OF" generate="true" generateTitle="true" customTitle="Software Interfaces" generateIfEmpty="true" defaultTextIfEmpty="N/A">
+              <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+              <generateBranchCondition xmi:type="umlexpressions:SingleStereotypeAttributeEqualityExpression" xmi:id="_K-4OJFHYEey_5Y9wNjPglw" stereotypeQualifiedName="IEEERequirementsDocumentation::IEEERequirements" expectedValue="SOFTWARE_INTERFACES" propertyName="category"/>
+              <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_K-4OJVHYEey_5Y9wNjPglw" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+                <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Namespace/ownedMember"/>
+                <subBodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePartTemplate" xmi:id="_K-4OJlHYEey_5Y9wNjPglw" filterRule="TYPE_OF" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+                  <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+                  <bodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePropertyAttributeAsParagraph" xmi:id="_K-4OJ1HYEey_5Y9wNjPglw" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" propertyName="text" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A"/>
+                </subBodyPartTemplate>
+              </bodyPartTemplate>
+            </subBodyPartTemplate>
+            <subBodyPartTemplate xmi:type="documentstructuretemplate:EClassPartTemplate" xmi:id="_K-4OKFHYEey_5Y9wNjPglw" filterRule="TYPE_OF" generate="true" generateTitle="true" customTitle="Communication Interfaces" generateIfEmpty="true" defaultTextIfEmpty="N/A">
+              <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+              <generateBranchCondition xmi:type="umlexpressions:SingleStereotypeAttributeEqualityExpression" xmi:id="_K-4OKVHYEey_5Y9wNjPglw" stereotypeQualifiedName="IEEERequirementsDocumentation::IEEERequirements" expectedValue="COMMUNICATION_INTERFACES" propertyName="category"/>
+              <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_K-4OKlHYEey_5Y9wNjPglw" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+                <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Namespace/ownedMember"/>
+                <subBodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePartTemplate" xmi:id="_K-4OK1HYEey_5Y9wNjPglw" filterRule="TYPE_OF" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+                  <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+                  <bodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePropertyAttributeAsParagraph" xmi:id="_K-4OLFHYEey_5Y9wNjPglw" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" propertyName="text" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A"/>
+                </subBodyPartTemplate>
+              </bodyPartTemplate>
+            </subBodyPartTemplate>
+          </bodyPartTemplate>
+        </subBodyPartTemplate>
+        <subBodyPartTemplate xmi:type="documentstructuretemplate:EClassPartTemplate" xmi:id="_K-4OLVHYEey_5Y9wNjPglw" filterRule="TYPE_OF" generate="true" generateTitle="true" customTitle="Functional Requirements" generateIfEmpty="true" defaultTextIfEmpty="N/A">
+          <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+          <generateBranchCondition xmi:type="umlexpressions:SingleStereotypeAttributeEqualityExpression" xmi:id="_K-4OLlHYEey_5Y9wNjPglw" stereotypeQualifiedName="IEEERequirementsDocumentation::IEEERequirements" expectedValue="FUNCTIONAL_REQUIREMENTS" propertyName="category"/>
+          <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_K-4OL1HYEey_5Y9wNjPglw" generate="true" generateTitle="false" customTitle="" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+            <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package/nestedPackage"/>
+            <subBodyPartTemplate xmi:type="documentstructuretemplate:EClassPartTemplate" xmi:id="_K-4OMFHYEey_5Y9wNjPglw" filterRule="TYPE_OF" generate="true" generateTitle="true" customTitle="mode 1" generateIfEmpty="true" defaultTextIfEmpty="N/A">
+              <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+              <generateBranchCondition xmi:type="umlexpressions:SingleStereotypeAttributeEqualityExpression" xmi:id="_K-4OMVHYEey_5Y9wNjPglw" stereotypeQualifiedName="IEEERequirementsDocumentation::IEEEFunctionalRequirements" expectedValue="1" propertyName="mode"/>
+              <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_K-4OMlHYEey_5Y9wNjPglw" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+                <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Namespace/ownedMember"/>
+                <subBodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePartTemplate" xmi:id="_K-4OM1HYEey_5Y9wNjPglw" filterRule="TYPE_OF" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+                  <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+                  <bodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePropertyAttributeAsParagraph" xmi:id="_K-4ONFHYEey_5Y9wNjPglw" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" propertyName="text" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A"/>
+                </subBodyPartTemplate>
+              </bodyPartTemplate>
+            </subBodyPartTemplate>
+            <subBodyPartTemplate xmi:type="documentstructuretemplate:EClassPartTemplate" xmi:id="_K-4ONVHYEey_5Y9wNjPglw" filterRule="TYPE_OF" generate="true" generateTitle="true" customTitle="mode 2" generateIfEmpty="true" defaultTextIfEmpty="N/A">
+              <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+              <generateBranchCondition xmi:type="umlexpressions:SingleStereotypeAttributeEqualityExpression" xmi:id="_K-4ONlHYEey_5Y9wNjPglw" stereotypeQualifiedName="IEEERequirementsDocumentation::IEEEFunctionalRequirements" expectedValue="2" propertyName="mode"/>
+              <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_K-4ON1HYEey_5Y9wNjPglw" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+                <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Namespace/ownedMember"/>
+                <subBodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePartTemplate" xmi:id="_K-4OOFHYEey_5Y9wNjPglw" filterRule="TYPE_OF" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+                  <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+                  <bodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePropertyAttributeAsParagraph" xmi:id="_K-4OOVHYEey_5Y9wNjPglw" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" propertyName="text" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A"/>
+                </subBodyPartTemplate>
+              </bodyPartTemplate>
+            </subBodyPartTemplate>
+            <subBodyPartTemplate xmi:type="documentstructuretemplate:EClassPartTemplate" xmi:id="_K-4OOlHYEey_5Y9wNjPglw" filterRule="TYPE_OF" generate="true" generateTitle="true" customTitle="mode 3" generateIfEmpty="true" defaultTextIfEmpty="N/A">
+              <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+              <generateBranchCondition xmi:type="umlexpressions:SingleStereotypeAttributeEqualityExpression" xmi:id="_K-4OO1HYEey_5Y9wNjPglw" stereotypeQualifiedName="IEEERequirementsDocumentation::IEEEFunctionalRequirements" expectedValue="3" propertyName="mode"/>
+              <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_K-4OPFHYEey_5Y9wNjPglw" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+                <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Namespace/ownedMember"/>
+                <subBodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePartTemplate" xmi:id="_K-4OPVHYEey_5Y9wNjPglw" filterRule="TYPE_OF" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+                  <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+                  <bodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePropertyAttributeAsParagraph" xmi:id="_K-4OPlHYEey_5Y9wNjPglw" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" propertyName="text" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A"/>
+                </subBodyPartTemplate>
+              </bodyPartTemplate>
+            </subBodyPartTemplate>
+          </bodyPartTemplate>
+        </subBodyPartTemplate>
+        <subBodyPartTemplate xmi:type="documentstructuretemplate:EClassPartTemplate" xmi:id="_K-4OP1HYEey_5Y9wNjPglw" filterRule="TYPE_OF" generate="true" generateTitle="true" customTitle="Performance Requirements" generateIfEmpty="true" defaultTextIfEmpty="N/A">
+          <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+          <generateBranchCondition xmi:type="umlexpressions:SingleStereotypeAttributeEqualityExpression" xmi:id="_K-4OQFHYEey_5Y9wNjPglw" name="IsPerformanceRequirements" description="" stereotypeQualifiedName="IEEERequirementsDocumentation::IEEERequirements" expectedValue="PERFORMANCE_REQUIREMENTS" propertyName="category"/>
+          <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_K-4OQVHYEey_5Y9wNjPglw" generate="true" generateTitle="false" customTitle="" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+            <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Namespace/ownedMember"/>
+            <subBodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePartTemplate" xmi:id="_K-4OQlHYEey_5Y9wNjPglw" filterRule="TYPE_OF" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+              <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+              <bodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePropertyAttributeAsParagraph" xmi:id="_K-4OQ1HYEey_5Y9wNjPglw" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" propertyName="text" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A"/>
+            </subBodyPartTemplate>
+          </bodyPartTemplate>
+        </subBodyPartTemplate>
+        <subBodyPartTemplate xmi:type="documentstructuretemplate:EClassPartTemplate" xmi:id="_K-4ORFHYEey_5Y9wNjPglw" filterRule="TYPE_OF" generate="true" generateTitle="true" customTitle="Design Constraints" generateIfEmpty="true" defaultTextIfEmpty="N/A">
+          <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+          <generateBranchCondition xmi:type="umlexpressions:SingleStereotypeAttributeEqualityExpression" xmi:id="_K-4ORVHYEey_5Y9wNjPglw" name="IsDesignConstraints" description="" stereotypeQualifiedName="IEEERequirementsDocumentation::IEEERequirements" expectedValue="DESIGN_CONSTRAINTS" propertyName="category"/>
+          <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_K-41IFHYEey_5Y9wNjPglw" generate="true" generateTitle="false" customTitle="Design Constraints" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+            <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Namespace/ownedMember"/>
+            <subBodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePartTemplate" xmi:id="_K-41IVHYEey_5Y9wNjPglw" filterRule="TYPE_OF" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+              <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+              <bodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePropertyAttributeAsParagraph" xmi:id="_K-41IlHYEey_5Y9wNjPglw" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" propertyName="text" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A"/>
+            </subBodyPartTemplate>
+          </bodyPartTemplate>
+        </subBodyPartTemplate>
+        <subBodyPartTemplate xmi:type="documentstructuretemplate:EClassPartTemplate" xmi:id="_K-41I1HYEey_5Y9wNjPglw" filterRule="TYPE_OF" generate="true" generateTitle="true" customTitle="Software System Attributes" generateIfEmpty="true" defaultTextIfEmpty="N/A">
+          <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+          <generateBranchCondition xmi:type="umlexpressions:SingleStereotypeAttributeEqualityExpression" xmi:id="_K-41JFHYEey_5Y9wNjPglw" name="IsSoftwareSystemAttributes" description="" stereotypeQualifiedName="IEEERequirementsDocumentation::IEEERequirements" expectedValue="SOFTWARE_SYSTEM_ATTRIBUTES" propertyName="category"/>
+          <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_K-41JVHYEey_5Y9wNjPglw" generate="true" generateTitle="false" customTitle="" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+            <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Namespace/ownedMember"/>
+            <subBodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePartTemplate" xmi:id="_K-41JlHYEey_5Y9wNjPglw" filterRule="TYPE_OF" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+              <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+              <bodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePropertyAttributeAsParagraph" xmi:id="_K-41J1HYEey_5Y9wNjPglw" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" propertyName="text" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A"/>
+            </subBodyPartTemplate>
+          </bodyPartTemplate>
+        </subBodyPartTemplate>
+        <subBodyPartTemplate xmi:type="documentstructuretemplate:EClassPartTemplate" xmi:id="_K-41KFHYEey_5Y9wNjPglw" filterRule="TYPE_OF" generate="true" generateTitle="true" customTitle="Other Requirements" generateIfEmpty="true" defaultTextIfEmpty="N/A">
+          <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+          <generateBranchCondition xmi:type="umlexpressions:SingleStereotypeAttributeEqualityExpression" xmi:id="_K-41KVHYEey_5Y9wNjPglw" name="IsOtherRequirements" description="" stereotypeQualifiedName="IEEERequirementsDocumentation::IEEERequirements" expectedValue="OTHER_REQUIREMENTS" propertyName="category"/>
+          <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_K-41KlHYEey_5Y9wNjPglw" generate="true" generateTitle="false" customTitle="" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+            <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Namespace/ownedMember"/>
+            <subBodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePartTemplate" xmi:id="_K-41K1HYEey_5Y9wNjPglw" filterRule="TYPE_OF" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+              <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+              <bodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePropertyAttributeAsParagraph" xmi:id="_K-41LFHYEey_5Y9wNjPglw" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" propertyName="text" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A"/>
+            </subBodyPartTemplate>
+          </bodyPartTemplate>
+        </subBodyPartTemplate>
+      </bodyPartTemplate>
+    </documentPart>
+  </documentstructuretemplate:TextDocumentTemplate>
+  <documentstructuretemplate:TextDocumentTemplate xmi:id="_MA_LUFHYEey_5Y9wNjPglw" name="NewODT-IEEESysML1.6Requirementsdocumentation1" description="This template allows to create a Document conforms to IEEE specifications with a SysML16 profile." kindId="IEEE_For_Sysml16_ODT_DocumentStructureTemplateKindId" mainTitle="Package">
+    <semanticContext xmi:type="uml:Package" href="SysML16_DocumentTemplateSemanticOwnerDeletion.uml#_I_XNYFHYEey_5Y9wNjPglw"/>
+    <graphicalContext xmi:type="uml:Package" href="SysML16_DocumentTemplateSemanticOwnerDeletion.uml#_I_XNYFHYEey_5Y9wNjPglw"/>
+    <documentTemplatePrototype xmi:type="documentstructuretemplate:DocumentTemplatePrototype" href="platform:/plugin/org.eclipse.papyrus.model2doc.integration.ieee.requirements.sysml16.odt.architecture/resources/ODT_IEEE_For_SysML16.pdst#IEEE_For_Sysml16_ODT_DocumentStructureTemplate_Prototype"/>
+    <documentStructureGeneratorConfiguration xmi:type="generatorconfiguration:DefaultDocumentStructureGeneratorConfiguration" xmi:id="_MA_LUVHYEey_5Y9wNjPglw" saveDocumentStructure="true" saveImages="true" templateFile="platform:/plugin/org.eclipse.papyrus.model2doc.integration.ieee.requirements.sysml16.odt.architecture/resources/srs_template_ieee.ott" documentName="NewODT-IEEESysML1.6Requirementsdocumentation1" documentFolder="output" documentGeneratorId="org.eclipse.papyrus.model2doc.document.generator.odt" structureGeneratorId="TextDocumentStructureGenerator.default" imageFolder="output/images" structureFolder="output"/>
+    <author xmi:type="author:Author" xmi:id="_MA_LUlHYEey_5Y9wNjPglw" firstName="Papyrus-Model2Doc" lastName="Generator"/>
+    <documentPart xmi:type="documentstructuretemplate:TableOfContents" xmi:id="_MA_LU1HYEey_5Y9wNjPglw" tocTitle="Table Of Contents"/>
+    <documentPart xmi:type="documentstructuretemplate:Body" xmi:id="_MA_LVFHYEey_5Y9wNjPglw">
+      <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_MA_LVVHYEey_5Y9wNjPglw" generate="true" generateTitle="true" customTitle="Specific Requirements" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+        <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package/nestedPackage"/>
+        <subBodyPartTemplate xmi:type="documentstructuretemplate:EClassPartTemplate" xmi:id="_MA_LVlHYEey_5Y9wNjPglw" filterRule="TYPE_OF" generate="true" generateTitle="true" customTitle="External Interfaces Requirements" generateIfEmpty="true" defaultTextIfEmpty="N/A">
+          <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+          <generateBranchCondition xmi:type="umlexpressions:SingleStereotypeAttributeEqualityExpression" xmi:id="_MA_LV1HYEey_5Y9wNjPglw" stereotypeQualifiedName="IEEERequirementsDocumentation::IEEERequirements" expectedValue="EXTERNAL_INTERFACES_REQUIREMENTS" propertyName="category"/>
+          <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_MA_LWFHYEey_5Y9wNjPglw" generate="true" generateTitle="false" customTitle="" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+            <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package/nestedPackage"/>
+            <subBodyPartTemplate xmi:type="documentstructuretemplate:EClassPartTemplate" xmi:id="_MA_LWVHYEey_5Y9wNjPglw" filterRule="TYPE_OF" generate="true" generateTitle="true" customTitle="User Interfaces" generateIfEmpty="true" defaultTextIfEmpty="N/A">
+              <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+              <generateBranchCondition xmi:type="umlexpressions:SingleStereotypeAttributeEqualityExpression" xmi:id="_MA_LWlHYEey_5Y9wNjPglw" stereotypeQualifiedName="IEEERequirementsDocumentation::IEEERequirements" expectedValue="USER_INTERFACES" propertyName="category"/>
+              <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_MA_LW1HYEey_5Y9wNjPglw" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+                <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Namespace/ownedMember"/>
+                <subBodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePartTemplate" xmi:id="_MA_LXFHYEey_5Y9wNjPglw" filterRule="TYPE_OF" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+                  <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+                  <bodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePropertyAttributeAsParagraph" xmi:id="_MA_LXVHYEey_5Y9wNjPglw" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" propertyName="text" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A"/>
+                </subBodyPartTemplate>
+              </bodyPartTemplate>
+            </subBodyPartTemplate>
+            <subBodyPartTemplate xmi:type="documentstructuretemplate:EClassPartTemplate" xmi:id="_MA_LXlHYEey_5Y9wNjPglw" filterRule="TYPE_OF" generate="true" generateTitle="true" customTitle="Hardware Interfaces" generateIfEmpty="true" defaultTextIfEmpty="N/A">
+              <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+              <generateBranchCondition xmi:type="umlexpressions:SingleStereotypeAttributeEqualityExpression" xmi:id="_MA_LX1HYEey_5Y9wNjPglw" stereotypeQualifiedName="IEEERequirementsDocumentation::IEEERequirements" expectedValue="HARDWARE_INTERFACES" propertyName="category"/>
+              <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_MA_LYFHYEey_5Y9wNjPglw" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+                <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Namespace/ownedMember"/>
+                <subBodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePartTemplate" xmi:id="_MA_LYVHYEey_5Y9wNjPglw" filterRule="TYPE_OF" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+                  <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+                  <bodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePropertyAttributeAsParagraph" xmi:id="_MA_LYlHYEey_5Y9wNjPglw" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" propertyName="text" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A"/>
+                </subBodyPartTemplate>
+              </bodyPartTemplate>
+            </subBodyPartTemplate>
+            <subBodyPartTemplate xmi:type="documentstructuretemplate:EClassPartTemplate" xmi:id="_MA_LY1HYEey_5Y9wNjPglw" filterRule="TYPE_OF" generate="true" generateTitle="true" customTitle="Software Interfaces" generateIfEmpty="true" defaultTextIfEmpty="N/A">
+              <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+              <generateBranchCondition xmi:type="umlexpressions:SingleStereotypeAttributeEqualityExpression" xmi:id="_MA_LZFHYEey_5Y9wNjPglw" stereotypeQualifiedName="IEEERequirementsDocumentation::IEEERequirements" expectedValue="SOFTWARE_INTERFACES" propertyName="category"/>
+              <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_MA_LZVHYEey_5Y9wNjPglw" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+                <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Namespace/ownedMember"/>
+                <subBodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePartTemplate" xmi:id="_MA_LZlHYEey_5Y9wNjPglw" filterRule="TYPE_OF" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+                  <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+                  <bodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePropertyAttributeAsParagraph" xmi:id="_MA_LZ1HYEey_5Y9wNjPglw" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" propertyName="text" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A"/>
+                </subBodyPartTemplate>
+              </bodyPartTemplate>
+            </subBodyPartTemplate>
+            <subBodyPartTemplate xmi:type="documentstructuretemplate:EClassPartTemplate" xmi:id="_MA_LaFHYEey_5Y9wNjPglw" filterRule="TYPE_OF" generate="true" generateTitle="true" customTitle="Communication Interfaces" generateIfEmpty="true" defaultTextIfEmpty="N/A">
+              <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+              <generateBranchCondition xmi:type="umlexpressions:SingleStereotypeAttributeEqualityExpression" xmi:id="_MA_LaVHYEey_5Y9wNjPglw" stereotypeQualifiedName="IEEERequirementsDocumentation::IEEERequirements" expectedValue="COMMUNICATION_INTERFACES" propertyName="category"/>
+              <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_MA_LalHYEey_5Y9wNjPglw" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+                <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Namespace/ownedMember"/>
+                <subBodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePartTemplate" xmi:id="_MA_La1HYEey_5Y9wNjPglw" filterRule="TYPE_OF" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+                  <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+                  <bodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePropertyAttributeAsParagraph" xmi:id="_MA_LbFHYEey_5Y9wNjPglw" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" propertyName="text" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A"/>
+                </subBodyPartTemplate>
+              </bodyPartTemplate>
+            </subBodyPartTemplate>
+          </bodyPartTemplate>
+        </subBodyPartTemplate>
+        <subBodyPartTemplate xmi:type="documentstructuretemplate:EClassPartTemplate" xmi:id="_MA_LbVHYEey_5Y9wNjPglw" filterRule="TYPE_OF" generate="true" generateTitle="true" customTitle="Functional Requirements" generateIfEmpty="true" defaultTextIfEmpty="N/A">
+          <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+          <generateBranchCondition xmi:type="umlexpressions:SingleStereotypeAttributeEqualityExpression" xmi:id="_MA_LblHYEey_5Y9wNjPglw" stereotypeQualifiedName="IEEERequirementsDocumentation::IEEERequirements" expectedValue="FUNCTIONAL_REQUIREMENTS" propertyName="category"/>
+          <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_MA_Lb1HYEey_5Y9wNjPglw" generate="true" generateTitle="false" customTitle="" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+            <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package/nestedPackage"/>
+            <subBodyPartTemplate xmi:type="documentstructuretemplate:EClassPartTemplate" xmi:id="_MA_LcFHYEey_5Y9wNjPglw" filterRule="TYPE_OF" generate="true" generateTitle="true" customTitle="mode 1" generateIfEmpty="true" defaultTextIfEmpty="N/A">
+              <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+              <generateBranchCondition xmi:type="umlexpressions:SingleStereotypeAttributeEqualityExpression" xmi:id="_MA_LcVHYEey_5Y9wNjPglw" stereotypeQualifiedName="IEEERequirementsDocumentation::IEEEFunctionalRequirements" expectedValue="1" propertyName="mode"/>
+              <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_MA_LclHYEey_5Y9wNjPglw" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+                <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Namespace/ownedMember"/>
+                <subBodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePartTemplate" xmi:id="_MA_Lc1HYEey_5Y9wNjPglw" filterRule="TYPE_OF" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+                  <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+                  <bodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePropertyAttributeAsParagraph" xmi:id="_MA_LdFHYEey_5Y9wNjPglw" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" propertyName="text" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A"/>
+                </subBodyPartTemplate>
+              </bodyPartTemplate>
+            </subBodyPartTemplate>
+            <subBodyPartTemplate xmi:type="documentstructuretemplate:EClassPartTemplate" xmi:id="_MA_LdVHYEey_5Y9wNjPglw" filterRule="TYPE_OF" generate="true" generateTitle="true" customTitle="mode 2" generateIfEmpty="true" defaultTextIfEmpty="N/A">
+              <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+              <generateBranchCondition xmi:type="umlexpressions:SingleStereotypeAttributeEqualityExpression" xmi:id="_MA_LdlHYEey_5Y9wNjPglw" stereotypeQualifiedName="IEEERequirementsDocumentation::IEEEFunctionalRequirements" expectedValue="2" propertyName="mode"/>
+              <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_MA_Ld1HYEey_5Y9wNjPglw" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+                <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Namespace/ownedMember"/>
+                <subBodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePartTemplate" xmi:id="_MA_LeFHYEey_5Y9wNjPglw" filterRule="TYPE_OF" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+                  <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+                  <bodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePropertyAttributeAsParagraph" xmi:id="_MA_LeVHYEey_5Y9wNjPglw" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" propertyName="text" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A"/>
+                </subBodyPartTemplate>
+              </bodyPartTemplate>
+            </subBodyPartTemplate>
+            <subBodyPartTemplate xmi:type="documentstructuretemplate:EClassPartTemplate" xmi:id="_MA_LelHYEey_5Y9wNjPglw" filterRule="TYPE_OF" generate="true" generateTitle="true" customTitle="mode 3" generateIfEmpty="true" defaultTextIfEmpty="N/A">
+              <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+              <generateBranchCondition xmi:type="umlexpressions:SingleStereotypeAttributeEqualityExpression" xmi:id="_MA_Le1HYEey_5Y9wNjPglw" stereotypeQualifiedName="IEEERequirementsDocumentation::IEEEFunctionalRequirements" expectedValue="3" propertyName="mode"/>
+              <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_MA_LfFHYEey_5Y9wNjPglw" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+                <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Namespace/ownedMember"/>
+                <subBodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePartTemplate" xmi:id="_MA_LfVHYEey_5Y9wNjPglw" filterRule="TYPE_OF" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+                  <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+                  <bodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePropertyAttributeAsParagraph" xmi:id="_MA_LflHYEey_5Y9wNjPglw" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" propertyName="text" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A"/>
+                </subBodyPartTemplate>
+              </bodyPartTemplate>
+            </subBodyPartTemplate>
+          </bodyPartTemplate>
+        </subBodyPartTemplate>
+        <subBodyPartTemplate xmi:type="documentstructuretemplate:EClassPartTemplate" xmi:id="_MA_Lf1HYEey_5Y9wNjPglw" filterRule="TYPE_OF" generate="true" generateTitle="true" customTitle="Performance Requirements" generateIfEmpty="true" defaultTextIfEmpty="N/A">
+          <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+          <generateBranchCondition xmi:type="umlexpressions:SingleStereotypeAttributeEqualityExpression" xmi:id="_MA_LgFHYEey_5Y9wNjPglw" name="IsPerformanceRequirements" description="" stereotypeQualifiedName="IEEERequirementsDocumentation::IEEERequirements" expectedValue="PERFORMANCE_REQUIREMENTS" propertyName="category"/>
+          <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_MA_LgVHYEey_5Y9wNjPglw" generate="true" generateTitle="false" customTitle="" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+            <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Namespace/ownedMember"/>
+            <subBodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePartTemplate" xmi:id="_MA_LglHYEey_5Y9wNjPglw" filterRule="TYPE_OF" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+              <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+              <bodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePropertyAttributeAsParagraph" xmi:id="_MA_Lg1HYEey_5Y9wNjPglw" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" propertyName="text" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A"/>
+            </subBodyPartTemplate>
+          </bodyPartTemplate>
+        </subBodyPartTemplate>
+        <subBodyPartTemplate xmi:type="documentstructuretemplate:EClassPartTemplate" xmi:id="_MA_LhFHYEey_5Y9wNjPglw" filterRule="TYPE_OF" generate="true" generateTitle="true" customTitle="Design Constraints" generateIfEmpty="true" defaultTextIfEmpty="N/A">
+          <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+          <generateBranchCondition xmi:type="umlexpressions:SingleStereotypeAttributeEqualityExpression" xmi:id="_MA_LhVHYEey_5Y9wNjPglw" name="IsDesignConstraints" description="" stereotypeQualifiedName="IEEERequirementsDocumentation::IEEERequirements" expectedValue="DESIGN_CONSTRAINTS" propertyName="category"/>
+          <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_MA_LhlHYEey_5Y9wNjPglw" generate="true" generateTitle="false" customTitle="Design Constraints" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+            <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Namespace/ownedMember"/>
+            <subBodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePartTemplate" xmi:id="_MA_Lh1HYEey_5Y9wNjPglw" filterRule="TYPE_OF" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+              <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+              <bodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePropertyAttributeAsParagraph" xmi:id="_MA_LiFHYEey_5Y9wNjPglw" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" propertyName="text" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A"/>
+            </subBodyPartTemplate>
+          </bodyPartTemplate>
+        </subBodyPartTemplate>
+        <subBodyPartTemplate xmi:type="documentstructuretemplate:EClassPartTemplate" xmi:id="_MA_LiVHYEey_5Y9wNjPglw" filterRule="TYPE_OF" generate="true" generateTitle="true" customTitle="Software System Attributes" generateIfEmpty="true" defaultTextIfEmpty="N/A">
+          <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+          <generateBranchCondition xmi:type="umlexpressions:SingleStereotypeAttributeEqualityExpression" xmi:id="_MA_LilHYEey_5Y9wNjPglw" name="IsSoftwareSystemAttributes" description="" stereotypeQualifiedName="IEEERequirementsDocumentation::IEEERequirements" expectedValue="SOFTWARE_SYSTEM_ATTRIBUTES" propertyName="category"/>
+          <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_MA_Li1HYEey_5Y9wNjPglw" generate="true" generateTitle="false" customTitle="" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+            <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Namespace/ownedMember"/>
+            <subBodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePartTemplate" xmi:id="_MA_LjFHYEey_5Y9wNjPglw" filterRule="TYPE_OF" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+              <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+              <bodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePropertyAttributeAsParagraph" xmi:id="_MA_LjVHYEey_5Y9wNjPglw" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" propertyName="text" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A"/>
+            </subBodyPartTemplate>
+          </bodyPartTemplate>
+        </subBodyPartTemplate>
+        <subBodyPartTemplate xmi:type="documentstructuretemplate:EClassPartTemplate" xmi:id="_MA_LjlHYEey_5Y9wNjPglw" filterRule="TYPE_OF" generate="true" generateTitle="true" customTitle="Other Requirements" generateIfEmpty="true" defaultTextIfEmpty="N/A">
+          <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+          <generateBranchCondition xmi:type="umlexpressions:SingleStereotypeAttributeEqualityExpression" xmi:id="_MA_Lj1HYEey_5Y9wNjPglw" name="IsOtherRequirements" description="" stereotypeQualifiedName="IEEERequirementsDocumentation::IEEERequirements" expectedValue="OTHER_REQUIREMENTS" propertyName="category"/>
+          <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_MA_LkFHYEey_5Y9wNjPglw" generate="true" generateTitle="false" customTitle="" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+            <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Namespace/ownedMember"/>
+            <subBodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePartTemplate" xmi:id="_MA_LkVHYEey_5Y9wNjPglw" filterRule="TYPE_OF" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+              <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+              <bodyPartTemplate xmi:type="umldocumentstructuretemplate:StereotypePropertyAttributeAsParagraph" xmi:id="_MA_LklHYEey_5Y9wNjPglw" stereotypeFilterRule="STEREOTYPE_KIND_OF" stereotypeQualifiedName="SysML::Requirements::Requirement" propertyName="text" generate="true" generateTitle="false" generateIfEmpty="false" defaultTextIfEmpty="N/A"/>
+            </subBodyPartTemplate>
+          </bodyPartTemplate>
+        </subBodyPartTemplate>
+      </bodyPartTemplate>
+    </documentPart>
+  </documentstructuretemplate:TextDocumentTemplate>
+</xmi:XMI>
diff --git a/tests/integration/ieee/org.eclipse.papyrus.model2doc.integration.ieee.requirements.sysml16.odt.architecture.tests/resources/DocumentTemplateElementType/SysML16_DocumentTemplateSemanticOwnerDeletion.uml b/tests/integration/ieee/org.eclipse.papyrus.model2doc.integration.ieee.requirements.sysml16.odt.architecture.tests/resources/DocumentTemplateElementType/SysML16_DocumentTemplateSemanticOwnerDeletion.uml
new file mode 100755
index 0000000..3ff120f
--- /dev/null
+++ b/tests/integration/ieee/org.eclipse.papyrus.model2doc.integration.ieee.requirements.sysml16.odt.architecture.tests/resources/DocumentTemplateElementType/SysML16_DocumentTemplateSemanticOwnerDeletion.uml
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<uml:Model xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_Ev48QFHYEey_5Y9wNjPglw" name="SysML16_DocumentTemplateSemanticOwnerDeletion">
+  <packageImport xmi:type="uml:PackageImport" xmi:id="_EyeWMFHYEey_5Y9wNjPglw">
+    <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
+  </packageImport>
+  <packageImport xmi:type="uml:PackageImport" xmi:id="_Eylq8FHYEey_5Y9wNjPglw">
+    <importedPackage xmi:type="uml:Package" href="pathmap://SysML16_LIBRARIES/SysML-Standard-Library.uml#SysML.package_packagedElement_Libraries"/>
+  </packageImport>
+  <packagedElement xmi:type="uml:Package" xmi:id="_I_XNYFHYEey_5Y9wNjPglw" name="SubPackage"/>
+  <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_EwYrgFHYEey_5Y9wNjPglw">
+    <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EwZ5oFHYEey_5Y9wNjPglw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+      <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.6/SysML#/"/>
+    </eAnnotations>
+    <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML16_PROFILES/SysML.profile.uml#SysML"/>
+  </profileApplication>
+  <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_EyY2oFHYEey_5Y9wNjPglw">
+    <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EyZdsFHYEey_5Y9wNjPglw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+      <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.6/SysML#//activities"/>
+    </eAnnotations>
+    <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML16_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Activities"/>
+  </profileApplication>
+  <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_Eyb58FHYEey_5Y9wNjPglw">
+    <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_Eyb58VHYEey_5Y9wNjPglw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+      <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.6/SysML#//allocations"/>
+    </eAnnotations>
+    <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML16_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Allocations"/>
+  </profileApplication>
+  <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_Eyb58lHYEey_5Y9wNjPglw">
+    <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EychAFHYEey_5Y9wNjPglw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+      <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.6/SysML#//blocks"/>
+    </eAnnotations>
+    <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML16_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Blocks"/>
+  </profileApplication>
+  <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_EychAVHYEey_5Y9wNjPglw">
+    <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EychAlHYEey_5Y9wNjPglw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+      <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.6/SysML#//constraintblocks"/>
+    </eAnnotations>
+    <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML16_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ConstraintBlocks"/>
+  </profileApplication>
+  <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_EychA1HYEey_5Y9wNjPglw">
+    <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EydIEFHYEey_5Y9wNjPglw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+      <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.6/SysML#//deprecatedelements"/>
+    </eAnnotations>
+    <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML16_PROFILES/SysML.profile.uml#SysML.package_packagedElement_DeprecatedElements"/>
+  </profileApplication>
+  <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_EydIEVHYEey_5Y9wNjPglw">
+    <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EydIElHYEey_5Y9wNjPglw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+      <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.6/SysML#//modelelements"/>
+    </eAnnotations>
+    <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML16_PROFILES/SysML.profile.uml#SysML.package_packagedElement_ModelElements"/>
+  </profileApplication>
+  <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_EydIE1HYEey_5Y9wNjPglw">
+    <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EydIFFHYEey_5Y9wNjPglw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+      <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.6/SysML#//portsandflows"/>
+    </eAnnotations>
+    <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML16_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Ports_u0026Flows"/>
+  </profileApplication>
+  <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_EydvIFHYEey_5Y9wNjPglw">
+    <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EydvIVHYEey_5Y9wNjPglw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+      <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/sysml/1.6/SysML#//requirements"/>
+    </eAnnotations>
+    <appliedProfile xmi:type="uml:Profile" href="pathmap://SysML16_PROFILES/SysML.profile.uml#SysML.package_packagedElement_Requirements"/>
+  </profileApplication>
+  <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_EydvIlHYEey_5Y9wNjPglw">
+    <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_EydvI1HYEey_5Y9wNjPglw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+      <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/uml2/5.0.0/UML/Profile/Standard#/"/>
+    </eAnnotations>
+    <appliedProfile xmi:type="uml:Profile" href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/>
+  </profileApplication>
+  <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_K_IFsFHYEey_5Y9wNjPglw">
+    <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_K_IFsVHYEey_5Y9wNjPglw" source="http://www.eclipse.org/uml2/2.0.0/UML">
+      <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/papyrus/docgenconfig/IEEERequirementsDocumentation#/"/>
+    </eAnnotations>
+    <appliedProfile xmi:type="uml:Profile" href="pathmap://IEEERequirementsDocumentation/IEEERequirementsDocumentation.profile.uml#_eyFzYDmKEeivd-iqhJ4b3A"/>
+  </profileApplication>
+</uml:Model>
diff --git a/tests/integration/ieee/org.eclipse.papyrus.model2doc.integration.ieee.requirements.sysml16.odt.architecture.tests/src/org/eclipse/papyrus/model2doc/integration/ieee/requirements/sysml16/odt/architecture/tests/SysML16_DocumentTemplateElementTypeTest.java b/tests/integration/ieee/org.eclipse.papyrus.model2doc.integration.ieee.requirements.sysml16.odt.architecture.tests/src/org/eclipse/papyrus/model2doc/integration/ieee/requirements/sysml16/odt/architecture/tests/SysML16_DocumentTemplateElementTypeTest.java
new file mode 100755
index 0000000..0763738
--- /dev/null
+++ b/tests/integration/ieee/org.eclipse.papyrus.model2doc.integration.ieee.requirements.sysml16.odt.architecture.tests/src/org/eclipse/papyrus/model2doc/integration/ieee/requirements/sysml16/odt/architecture/tests/SysML16_DocumentTemplateElementTypeTest.java
@@ -0,0 +1,139 @@
+/*****************************************************************************
+ * Copyright (c) 2021 CEA LIST and others.
+ *
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License 2.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
+ *
+ * Contributors:
+ *  Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+
+package org.eclipse.papyrus.model2doc.integration.ieee.requirements.sysml16.odt.architecture.tests;
+
+import java.util.Collections;
+import java.util.Iterator;
+import java.util.Map;
+import java.util.Map.Entry;
+
+import org.eclipse.emf.common.command.CommandStack;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.gmf.runtime.common.core.command.ICommand;
+import org.eclipse.gmf.runtime.emf.type.core.requests.DestroyElementRequest;
+import org.eclipse.osgi.util.NLS;
+import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper;
+import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils;
+import org.eclipse.papyrus.infra.services.edit.service.IElementEditService;
+import org.eclipse.papyrus.infra.types.ElementTypeSetConfiguration;
+import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry;
+import org.eclipse.papyrus.junit.utils.rules.PapyrusEditorFixture;
+import org.eclipse.papyrus.junit.utils.rules.PluginResource;
+import org.eclipse.papyrus.model2doc.emf.documentstructuretemplate.DocumentTemplate;
+import org.eclipse.papyrus.model2doc.emf.documentstructuretemplate.utils.DocumentStructureTemplateConstants;
+import org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.internal.advices.DocumentTemplateElementTypesConstants;
+import org.eclipse.uml2.uml.NamedElement;
+import org.eclipse.uml2.uml.Package;
+import org.junit.Assert;
+import org.junit.Rule;
+import org.junit.Test;
+
+@SuppressWarnings("nls")
+@PluginResource("resources/DocumentTemplateElementType/SysML16_DocumentTemplateSemanticOwnerDeletion.di")
+public class SysML16_DocumentTemplateElementTypeTest {
+
+	/**
+	 * The editor fixture
+	 */
+	@Rule
+	public final PapyrusEditorFixture fixture = new PapyrusEditorFixture(Collections.singletonList("pdst"));
+
+	/**
+	 * This tests checks the elements available for the creation throw the
+	 * Architecture Framework
+	 */
+	@Test
+	public void checkDocumentTemplateOwnerDeletion() {
+		final Package root = this.fixture.getModel();
+		final Resource pdstRes = getPDSTResourceForCurrentModel();
+		Assert.assertNotNull("The pdst resource has not been found.", pdstRes);
+		Assert.assertEquals("The pdst resource doesn't contains the expected elements.", 2, pdstRes.getContents().size());
+		NamedElement subPackage = root.getOwnedMember("SubPackage");
+		Assert.assertNotNull("The subpackage has not been found.", subPackage);
+
+		for (final EObject current : pdstRes.getContents()) {
+			Assert.assertTrue("The pdst resource doesn't contains the expected elements.", current instanceof DocumentTemplate);
+			Assert.assertTrue("The owner of the DocumentTemplate is not the expected one.", subPackage == ((DocumentTemplate) current).getSemanticContext());
+		}
+
+		DestroyElementRequest destroyRequest = new DestroyElementRequest(subPackage, false);
+		final IElementEditService provider = ElementEditServiceUtils.getCommandProvider(subPackage);
+		final ICommand cmd = provider.getEditCommand(destroyRequest);
+
+		Assert.assertNotNull("The destroy command is null", cmd);
+		Assert.assertTrue("The destroy command is not executable", cmd.canExecute());
+
+		// we check the command
+		final CommandStack commandStack = this.fixture.getEditingDomain().getCommandStack();
+		commandStack.execute(GMFtoEMFCommandWrapper.wrap(cmd));
+
+		this.fixture.save();
+
+		Assert.assertNull("The subpackage has not been deleted", root.getOwnedMember("SubPackage"));
+
+		// we check the contents of the pdst file
+		Assert.assertEquals("The pdst resource is not empty after the deletion of the semantic context", 0, pdstRes.getContents().size());
+
+		commandStack.undo();
+
+		Assert.assertEquals("The pdst resource is empty after the undo of the deletion of the semantic context", 2, pdstRes.getContents().size());
+
+		commandStack.redo();
+		this.fixture.save();
+
+		Assert.assertEquals("The pdst resource is not empty after the redo of the deletion of the semantic context", 0, pdstRes.getContents().size());
+
+	}
+
+	@Test
+	public void checkElementTypeConfiguration() {
+		final Map<String, Map<String, ElementTypeSetConfiguration>> elementTypeSetConfigurationsArchitecture = ElementTypeSetConfigurationRegistry.getInstance().getElementTypeSetConfigurations();
+		Assert.assertNotNull("The method ElementTypeSetConfigurationRegistry.getInstance().getElementTypeSetConfigurations() returns null", elementTypeSetConfigurationsArchitecture);
+		Assert.assertFalse("The method ElementTypeSetConfigurationRegistry.getInstance().getElementTypeSetConfigurations() returns an empty map", elementTypeSetConfigurationsArchitecture.isEmpty());
+
+		final Map<String, ElementTypeSetConfiguration> elementTypeSetConfigurations = elementTypeSetConfigurationsArchitecture.get(DocumentTemplateElementTypesConstants.PAPYRUS_ELEMENT_TYPE_CONTEXT);
+		Assert.assertNotNull(NLS.bind("The map of ElementTypeSetConfiguration is null for the context {0}", DocumentTemplateElementTypesConstants.PAPYRUS_ELEMENT_TYPE_CONTEXT), elementTypeSetConfigurations);
+		Assert.assertFalse(NLS.bind("The map of ElementTypeSetConfiguration is empty the context {0}", DocumentTemplateElementTypesConstants.PAPYRUS_ELEMENT_TYPE_CONTEXT), elementTypeSetConfigurations.isEmpty());
+
+
+		boolean findRequiredTypeSet = false;
+		final Iterator<Entry<String, ElementTypeSetConfiguration>> iter = elementTypeSetConfigurations.entrySet().iterator();
+		while (iter.hasNext() && !findRequiredTypeSet) {
+			findRequiredTypeSet = DocumentTemplateElementTypesConstants.DOCUMENT_TEMPLATE_ELEMENT_TYPE_SET_ID.equals(iter.next().getValue().getIdentifier());
+		}
+
+		Assert.assertTrue(findRequiredTypeSet);
+	}
+
+
+	/**
+	 *
+	 * @return the *.pdst resource associated to the current model
+	 */
+	protected final Resource getPDSTResourceForCurrentModel() {
+		for (final Resource current : this.fixture.getResourceSet().getResources()) {
+			if (DocumentStructureTemplateConstants.DOCUMENT_STRUCTURE_TEMPLATE_FILE_EXTENSION
+					.equals(current.getURI().fileExtension())) {
+				if (this.fixture.getModelResourceURI().trimFileExtension()
+						.equals(current.getURI().trimFileExtension())) {
+					return current;
+				}
+			}
+		}
+		return null;
+	}
+}
diff --git a/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/.classpath b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/.classpath
new file mode 100755
index 0000000..a42a828
--- /dev/null
+++ b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/.classpath
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11"/>
+	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+	<classpathentry kind="src" path="src">
+		<attributes>
+			<attribute name="test" value="true"/>
+		</attributes>
+	</classpathentry>
+	<classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/.project b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/.project
new file mode 100755
index 0000000..17842b9
--- /dev/null
+++ b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.ManifestBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.SchemaBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.pde.PluginNature</nature>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>
diff --git a/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/.settings/org.eclipse.core.resources.prefs b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/.settings/org.eclipse.core.resources.prefs
new file mode 100755
index 0000000..896a9a5
--- /dev/null
+++ b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+encoding/<project>=UTF-8
\ No newline at end of file
diff --git a/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/.settings/org.eclipse.core.runtime.prefs b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/.settings/org.eclipse.core.runtime.prefs
new file mode 100755
index 0000000..5a0ad22
--- /dev/null
+++ b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/.settings/org.eclipse.core.runtime.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+line.separator=\n
diff --git a/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/.settings/org.eclipse.jdt.core.prefs b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/.settings/org.eclipse.jdt.core.prefs
new file mode 100755
index 0000000..037f04a
--- /dev/null
+++ b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,319 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=11
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=warning
+org.eclipse.jdt.core.compiler.release=enabled
+org.eclipse.jdt.core.compiler.source=11
+org.eclipse.jdt.core.formatter.align_type_members_on_columns=false
+org.eclipse.jdt.core.formatter.alignment_for_additive_operator=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_allocation_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_annotation=0
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_enum_constant=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_method_invocation=16
+org.eclipse.jdt.core.formatter.alignment_for_arguments_in_qualified_allocation_expression=16
+org.eclipse.jdt.core.formatter.alignment_for_assignment=0
+org.eclipse.jdt.core.formatter.alignment_for_bitwise_operator=16
+org.eclipse.jdt.core.formatter.alignment_for_compact_if=16
+org.eclipse.jdt.core.formatter.alignment_for_conditional_expression=80
+org.eclipse.jdt.core.formatter.alignment_for_enum_constants=0
+org.eclipse.jdt.core.formatter.alignment_for_expressions_in_array_initializer=16
+org.eclipse.jdt.core.formatter.alignment_for_logical_operator=16
+org.eclipse.jdt.core.formatter.alignment_for_method_declaration=0
+org.eclipse.jdt.core.formatter.alignment_for_multiple_fields=16
+org.eclipse.jdt.core.formatter.alignment_for_multiplicative_operator=16
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_parameters_in_method_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_resources_in_try=80
+org.eclipse.jdt.core.formatter.alignment_for_selector_in_method_invocation=16
+org.eclipse.jdt.core.formatter.alignment_for_string_concatenation=16
+org.eclipse.jdt.core.formatter.alignment_for_superclass_in_type_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_enum_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_superinterfaces_in_type_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_method_declaration=16
+org.eclipse.jdt.core.formatter.alignment_for_union_type_in_multicatch=16
+org.eclipse.jdt.core.formatter.blank_lines_after_imports=1
+org.eclipse.jdt.core.formatter.blank_lines_after_package=1
+org.eclipse.jdt.core.formatter.blank_lines_before_field=0
+org.eclipse.jdt.core.formatter.blank_lines_before_first_class_body_declaration=0
+org.eclipse.jdt.core.formatter.blank_lines_before_imports=1
+org.eclipse.jdt.core.formatter.blank_lines_before_member_type=1
+org.eclipse.jdt.core.formatter.blank_lines_before_method=1
+org.eclipse.jdt.core.formatter.blank_lines_before_new_chunk=1
+org.eclipse.jdt.core.formatter.blank_lines_before_package=0
+org.eclipse.jdt.core.formatter.blank_lines_between_import_groups=1
+org.eclipse.jdt.core.formatter.blank_lines_between_type_declarations=1
+org.eclipse.jdt.core.formatter.brace_position_for_annotation_type_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_anonymous_type_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_array_initializer=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_block=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_block_in_case=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_constructor_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_enum_constant=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_enum_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_lambda_body=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_method_declaration=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_switch=end_of_line
+org.eclipse.jdt.core.formatter.brace_position_for_type_declaration=end_of_line
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_block_comment=false
+org.eclipse.jdt.core.formatter.comment.clear_blank_lines_in_javadoc_comment=false
+org.eclipse.jdt.core.formatter.comment.format_block_comments=true
+org.eclipse.jdt.core.formatter.comment.format_header=false
+org.eclipse.jdt.core.formatter.comment.format_html=true
+org.eclipse.jdt.core.formatter.comment.format_javadoc_comments=true
+org.eclipse.jdt.core.formatter.comment.format_line_comments=true
+org.eclipse.jdt.core.formatter.comment.format_source_code=true
+org.eclipse.jdt.core.formatter.comment.indent_parameter_description=true
+org.eclipse.jdt.core.formatter.comment.indent_root_tags=true
+org.eclipse.jdt.core.formatter.comment.insert_new_line_before_root_tags=insert
+org.eclipse.jdt.core.formatter.comment.insert_new_line_for_parameter=insert
+org.eclipse.jdt.core.formatter.comment.line_length=260
+org.eclipse.jdt.core.formatter.comment.new_lines_at_block_boundaries=true
+org.eclipse.jdt.core.formatter.comment.new_lines_at_javadoc_boundaries=true
+org.eclipse.jdt.core.formatter.comment.preserve_white_space_between_code_and_line_comments=false
+org.eclipse.jdt.core.formatter.compact_else_if=true
+org.eclipse.jdt.core.formatter.continuation_indentation=2
+org.eclipse.jdt.core.formatter.continuation_indentation_for_array_initializer=2
+org.eclipse.jdt.core.formatter.disabling_tag=@formatter\:off
+org.eclipse.jdt.core.formatter.enabling_tag=@formatter\:on
+org.eclipse.jdt.core.formatter.format_guardian_clause_on_one_line=false
+org.eclipse.jdt.core.formatter.format_line_comment_starting_on_first_column=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_annotation_declaration_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_constant_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_enum_declaration_header=true
+org.eclipse.jdt.core.formatter.indent_body_declarations_compare_to_type_header=true
+org.eclipse.jdt.core.formatter.indent_breaks_compare_to_cases=true
+org.eclipse.jdt.core.formatter.indent_empty_lines=false
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_block=true
+org.eclipse.jdt.core.formatter.indent_statements_compare_to_body=true
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_cases=true
+org.eclipse.jdt.core.formatter.indent_switchstatements_compare_to_switch=false
+org.eclipse.jdt.core.formatter.indentation.size=4
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_field=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_local_variable=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_method=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_package=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_parameter=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_annotation_on_type=insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_label=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_opening_brace_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_after_type_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_catch_in_try_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_closing_brace_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_else_in_if_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_finally_in_try_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_before_while_in_do_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_annotation_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_anonymous_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_block=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_constant=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_enum_declaration=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_method_body=insert
+org.eclipse.jdt.core.formatter.insert_new_line_in_empty_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_after_additive_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_and_in_type_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_after_assignment_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_at_in_annotation_type_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_bitwise_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_angle_bracket_in_type_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_brace_in_block=insert
+org.eclipse.jdt.core.formatter.insert_space_after_closing_paren_in_cast=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_assert=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_case=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_colon_in_labeled_statement=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_allocation_expression=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_annotation=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_constructor_declaration_throws=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_constant_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_enum_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_explicitconstructorcall_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_increments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_for_inits=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_declaration_throws=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_method_invocation_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_field_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_multiple_local_declarations=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_parameterized_type_reference=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_superinterfaces=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_arguments=insert
+org.eclipse.jdt.core.formatter.insert_space_after_comma_in_type_parameters=insert
+org.eclipse.jdt.core.formatter.insert_space_after_ellipsis=insert
+org.eclipse.jdt.core.formatter.insert_space_after_lambda_arrow=insert
+org.eclipse.jdt.core.formatter.insert_space_after_logical_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_multiplicative_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_catch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_if=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_switch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_synchronized=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_try=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_while=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_postfix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_prefix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_after_question_in_wildcard=do not insert
+org.eclipse.jdt.core.formatter.insert_space_after_relational_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_after_semicolon_in_try_resources=insert
+org.eclipse.jdt.core.formatter.insert_space_after_shift_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_after_string_concatenation=insert
+org.eclipse.jdt.core.formatter.insert_space_after_unary_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_additive_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_and_in_type_parameter=insert
+org.eclipse.jdt.core.formatter.insert_space_before_assignment_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_at_in_annotation_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_bitwise_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_cast=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_catch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_if=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_switch=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_synchronized=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_try=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_closing_paren_in_while=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_assert=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_case=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_default=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_before_colon_in_labeled_statement=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_constructor_declaration_throws=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_constant_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_enum_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_explicitconstructorcall_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_increments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_for_inits=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_declaration_throws=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_method_invocation_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_field_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_multiple_local_declarations=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_superinterfaces=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_comma_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_ellipsis=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_lambda_arrow=insert
+org.eclipse.jdt.core.formatter.insert_space_before_logical_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_multiplicative_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_parameterized_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_arguments=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_angle_bracket_in_type_parameters=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_annotation_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_anonymous_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_array_initializer=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_block=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_constructor_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_constant=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_enum_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_method_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_switch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_brace_in_type_declaration=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_bracket_in_array_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_annotation_type_member_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_catch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_for=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_if=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_parenthesized_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_switch=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_synchronized=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_try=insert
+org.eclipse.jdt.core.formatter.insert_space_before_opening_paren_in_while=insert
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_return=insert
+org.eclipse.jdt.core.formatter.insert_space_before_parenthesized_expression_in_throw=insert
+org.eclipse.jdt.core.formatter.insert_space_before_postfix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_prefix_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_conditional=insert
+org.eclipse.jdt.core.formatter.insert_space_before_question_in_wildcard=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_relational_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_for=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_semicolon_in_try_resources=do not insert
+org.eclipse.jdt.core.formatter.insert_space_before_shift_operator=insert
+org.eclipse.jdt.core.formatter.insert_space_before_string_concatenation=insert
+org.eclipse.jdt.core.formatter.insert_space_before_unary_operator=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_brackets_in_array_type_reference=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_braces_in_array_initializer=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_brackets_in_array_allocation_expression=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_annotation_type_member_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_constructor_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_enum_constant=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_declaration=do not insert
+org.eclipse.jdt.core.formatter.insert_space_between_empty_parens_in_method_invocation=do not insert
+org.eclipse.jdt.core.formatter.join_lines_in_comments=false
+org.eclipse.jdt.core.formatter.join_wrapped_lines=false
+org.eclipse.jdt.core.formatter.keep_else_statement_on_same_line=false
+org.eclipse.jdt.core.formatter.keep_empty_array_initializer_on_one_line=false
+org.eclipse.jdt.core.formatter.keep_imple_if_on_one_line=false
+org.eclipse.jdt.core.formatter.keep_then_statement_on_same_line=false
+org.eclipse.jdt.core.formatter.lineSplit=260
+org.eclipse.jdt.core.formatter.never_indent_block_comments_on_first_column=false
+org.eclipse.jdt.core.formatter.never_indent_line_comments_on_first_column=false
+org.eclipse.jdt.core.formatter.number_of_blank_lines_at_beginning_of_method_body=0
+org.eclipse.jdt.core.formatter.number_of_empty_lines_to_preserve=5
+org.eclipse.jdt.core.formatter.put_empty_statement_on_new_line=true
+org.eclipse.jdt.core.formatter.tabulation.char=tab
+org.eclipse.jdt.core.formatter.tabulation.size=4
+org.eclipse.jdt.core.formatter.use_on_off_tags=false
+org.eclipse.jdt.core.formatter.use_tabs_only_for_leading_indentations=false
+org.eclipse.jdt.core.formatter.wrap_before_additive_operator=true
+org.eclipse.jdt.core.formatter.wrap_before_bitwise_operator=true
+org.eclipse.jdt.core.formatter.wrap_before_logical_operator=true
+org.eclipse.jdt.core.formatter.wrap_before_multiplicative_operator=true
+org.eclipse.jdt.core.formatter.wrap_before_or_operator_multicatch=true
+org.eclipse.jdt.core.formatter.wrap_before_string_concatenation=true
+org.eclipse.jdt.core.formatter.wrap_outer_expressions_when_nested=true
diff --git a/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/.settings/org.eclipse.jdt.ui.prefs b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/.settings/org.eclipse.jdt.ui.prefs
new file mode 100755
index 0000000..1a3bd02
--- /dev/null
+++ b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/.settings/org.eclipse.jdt.ui.prefs
@@ -0,0 +1,127 @@
+cleanup.add_default_serial_version_id=true
+cleanup.add_generated_serial_version_id=false
+cleanup.add_missing_annotations=true
+cleanup.add_missing_deprecated_annotations=true
+cleanup.add_missing_methods=false
+cleanup.add_missing_nls_tags=false
+cleanup.add_missing_override_annotations=true
+cleanup.add_missing_override_annotations_interface_methods=true
+cleanup.add_serial_version_id=false
+cleanup.always_use_blocks=true
+cleanup.always_use_parentheses_in_expressions=false
+cleanup.always_use_this_for_non_static_field_access=false
+cleanup.always_use_this_for_non_static_method_access=false
+cleanup.convert_functional_interfaces=false
+cleanup.convert_to_enhanced_for_loop=false
+cleanup.correct_indentation=false
+cleanup.format_source_code=false
+cleanup.format_source_code_changes_only=false
+cleanup.insert_inferred_type_arguments=false
+cleanup.make_local_variable_final=true
+cleanup.make_parameters_final=false
+cleanup.make_private_fields_final=true
+cleanup.make_type_abstract_if_missing_method=false
+cleanup.make_variable_declarations_final=false
+cleanup.never_use_blocks=false
+cleanup.never_use_parentheses_in_expressions=true
+cleanup.organize_imports=false
+cleanup.qualify_static_field_accesses_with_declaring_class=false
+cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
+cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
+cleanup.qualify_static_member_accesses_with_declaring_class=true
+cleanup.qualify_static_method_accesses_with_declaring_class=false
+cleanup.remove_private_constructors=true
+cleanup.remove_redundant_type_arguments=true
+cleanup.remove_trailing_whitespaces=true
+cleanup.remove_trailing_whitespaces_all=true
+cleanup.remove_trailing_whitespaces_ignore_empty=false
+cleanup.remove_unnecessary_casts=true
+cleanup.remove_unnecessary_nls_tags=true
+cleanup.remove_unused_imports=true
+cleanup.remove_unused_local_variables=false
+cleanup.remove_unused_private_fields=true
+cleanup.remove_unused_private_members=false
+cleanup.remove_unused_private_methods=true
+cleanup.remove_unused_private_types=true
+cleanup.sort_members=false
+cleanup.sort_members_all=false
+cleanup.use_anonymous_class_creation=false
+cleanup.use_blocks=true
+cleanup.use_blocks_only_for_return_and_throw=false
+cleanup.use_lambda=true
+cleanup.use_parentheses_in_expressions=false
+cleanup.use_this_for_non_static_field_access=false
+cleanup.use_this_for_non_static_field_access_only_if_necessary=true
+cleanup.use_this_for_non_static_method_access=false
+cleanup.use_this_for_non_static_method_access_only_if_necessary=true
+cleanup.use_type_arguments=false
+cleanup_profile=_Papyrus
+cleanup_settings_version=2
+eclipse.preferences.version=1
+editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
+formatter_profile=_Papyrus
+formatter_settings_version=12
+org.eclipse.jdt.ui.ignorelowercasenames=true
+org.eclipse.jdt.ui.importorder=java;javax;org;com;
+org.eclipse.jdt.ui.javadoc=true
+org.eclipse.jdt.ui.ondemandthreshold=99
+org.eclipse.jdt.ui.staticondemandthreshold=99
+org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8" standalone\="no"?><templates><template autoinsert\="true" context\="gettercomment_context" deleted\="false" description\="Comment for getter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.gettercomment" name\="gettercomment">/**\n * @return the ${bare_field_name}\n */</template><template autoinsert\="true" context\="settercomment_context" deleted\="false" description\="Comment for setter method" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.settercomment" name\="settercomment">/**\n * @param ${param} the ${bare_field_name} to set\n */</template><template autoinsert\="false" context\="constructorcomment_context" deleted\="false" description\="Comment for created constructors" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorcomment" name\="constructorcomment">/**\n * Constructor.\n *\n * ${tags}\n */</template><template autoinsert\="false" context\="filecomment_context" deleted\="false" description\="Comment for created Java files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.filecomment" name\="filecomment">/*****************************************************************************\n * Copyright (c) ${year} CEA LIST and others.\n * \n * All rights reserved. This program and the accompanying materials\n * are made available under the terms of the Eclipse Public License 2.0\n * which accompanies this distribution, and is available at\n * http\://www.eclipse.org/legal/epl-2.0/\n *\n * SPDX-License-Identifier: EPL-2.0\n *\n * Contributors\:\n *   CEA LIST - Initial API and implementation\n *   \n *****************************************************************************/\n</template><template autoinsert\="true" context\="typecomment_context" deleted\="false" description\="Comment for created types" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.typecomment" name\="typecomment">/**\n *\n * ${tags}\n */</template><template autoinsert\="true" context\="fieldcomment_context" deleted\="false" description\="Comment for fields" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.fieldcomment" name\="fieldcomment">/**\n * \n */</template><template autoinsert\="true" context\="methodcomment_context" deleted\="false" description\="Comment for non-overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodcomment" name\="methodcomment">/**\n * ${tags}\n */</template><template autoinsert\="false" context\="overridecomment_context" deleted\="false" description\="Comment for overriding methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.overridecomment" name\="overridecomment">/**\n * ${see_to_overridden}\n *\n * ${tags}\n */</template><template autoinsert\="false" context\="delegatecomment_context" deleted\="false" description\="Comment for delegate methods" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.delegatecomment" name\="delegatecomment">/**\n * ${see_to_target}\n *\n * ${tags}\n */</template><template autoinsert\="true" context\="newtype_context" deleted\="false" description\="Newly created files" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.newtype" name\="newtype">${filecomment}\n${package_declaration}\n\n${typecomment}\n${type_declaration}</template><template autoinsert\="true" context\="classbody_context" deleted\="false" description\="Code in new class type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.classbody" name\="classbody">\n</template><template autoinsert\="true" context\="interfacebody_context" deleted\="false" description\="Code in new interface type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.interfacebody" name\="interfacebody">\n</template><template autoinsert\="true" context\="enumbody_context" deleted\="false" description\="Code in new enum type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.enumbody" name\="enumbody">\n</template><template autoinsert\="true" context\="annotationbody_context" deleted\="false" description\="Code in new annotation type bodies" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.annotationbody" name\="annotationbody">\n</template><template autoinsert\="true" context\="catchblock_context" deleted\="false" description\="Code in new catch blocks" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.catchblock" name\="catchblock">// ${todo} Auto-generated catch block\n${exception_var}.printStackTrace();</template><template autoinsert\="true" context\="methodbody_context" deleted\="false" description\="Code in created method stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.methodbody" name\="methodbody">// ${todo} Auto-generated method stub\n${body_statement}</template><template autoinsert\="true" context\="constructorbody_context" deleted\="false" description\="Code in created constructor stubs" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.constructorbody" name\="constructorbody">${body_statement}\n// ${todo} Auto-generated constructor stub</template><template autoinsert\="true" context\="getterbody_context" deleted\="false" description\="Code in created getters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.getterbody" name\="getterbody">return ${field};</template><template autoinsert\="true" context\="setterbody_context" deleted\="false" description\="Code in created setters" enabled\="true" id\="org.eclipse.jdt.ui.text.codetemplates.setterbody" name\="setterbody">${field} \= ${param};</template></templates>
+sp_cleanup.add_default_serial_version_id=true
+sp_cleanup.add_generated_serial_version_id=false
+sp_cleanup.add_missing_annotations=true
+sp_cleanup.add_missing_deprecated_annotations=true
+sp_cleanup.add_missing_methods=false
+sp_cleanup.add_missing_nls_tags=false
+sp_cleanup.add_missing_override_annotations=true
+sp_cleanup.add_missing_override_annotations_interface_methods=true
+sp_cleanup.add_serial_version_id=false
+sp_cleanup.always_use_blocks=true
+sp_cleanup.always_use_parentheses_in_expressions=false
+sp_cleanup.always_use_this_for_non_static_field_access=false
+sp_cleanup.always_use_this_for_non_static_method_access=false
+sp_cleanup.convert_functional_interfaces=false
+sp_cleanup.convert_to_enhanced_for_loop=false
+sp_cleanup.correct_indentation=false
+sp_cleanup.format_source_code=true
+sp_cleanup.format_source_code_changes_only=false
+sp_cleanup.insert_inferred_type_arguments=false
+sp_cleanup.make_local_variable_final=true
+sp_cleanup.make_parameters_final=false
+sp_cleanup.make_private_fields_final=true
+sp_cleanup.make_type_abstract_if_missing_method=false
+sp_cleanup.make_variable_declarations_final=false
+sp_cleanup.never_use_blocks=false
+sp_cleanup.never_use_parentheses_in_expressions=true
+sp_cleanup.on_save_use_additional_actions=true
+sp_cleanup.organize_imports=true
+sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
+sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
+sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
+sp_cleanup.qualify_static_member_accesses_with_declaring_class=false
+sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
+sp_cleanup.remove_private_constructors=true
+sp_cleanup.remove_redundant_modifiers=false
+sp_cleanup.remove_redundant_type_arguments=true
+sp_cleanup.remove_trailing_whitespaces=true
+sp_cleanup.remove_trailing_whitespaces_all=true
+sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
+sp_cleanup.remove_unnecessary_casts=true
+sp_cleanup.remove_unnecessary_nls_tags=true
+sp_cleanup.remove_unused_imports=true
+sp_cleanup.remove_unused_local_variables=false
+sp_cleanup.remove_unused_private_fields=true
+sp_cleanup.remove_unused_private_members=false
+sp_cleanup.remove_unused_private_methods=true
+sp_cleanup.remove_unused_private_types=true
+sp_cleanup.sort_members=false
+sp_cleanup.sort_members_all=false
+sp_cleanup.use_anonymous_class_creation=false
+sp_cleanup.use_blocks=true
+sp_cleanup.use_blocks_only_for_return_and_throw=false
+sp_cleanup.use_lambda=true
+sp_cleanup.use_parentheses_in_expressions=false
+sp_cleanup.use_this_for_non_static_field_access=false
+sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
+sp_cleanup.use_this_for_non_static_method_access=false
+sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true
diff --git a/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/.settings/org.eclipse.pde.api.tools.prefs b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/.settings/org.eclipse.pde.api.tools.prefs
new file mode 100755
index 0000000..b2260f8
--- /dev/null
+++ b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/.settings/org.eclipse.pde.api.tools.prefs
@@ -0,0 +1,104 @@
+ANNOTATION_ELEMENT_TYPE_ADDED_FIELD=Error
+ANNOTATION_ELEMENT_TYPE_ADDED_METHOD_WITHOUT_DEFAULT_VALUE=Error
+ANNOTATION_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error
+ANNOTATION_ELEMENT_TYPE_REMOVED_FIELD=Error
+ANNOTATION_ELEMENT_TYPE_REMOVED_METHOD=Error
+ANNOTATION_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error
+API_COMPONENT_ELEMENT_TYPE_REMOVED_API_TYPE=Error
+API_COMPONENT_ELEMENT_TYPE_REMOVED_REEXPORTED_API_TYPE=Warning
+API_COMPONENT_ELEMENT_TYPE_REMOVED_REEXPORTED_TYPE=Warning
+API_COMPONENT_ELEMENT_TYPE_REMOVED_TYPE=Error
+API_USE_SCAN_FIELD_SEVERITY=Error
+API_USE_SCAN_METHOD_SEVERITY=Error
+API_USE_SCAN_TYPE_SEVERITY=Error
+CLASS_ELEMENT_TYPE_ADDED_FIELD=Warning
+CLASS_ELEMENT_TYPE_ADDED_METHOD=Error
+CLASS_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error
+CLASS_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error
+CLASS_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error
+CLASS_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error
+CLASS_ELEMENT_TYPE_CHANGED_NON_ABSTRACT_TO_ABSTRACT=Error
+CLASS_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error
+CLASS_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error
+CLASS_ELEMENT_TYPE_REMOVED_CONSTRUCTOR=Error
+CLASS_ELEMENT_TYPE_REMOVED_FIELD=Error
+CLASS_ELEMENT_TYPE_REMOVED_METHOD=Error
+CLASS_ELEMENT_TYPE_REMOVED_SUPERCLASS=Error
+CLASS_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error
+CLASS_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error
+CONSTRUCTOR_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error
+CONSTRUCTOR_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error
+CONSTRUCTOR_ELEMENT_TYPE_CHANGED_VARARGS_TO_ARRAY=Error
+CONSTRUCTOR_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error
+ENUM_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error
+ENUM_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error
+ENUM_ELEMENT_TYPE_REMOVED_ENUM_CONSTANT=Error
+ENUM_ELEMENT_TYPE_REMOVED_FIELD=Error
+ENUM_ELEMENT_TYPE_REMOVED_METHOD=Error
+ENUM_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error
+FIELD_ELEMENT_TYPE_ADDED_VALUE=Warning
+FIELD_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error
+FIELD_ELEMENT_TYPE_CHANGED_FINAL_TO_NON_FINAL_STATIC_CONSTANT=Error
+FIELD_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error
+FIELD_ELEMENT_TYPE_CHANGED_NON_STATIC_TO_STATIC=Error
+FIELD_ELEMENT_TYPE_CHANGED_STATIC_TO_NON_STATIC=Error
+FIELD_ELEMENT_TYPE_CHANGED_TYPE=Error
+FIELD_ELEMENT_TYPE_CHANGED_VALUE=Warning
+FIELD_ELEMENT_TYPE_REMOVED_TYPE_ARGUMENT=Error
+FIELD_ELEMENT_TYPE_REMOVED_VALUE=Error
+ILLEGAL_EXTEND=Warning
+ILLEGAL_IMPLEMENT=Warning
+ILLEGAL_INSTANTIATE=Warning
+ILLEGAL_OVERRIDE=Warning
+ILLEGAL_REFERENCE=Warning
+INTERFACE_ELEMENT_TYPE_ADDED_DEFAULT_METHOD=Warning
+INTERFACE_ELEMENT_TYPE_ADDED_FIELD=Ignore
+INTERFACE_ELEMENT_TYPE_ADDED_METHOD=Error
+INTERFACE_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error
+INTERFACE_ELEMENT_TYPE_ADDED_SUPER_INTERFACE_WITH_METHODS=Error
+INTERFACE_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error
+INTERFACE_ELEMENT_TYPE_CHANGED_CONTRACTED_SUPERINTERFACES_SET=Error
+INTERFACE_ELEMENT_TYPE_CHANGED_TYPE_CONVERSION=Error
+INTERFACE_ELEMENT_TYPE_REMOVED_FIELD=Error
+INTERFACE_ELEMENT_TYPE_REMOVED_METHOD=Error
+INTERFACE_ELEMENT_TYPE_REMOVED_TYPE_MEMBER=Error
+INTERFACE_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error
+INVALID_ANNOTATION=Ignore
+INVALID_JAVADOC_TAG=Ignore
+INVALID_REFERENCE_IN_SYSTEM_LIBRARIES=Ignore
+LEAK_EXTEND=Warning
+LEAK_FIELD_DECL=Warning
+LEAK_IMPLEMENT=Warning
+LEAK_METHOD_PARAM=Warning
+LEAK_METHOD_RETURN_TYPE=Warning
+METHOD_ELEMENT_TYPE_ADDED_RESTRICTIONS=Error
+METHOD_ELEMENT_TYPE_ADDED_TYPE_PARAMETER=Error
+METHOD_ELEMENT_TYPE_CHANGED_DECREASE_ACCESS=Error
+METHOD_ELEMENT_TYPE_CHANGED_NON_ABSTRACT_TO_ABSTRACT=Error
+METHOD_ELEMENT_TYPE_CHANGED_NON_FINAL_TO_FINAL=Error
+METHOD_ELEMENT_TYPE_CHANGED_NON_STATIC_TO_STATIC=Error
+METHOD_ELEMENT_TYPE_CHANGED_STATIC_TO_NON_STATIC=Error
+METHOD_ELEMENT_TYPE_CHANGED_VARARGS_TO_ARRAY=Error
+METHOD_ELEMENT_TYPE_REMOVED_ANNOTATION_DEFAULT_VALUE=Error
+METHOD_ELEMENT_TYPE_REMOVED_TYPE_PARAMETER=Error
+MISSING_EE_DESCRIPTIONS=Error
+TYPE_PARAMETER_ELEMENT_TYPE_ADDED_CLASS_BOUND=Error
+TYPE_PARAMETER_ELEMENT_TYPE_ADDED_INTERFACE_BOUND=Error
+TYPE_PARAMETER_ELEMENT_TYPE_CHANGED_CLASS_BOUND=Error
+TYPE_PARAMETER_ELEMENT_TYPE_CHANGED_INTERFACE_BOUND=Error
+TYPE_PARAMETER_ELEMENT_TYPE_REMOVED_CLASS_BOUND=Error
+TYPE_PARAMETER_ELEMENT_TYPE_REMOVED_INTERFACE_BOUND=Error
+UNUSED_PROBLEM_FILTERS=Warning
+automatically_removed_unused_problem_filters=Enabled
+changed_execution_env=Warning
+eclipse.preferences.version=1
+incompatible_api_component_version=Warning
+incompatible_api_component_version_include_major_without_breaking_change=Disabled
+incompatible_api_component_version_include_minor_without_api_change=Disabled
+incompatible_api_component_version_report_major_without_breaking_change=Error
+incompatible_api_component_version_report_minor_without_api_change=Error
+invalid_since_tag_version=Error
+malformed_since_tag=Error
+missing_since_tag=Error
+report_api_breakage_when_major_version_incremented=Disabled
+report_resolution_errors_api_component=Warning
diff --git a/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/META-INF/MANIFEST.MF b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/META-INF/MANIFEST.MF
new file mode 100755
index 0000000..cda8f97
--- /dev/null
+++ b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/META-INF/MANIFEST.MF
@@ -0,0 +1,19 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %Bundle-Name
+Bundle-SymbolicName: org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests
+Bundle-Version: 0.8.0.qualifier
+Bundle-Vendor: %Bundle-Vendor
+Automatic-Module-Name: org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests
+Bundle-RequiredExecutionEnvironment: JavaSE-11
+Require-Bundle: org.eclipse.gmf.runtime.common.core;bundle-version="[1.7.0,2.0.0)",
+ org.eclipse.gmf.runtime.emf.type.core;bundle-version="[1.9.0,2.0.0)",
+ org.eclipse.papyrus.infra.services.edit;bundle-version="[4.0.0,5.0.0)",
+ org.eclipse.papyrus.junit.utils;bundle-version="[3.0.0,4.0.0)",
+ org.eclipse.papyrus.infra.emf.gmf;bundle-version="[2.0.0,3.0.0)",
+ org.eclipse.papyrus.infra.types;bundle-version="[5.0.0,6.0.0)",
+ org.eclipse.papyrus.infra.types.core;bundle-version="[5.0.0,6.0.0)",
+ org.eclipse.papyrus.model2doc.emf.documentstructuretemplate;bundle-version="[0.8.0,1.0.0)",
+ org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types;bundle-version="[0.8.0,1.0.0)",
+ org.eclipse.uml2.uml;bundle-version="[5.5.0,6.0.0)",
+ org.junit;bundle-version="[4.13.0,5.0.0)"
diff --git a/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/OSGI-INF/l10n/bundle.properties b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/OSGI-INF/l10n/bundle.properties
new file mode 100755
index 0000000..2b3df4c
--- /dev/null
+++ b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/OSGI-INF/l10n/bundle.properties
@@ -0,0 +1,3 @@
+#Properties file for org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests
+Bundle-Vendor = Eclipse Modeling Project
+Bundle-Name = Papyrus-Model2Doc - EMF DocumentStructureTemplate Types Tests (Incubation)
\ No newline at end of file
diff --git a/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/about.html b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/about.html
new file mode 100755
index 0000000..ef2872f
--- /dev/null
+++ b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/about.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
+<title>About</title>
+</head>
+<body lang="EN-US">
+<h2>About This Content</h2>
+ 
+<p>November 30, 2017</p>	
+<h3>License</h3>
+
+<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;).  Unless otherwise 
+indicated below, the Content is provided to you under the terms and conditions of the
+Eclipse Public License Version 2.0 (&quot;EPL&quot;).  A copy of the EPL is available 
+at <a href="https://www.eclipse.org/legal/epl-2.0/">https://www.eclipse.org/legal/epl-2.0/</a>.
+For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
+
+<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is 
+being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
+apply to your use of any object code in the Content.  Check the Redistributor's license that was 
+provided with the Content.  If no such license exists, contact the Redistributor.  Unless otherwise
+indicated below, the terms and conditions of the EPL still apply to any source code in the Content
+and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
+
+</body>
+</html>
\ No newline at end of file
diff --git a/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/build.properties b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/build.properties
new file mode 100755
index 0000000..7f6997c
--- /dev/null
+++ b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/build.properties
@@ -0,0 +1,8 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+               .,\
+               about.html,\
+               resources/,\
+               OSGI-INF/
+src.includes = about.html
diff --git a/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/pom.xml b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/pom.xml
new file mode 100755
index 0000000..2e06d26
--- /dev/null
+++ b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/pom.xml
@@ -0,0 +1,64 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+	<modelVersion>4.0.0</modelVersion>
+
+	<parent>
+		<groupId>org.eclipse.papyrus.model2doc.tests-integration</groupId>
+		<artifactId>org.eclipse.papyrus.model2doc.tests.integration</artifactId>
+		<version>0.7.0-SNAPSHOT</version>
+	</parent>
+
+	<artifactId>org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests</artifactId>
+    <packaging>eclipse-test-plugin</packaging>
+    <version>0.8.0-SNAPSHOT</version>
+
+	<build>
+		<plugins>
+			<plugin>
+				<!-- By default, don't do tests -->
+				<groupId>org.eclipse.tycho</groupId>
+				<artifactId>tycho-surefire-plugin</artifactId>
+				<version>${tycho-version}</version>
+			</plugin>
+			<plugin>
+				<groupId>org.eclipse.tycho</groupId>
+				<artifactId>target-platform-configuration</artifactId>
+				<version>${tycho-version}</version>
+				<configuration>
+					<dependency-resolution>
+						<extraRequirements>
+							<!-- required to find all model2doc plugins to check them -->
+							<requirement>
+								<type>eclipse-feature</type>
+								<id>org.eclipse.papyrus.model2doc.feature</id>
+								<versionRange>0.0.0</versionRange>
+							</requirement>
+							<requirement>
+								<type>eclipse-feature</type>
+								<id>org.eclipse.papyrus.model2doc.gmf.feature</id>
+								<versionRange>0.0.0</versionRange>
+							</requirement>
+							<requirement>
+								<type>eclipse-feature</type>
+								<id>org.eclipse.papyrus.model2doc.integration.feature</id>
+								<versionRange>0.0.0</versionRange>
+							</requirement>
+							<requirement>
+								<type>eclipse-feature</type>
+								<id>org.eclipse.papyrus.model2doc.integration.gmf.documentstructuretemplate.feature</id>
+								<versionRange>0.0.0</versionRange>
+							</requirement>
+							<requirement>
+								<type>eclipse-feature</type>
+								<id>org.eclipse.papyrus.model2doc.uml.feature</id>
+								<versionRange>0.0.0</versionRange>
+							</requirement>
+						</extraRequirements>
+					</dependency-resolution>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+</project>
diff --git a/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/resources/DocumentTemplateSemanticOwnerDeletion_001.di b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/resources/DocumentTemplateSemanticOwnerDeletion_001.di
new file mode 100755
index 0000000..8c549ee
--- /dev/null
+++ b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/resources/DocumentTemplateSemanticOwnerDeletion_001.di
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<architecture:ArchitectureDescription xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:architecture="http://www.eclipse.org/papyrus/infra/core/architecture" contextId="org.eclipse.papyrus.infra.services.edit.TypeContext"/>
diff --git a/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/resources/DocumentTemplateSemanticOwnerDeletion_001.notation b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/resources/DocumentTemplateSemanticOwnerDeletion_001.notation
new file mode 100755
index 0000000..0e35f2a
--- /dev/null
+++ b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/resources/DocumentTemplateSemanticOwnerDeletion_001.notation
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.3/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/gmfdiag/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_bWcmUKO3Eemm64ZQL_cMbw" type="PapyrusUMLClassDiagram" name="ClassDiagram1" measurementUnit="Pixel">
+  <styles xmi:type="notation:StringValueStyle" xmi:id="_bWcmUaO3Eemm64ZQL_cMbw" name="diagram_compatibility_version" stringValue="1.4.0"/>
+  <styles xmi:type="notation:DiagramStyle" xmi:id="_bWcmUqO3Eemm64ZQL_cMbw"/>
+  <styles xmi:type="style:PapyrusDiagramStyle" xmi:id="_bWcmU6O3Eemm64ZQL_cMbw" diagramKindId="org.eclipse.papyrus.uml.diagram.class">
+    <owner xmi:type="uml:Model" href="DocumentTemplateSemanticOwnerDeletion_001.uml#_eilLcKJUEemX-Ia-JWDZpw"/>
+  </styles>
+  <element xmi:type="uml:Model" href="DocumentTemplateSemanticOwnerDeletion_001.uml#_eilLcKJUEemX-Ia-JWDZpw"/>
+</notation:Diagram>
diff --git a/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/resources/DocumentTemplateSemanticOwnerDeletion_001.pdst b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/resources/DocumentTemplateSemanticOwnerDeletion_001.pdst
new file mode 100755
index 0000000..fc7c128
--- /dev/null
+++ b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/resources/DocumentTemplateSemanticOwnerDeletion_001.pdst
@@ -0,0 +1,124 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:author="http://www.eclipse.org/papyrus/model2doc/core/1.0.0/Author" xmlns:documentstructuretemplate="http://www.eclipse.org/papyrus/model2doc/emf/1.0.0/documentstructuretemplate" xmlns:documentstructuretemplate_1="http://www.eclipse.org/papyrus/model2doc/gmf/integration/1.0.0/documentstructuretemplate" xmlns:documentstructuretemplate_2="http://www.eclipse.org/papyrus/model2doc/nattable/integration/1.0.0/documentstructuretemplate" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:generatorconfiguration="http://www.eclipse.org/papyrus/model2doc/1.0.0/generatorconfiguration" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmlns:umldocumentstructuretemplate="http://www.eclipse.org/papyrus/model2doc/uml/1.0.0/documentstructuretemplate">
+  <documentstructuretemplate:TextDocumentTemplate xmi:id="_Rz4fYFHKEey_5Y9wNjPglw" name="NewODT-EmptyTextDocument0" kindId="org.eclipse.papyrus.model2doc.integration.odt.uml.architecture.emptyDocument" mainTitle="SubPackage">
+    <semanticContext xmi:type="uml:Package" href="DocumentTemplateSemanticOwnerDeletion_001.uml#_kuKugKJVEemX-Ia-JWDZpw"/>
+    <graphicalContext xmi:type="uml:Package" href="DocumentTemplateSemanticOwnerDeletion_001.uml#_kuKugKJVEemX-Ia-JWDZpw"/>
+    <documentTemplatePrototype xmi:type="documentstructuretemplate:DocumentTemplatePrototype" href="platform:/plugin/org.eclipse.papyrus.model2doc.integration.odt.uml.architecture/resources/odt-emptyTextDocumentPrototype.pdst#ODT-EmptyUMLDocumentStructureTemplateType"/>
+    <documentStructureGeneratorConfiguration xmi:type="generatorconfiguration:DefaultDocumentStructureGeneratorConfiguration" xmi:id="_Rz4fYVHKEey_5Y9wNjPglw" saveDocumentStructure="true" saveImages="true" templateFile="platform:/plugin/org.eclipse.papyrus.model2doc.odt/templates/PapyrusTemplate.ott" documentName="NewODT-EmptyTextDocument0" documentFolder="output" documentGeneratorId="org.eclipse.papyrus.model2doc.document.generator.odt" structureGeneratorId="TextDocumentStructureGenerator.default" imageFolder="output/images" structureFolder="output"/>
+    <author xmi:type="author:Author" xmi:id="_Rz4fYlHKEey_5Y9wNjPglw" firstName="Papyrus-Model2Doc" lastName="Generator"/>
+    <documentPart xmi:type="documentstructuretemplate:TableOfContents" xmi:id="_Rz4fY1HKEey_5Y9wNjPglw" tocTitle="Table Of Contents"/>
+    <documentPart xmi:type="documentstructuretemplate:Body" xmi:id="_Rz4fZFHKEey_5Y9wNjPglw"/>
+  </documentstructuretemplate:TextDocumentTemplate>
+  <documentstructuretemplate:TextDocumentTemplate xmi:id="_V5S1kFHKEey_5Y9wNjPglw" name="NewDOCX-GenericTextDocument0" kindId="org.eclipse.papyrus.model2doc.integration.docx.uml.architecture.genericDocument" mainTitle="SubPackage">
+    <semanticContext xmi:type="uml:Package" href="DocumentTemplateSemanticOwnerDeletion_001.uml#_kuKugKJVEemX-Ia-JWDZpw"/>
+    <graphicalContext xmi:type="uml:Package" href="DocumentTemplateSemanticOwnerDeletion_001.uml#_kuKugKJVEemX-Ia-JWDZpw"/>
+    <documentTemplatePrototype xmi:type="documentstructuretemplate:DocumentTemplatePrototype" href="platform:/plugin/org.eclipse.papyrus.model2doc.integration.docx.uml.architecture/resources/docx-genericTextDocumentPrototype.pdst#DOCX-GenericUMLDocumentStructureTemplateType"/>
+    <documentStructureGeneratorConfiguration xmi:type="generatorconfiguration:DefaultDocumentStructureGeneratorConfiguration" xmi:id="_V5S1kVHKEey_5Y9wNjPglw" saveDocumentStructure="true" saveImages="true" templateFile="platform:/plugin/org.eclipse.papyrus.model2doc.docx/templates/PapyrusTemplate.dotx" documentName="NewDOCX-GenericTextDocument0" documentFolder="output" documentGeneratorId="org.eclipse.papyrus.model2doc.document.generator.docx" structureGeneratorId="TextDocumentStructureGenerator.default" imageFolder="output/images" structureFolder="output"/>
+    <author xmi:type="author:Author" xmi:id="_V5S1klHKEey_5Y9wNjPglw" firstName="Papyrus-Model2Doc" lastName="Generator"/>
+    <documentPart xmi:type="documentstructuretemplate:TableOfContents" xmi:id="_V5S1k1HKEey_5Y9wNjPglw" tocTitle="Table Of Contents"/>
+    <documentPart xmi:type="documentstructuretemplate:Body" xmi:id="_V5S1lFHKEey_5Y9wNjPglw">
+      <bodyPartTemplate xmi:type="umldocumentstructuretemplate:CommentAsParagraph" xmi:id="_V5TcoFHKEey_5Y9wNjPglw" generate="true" generateTitle="true" customTitle="Description" generateIfEmpty="false" defaultTextIfEmpty="N/A" commentChoice="FIRST_OWNED_COMMENT"/>
+      <bodyPartTemplate xmi:type="documentstructuretemplate_1:PapyrusGMFDiagramView" xmi:id="_V5TcoVHKEey_5Y9wNjPglw" generate="true" generateTitle="true" customTitle="" generateIfEmpty="false" defaultTextIfEmpty="N/A" diagramImageMargin="10" imageFormat="png"/>
+      <bodyPartTemplate xmi:type="documentstructuretemplate_2:PapyrusTableView" xmi:id="_V5TcolHKEey_5Y9wNjPglw" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A" contextFilterRule="SEMANTIC_CONTEXT" importMethod="TABLE"/>
+      <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_V5Tco1HKEey_5Y9wNjPglw" generate="true" generateTitle="true" customTitle="Owned Packages" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+        <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package/packagedElement"/>
+        <subBodyPartTemplate xmi:type="documentstructuretemplate:EClassPartTemplate" xmi:id="_V5TcpFHKEey_5Y9wNjPglw" filterRule="KIND_OF" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+          <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package"/>
+          <bodyPartTemplate xmi:type="umldocumentstructuretemplate:CommentAsParagraph" xmi:id="_V5TcpVHKEey_5Y9wNjPglw" generate="true" generateTitle="true" customTitle="Description" generateIfEmpty="false" defaultTextIfEmpty="N/A" commentChoice="FIRST_OWNED_COMMENT"/>
+          <bodyPartTemplate xmi:type="documentstructuretemplate_1:PapyrusGMFDiagramView" xmi:id="_V5TcplHKEey_5Y9wNjPglw" generate="true" generateTitle="true" customTitle="" generateIfEmpty="false" defaultTextIfEmpty="N/A" diagramImageMargin="10" imageFormat="png"/>
+          <bodyPartTemplate xmi:type="documentstructuretemplate_2:PapyrusTableView" xmi:id="_V5Tcp1HKEey_5Y9wNjPglw" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A" contextFilterRule="SEMANTIC_CONTEXT" importMethod="TABLE"/>
+          <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_V5TcqFHKEey_5Y9wNjPglw" generate="true" generateTitle="true" customTitle="Owned Classes" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+            <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package/packagedElement"/>
+            <subBodyPartTemplate xmi:type="documentstructuretemplate:EClassPartTemplate" xmi:id="_V5TcqVHKEey_5Y9wNjPglw" filterRule="TYPE_OF" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+              <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+              <bodyPartTemplate xmi:type="umldocumentstructuretemplate:CommentAsParagraph" xmi:id="_V5TcqlHKEey_5Y9wNjPglw" generate="true" generateTitle="true" customTitle="Description" generateIfEmpty="false" defaultTextIfEmpty="N/A" commentChoice="FIRST_OWNED_COMMENT"/>
+              <bodyPartTemplate xmi:type="documentstructuretemplate_1:PapyrusGMFDiagramView" xmi:id="_V5Tcq1HKEey_5Y9wNjPglw" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A" diagramImageMargin="10"/>
+              <bodyPartTemplate xmi:type="documentstructuretemplate_2:PapyrusTableView" xmi:id="_V5TcrFHKEey_5Y9wNjPglw" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A" contextFilterRule="SEMANTIC_CONTEXT" importMethod="TABLE"/>
+              <bodyPartTemplate xmi:type="documentstructuretemplate:EReferenceTableView" xmi:id="_V5UDsFHKEey_5Y9wNjPglw" generate="true" generateTitle="true" customTitle="Owned Properties" generateIfEmpty="false" defaultTextIfEmpty="N/A" generateRowHeader="true" generateColumnHeader="true">
+                <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//StructuredClassifier/ownedAttribute"/>
+                <columns xmi:type="documentstructuretemplate:EStructuralFeatureColumn" xmi:id="_V5UDsVHKEey_5Y9wNjPglw">
+                  <feature xmi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/>
+                </columns>
+                <columns xmi:type="documentstructuretemplate:EStructuralFeatureColumn" xmi:id="_V5UDslHKEey_5Y9wNjPglw">
+                  <feature xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//TypedElement/type"/>
+                </columns>
+                <columns xmi:type="documentstructuretemplate:EStructuralFeatureColumn" xmi:id="_V5UDs1HKEey_5Y9wNjPglw" customColumnTitle="Lower Multiplicity">
+                  <feature xmi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//MultiplicityElement/lower"/>
+                </columns>
+                <columns xmi:type="documentstructuretemplate:EStructuralFeatureColumn" xmi:id="_V5UDtFHKEey_5Y9wNjPglw" customColumnTitle="Upper Multiplicity">
+                  <feature xmi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//MultiplicityElement/upper"/>
+                </columns>
+              </bodyPartTemplate>
+              <bodyPartTemplate xmi:type="documentstructuretemplate:TreeListView" xmi:id="_V5UDtVHKEey_5Y9wNjPglw" generate="true" generateTitle="false" customTitle="Owned Operations" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+                <rootListItemTemplate xmi:type="documentstructuretemplate:EReferenceListItemTemplate" xmi:id="_V5UDtlHKEey_5Y9wNjPglw" generateItem="false">
+                  <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class/ownedOperation"/>
+                  <subListItemTemplate xmi:type="documentstructuretemplate:EClassListItemTemplate" xmi:id="_V5UDt1HKEey_5Y9wNjPglw" filterRule="TYPE_OF" generateItem="true" customItemLabel="">
+                    <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/>
+                    <listItemTemplate xmi:type="documentstructuretemplate:EReferenceListItemTemplate" xmi:id="_V5UDuFHKEey_5Y9wNjPglw" generateItem="true" customItemLabel="Parameters">
+                      <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//BehavioralFeature/ownedParameter"/>
+                      <subListItemTemplate xmi:type="documentstructuretemplate:EClassListItemTemplate" xmi:id="_V5UDuVHKEey_5Y9wNjPglw" filterRule="TYPE_OF" generateItem="true">
+                        <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Parameter"/>
+                      </subListItemTemplate>
+                    </listItemTemplate>
+                  </subListItemTemplate>
+                </rootListItemTemplate>
+              </bodyPartTemplate>
+              <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_V5UDulHKEey_5Y9wNjPglw" generate="true" generateTitle="true" customTitle="Nested Classifiers" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+                <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class/nestedClassifier"/>
+                <subBodyPartTemplate xmi:type="documentstructuretemplate:EClassPartTemplate" xmi:id="_V5UDu1HKEey_5Y9wNjPglw" filterRule="TYPE_OF" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+                  <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+                  <bodyPartTemplate xmi:type="umldocumentstructuretemplate:CommentAsParagraph" xmi:id="_V5UqwFHKEey_5Y9wNjPglw" generate="true" generateTitle="true" customTitle="Description" generateIfEmpty="false" defaultTextIfEmpty="N/A" commentChoice="FIRST_OWNED_COMMENT"/>
+                </subBodyPartTemplate>
+              </bodyPartTemplate>
+            </subBodyPartTemplate>
+          </bodyPartTemplate>
+        </subBodyPartTemplate>
+      </bodyPartTemplate>
+      <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_V5UqwVHKEey_5Y9wNjPglw" generate="true" generateTitle="true" customTitle="Owned Classes" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+        <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Package/packagedElement"/>
+        <subBodyPartTemplate xmi:type="documentstructuretemplate:EClassPartTemplate" xmi:id="_V5UqwlHKEey_5Y9wNjPglw" filterRule="TYPE_OF" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+          <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+          <bodyPartTemplate xmi:type="umldocumentstructuretemplate:CommentAsParagraph" xmi:id="_V5Uqw1HKEey_5Y9wNjPglw" generate="true" generateTitle="true" customTitle="Description" generateIfEmpty="false" defaultTextIfEmpty="N/A" commentChoice="FIRST_OWNED_COMMENT"/>
+          <bodyPartTemplate xmi:type="documentstructuretemplate_1:PapyrusGMFDiagramView" xmi:id="_V5UqxFHKEey_5Y9wNjPglw" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A" diagramImageMargin="10" imageFormat="png"/>
+          <bodyPartTemplate xmi:type="documentstructuretemplate_2:PapyrusTableView" xmi:id="_V5UqxVHKEey_5Y9wNjPglw" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A" contextFilterRule="SEMANTIC_CONTEXT" importMethod="TABLE"/>
+          <bodyPartTemplate xmi:type="documentstructuretemplate:EReferenceTableView" xmi:id="_V5UqxlHKEey_5Y9wNjPglw" generate="true" generateTitle="true" customTitle="Owned Properties" generateIfEmpty="false" defaultTextIfEmpty="N/A" generateRowHeader="true" generateColumnHeader="true">
+            <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//StructuredClassifier/ownedAttribute"/>
+            <columns xmi:type="documentstructuretemplate:EStructuralFeatureColumn" xmi:id="_V5Uqx1HKEey_5Y9wNjPglw">
+              <feature xmi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//NamedElement/name"/>
+            </columns>
+            <columns xmi:type="documentstructuretemplate:EStructuralFeatureColumn" xmi:id="_V5UqyFHKEey_5Y9wNjPglw">
+              <feature xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//TypedElement/type"/>
+            </columns>
+            <columns xmi:type="documentstructuretemplate:EStructuralFeatureColumn" xmi:id="_V5UqyVHKEey_5Y9wNjPglw" customColumnTitle="Lower Multiplicity">
+              <feature xmi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//MultiplicityElement/lower"/>
+            </columns>
+            <columns xmi:type="documentstructuretemplate:EStructuralFeatureColumn" xmi:id="_V5UqylHKEey_5Y9wNjPglw" customColumnTitle="Upper Multiplicity">
+              <feature xmi:type="ecore:EAttribute" href="http://www.eclipse.org/uml2/5.0.0/UML#//MultiplicityElement/upper"/>
+            </columns>
+          </bodyPartTemplate>
+          <bodyPartTemplate xmi:type="documentstructuretemplate:TreeListView" xmi:id="_V5Uqy1HKEey_5Y9wNjPglw" generate="true" generateTitle="false" customTitle="Owned Operations" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+            <rootListItemTemplate xmi:type="documentstructuretemplate:EReferenceListItemTemplate" xmi:id="_V5VR0FHKEey_5Y9wNjPglw" generateItem="false">
+              <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class/ownedOperation"/>
+              <subListItemTemplate xmi:type="documentstructuretemplate:EClassListItemTemplate" xmi:id="_V5VR0VHKEey_5Y9wNjPglw" filterRule="TYPE_OF" generateItem="true" customItemLabel="">
+                <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Operation"/>
+                <listItemTemplate xmi:type="documentstructuretemplate:EReferenceListItemTemplate" xmi:id="_V5VR0lHKEey_5Y9wNjPglw" generateItem="true" customItemLabel="Parameters">
+                  <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//BehavioralFeature/ownedParameter"/>
+                  <subListItemTemplate xmi:type="documentstructuretemplate:EClassListItemTemplate" xmi:id="_V5VR01HKEey_5Y9wNjPglw" filterRule="TYPE_OF" generateItem="true">
+                    <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Parameter"/>
+                  </subListItemTemplate>
+                </listItemTemplate>
+              </subListItemTemplate>
+            </rootListItemTemplate>
+          </bodyPartTemplate>
+          <bodyPartTemplate xmi:type="documentstructuretemplate:EReferencePartTemplate" xmi:id="_V5VR1FHKEey_5Y9wNjPglw" generate="true" generateTitle="true" customTitle="Nested Classifiers" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+            <eReference xmi:type="ecore:EReference" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class/nestedClassifier"/>
+            <subBodyPartTemplate xmi:type="documentstructuretemplate:EClassPartTemplate" xmi:id="_V5VR1VHKEey_5Y9wNjPglw" filterRule="TYPE_OF" generate="true" generateTitle="true" generateIfEmpty="false" defaultTextIfEmpty="N/A">
+              <eClass xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Class"/>
+              <bodyPartTemplate xmi:type="umldocumentstructuretemplate:CommentAsParagraph" xmi:id="_V5VR1lHKEey_5Y9wNjPglw" generate="true" generateTitle="true" customTitle="Description" generateIfEmpty="false" defaultTextIfEmpty="N/A" commentChoice="FIRST_OWNED_COMMENT"/>
+            </subBodyPartTemplate>
+          </bodyPartTemplate>
+        </subBodyPartTemplate>
+      </bodyPartTemplate>
+    </documentPart>
+  </documentstructuretemplate:TextDocumentTemplate>
+</xmi:XMI>
diff --git a/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/resources/DocumentTemplateSemanticOwnerDeletion_001.uml b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/resources/DocumentTemplateSemanticOwnerDeletion_001.uml
new file mode 100755
index 0000000..89a430d
--- /dev/null
+++ b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/resources/DocumentTemplateSemanticOwnerDeletion_001.uml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<uml:Model xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_eilLcKJUEemX-Ia-JWDZpw" name="DocumentTemplateSemanticOwnerDeletion">
+  <packageImport xmi:type="uml:PackageImport" xmi:id="_enaoIKJUEemX-Ia-JWDZpw">
+    <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
+  </packageImport>
+  <packagedElement xmi:type="uml:Package" xmi:id="_kuKugKJVEemX-Ia-JWDZpw" name="SubPackage"/>
+</uml:Model>
diff --git a/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/src/org/eclipse/papyrus/model2doc/integration/emf/documentstructuretemplate/types/tests/DocumentTemplateSemanticOwnerDeletionTest.java b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/src/org/eclipse/papyrus/model2doc/integration/emf/documentstructuretemplate/types/tests/DocumentTemplateSemanticOwnerDeletionTest.java
new file mode 100755
index 0000000..ad6c791
--- /dev/null
+++ b/tests/integration/org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests/src/org/eclipse/papyrus/model2doc/integration/emf/documentstructuretemplate/types/tests/DocumentTemplateSemanticOwnerDeletionTest.java
@@ -0,0 +1,139 @@
+/*****************************************************************************
+ * Copyright (c) 2021 CEA LIST and others.
+ *
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License 2.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
+ *
+ * Contributors:
+ *  Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation
+ *
+ *****************************************************************************/
+
+package org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests;
+
+import java.util.Collections;
+import java.util.Iterator;
+import java.util.Map;
+import java.util.Map.Entry;
+
+import org.eclipse.emf.common.command.CommandStack;
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.resource.Resource;
+import org.eclipse.gmf.runtime.common.core.command.ICommand;
+import org.eclipse.gmf.runtime.emf.type.core.requests.DestroyElementRequest;
+import org.eclipse.osgi.util.NLS;
+import org.eclipse.papyrus.infra.emf.gmf.command.GMFtoEMFCommandWrapper;
+import org.eclipse.papyrus.infra.services.edit.service.ElementEditServiceUtils;
+import org.eclipse.papyrus.infra.services.edit.service.IElementEditService;
+import org.eclipse.papyrus.infra.types.ElementTypeSetConfiguration;
+import org.eclipse.papyrus.infra.types.core.registries.ElementTypeSetConfigurationRegistry;
+import org.eclipse.papyrus.junit.utils.rules.PapyrusEditorFixture;
+import org.eclipse.papyrus.junit.utils.rules.PluginResource;
+import org.eclipse.papyrus.model2doc.emf.documentstructuretemplate.DocumentTemplate;
+import org.eclipse.papyrus.model2doc.emf.documentstructuretemplate.utils.DocumentStructureTemplateConstants;
+import org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.internal.advices.DocumentTemplateElementTypesConstants;
+import org.eclipse.uml2.uml.NamedElement;
+import org.eclipse.uml2.uml.Package;
+import org.junit.Assert;
+import org.junit.Rule;
+import org.junit.Test;
+
+@SuppressWarnings("nls")
+@PluginResource("resources/DocumentTemplateSemanticOwnerDeletion_001.di")
+public class DocumentTemplateSemanticOwnerDeletionTest {
+
+	/**
+	 * The editor fixture
+	 */
+	@Rule
+	public final PapyrusEditorFixture fixture = new PapyrusEditorFixture(Collections.singletonList("pdst"));
+
+	/**
+	 * This tests checks the elements available for the creation throw the
+	 * Architecture Framework
+	 */
+	@Test
+	public void checkDocumentTemplateOwnerDeletion() {
+		final Package root = this.fixture.getModel();
+		final Resource pdstRes = getPDSTResourceForCurrentModel();
+		Assert.assertNotNull("The pdst resource has not been found.", pdstRes);
+		Assert.assertEquals("The pdst resource doesn't contains the expected elements.", 2, pdstRes.getContents().size());
+		NamedElement subPackage = root.getOwnedMember("SubPackage");
+		Assert.assertNotNull("The subpackage has not been found.", subPackage);
+
+		for (final EObject current : pdstRes.getContents()) {
+			Assert.assertTrue("The pdst resource doesn't contains the expected elements.", current instanceof DocumentTemplate);
+			Assert.assertTrue("The owner of the DocumentTemplate is not the expected one.", subPackage == ((DocumentTemplate) current).getSemanticContext());
+		}
+
+		DestroyElementRequest destroyRequest = new DestroyElementRequest(subPackage, false);
+		final IElementEditService provider = ElementEditServiceUtils.getCommandProvider(subPackage);
+		final ICommand cmd = provider.getEditCommand(destroyRequest);
+
+		Assert.assertNotNull("The destroy command is null", cmd);
+		Assert.assertTrue("The destroy command is not executable", cmd.canExecute());
+
+		// we check the command
+		final CommandStack commandStack = this.fixture.getEditingDomain().getCommandStack();
+		commandStack.execute(GMFtoEMFCommandWrapper.wrap(cmd));
+
+		this.fixture.save();
+
+		Assert.assertNull("The subpackage has not been deleted", root.getOwnedMember("SubPackage"));
+
+		// we check the contents of the pdst file
+		Assert.assertEquals("The pdst resource is not empty after the deletion of the semantic context", 0, pdstRes.getContents().size());
+
+		commandStack.undo();
+
+		Assert.assertEquals("The pdst resource is empty after the undo of the deletion of the semantic context", 2, pdstRes.getContents().size());
+
+		commandStack.redo();
+		this.fixture.save();
+
+		Assert.assertEquals("The pdst resource is not empty after the redo of the deletion of the semantic context", 0, pdstRes.getContents().size());
+
+	}
+
+	@Test
+	public void checkElementTypeConfiguration() {
+		final Map<String, Map<String, ElementTypeSetConfiguration>> elementTypeSetConfigurationsArchitecture = ElementTypeSetConfigurationRegistry.getInstance().getElementTypeSetConfigurations();
+		Assert.assertNotNull("The method ElementTypeSetConfigurationRegistry.getInstance().getElementTypeSetConfigurations() returns null", elementTypeSetConfigurationsArchitecture);
+		Assert.assertFalse("The method ElementTypeSetConfigurationRegistry.getInstance().getElementTypeSetConfigurations() returns an empty map", elementTypeSetConfigurationsArchitecture.isEmpty());
+
+		final Map<String, ElementTypeSetConfiguration> elementTypeSetConfigurations = elementTypeSetConfigurationsArchitecture.get(DocumentTemplateElementTypesConstants.PAPYRUS_ELEMENT_TYPE_CONTEXT);
+		Assert.assertNotNull(NLS.bind("The map of ElementTypeSetConfiguration is null for the context {0}", DocumentTemplateElementTypesConstants.PAPYRUS_ELEMENT_TYPE_CONTEXT), elementTypeSetConfigurations);
+		Assert.assertFalse(NLS.bind("The map of ElementTypeSetConfiguration is empty the context {0}", DocumentTemplateElementTypesConstants.PAPYRUS_ELEMENT_TYPE_CONTEXT), elementTypeSetConfigurations.isEmpty());
+
+
+		boolean findRequiredTypeSet = false;
+		final Iterator<Entry<String, ElementTypeSetConfiguration>> iter = elementTypeSetConfigurations.entrySet().iterator();
+		while (iter.hasNext() && !findRequiredTypeSet) {
+			findRequiredTypeSet = DocumentTemplateElementTypesConstants.DOCUMENT_TEMPLATE_ELEMENT_TYPE_SET_ID.equals(iter.next().getValue().getIdentifier());
+		}
+
+		Assert.assertTrue(findRequiredTypeSet);
+	}
+
+
+	/**
+	 *
+	 * @return the *.pdst resource associated to the current model
+	 */
+	protected final Resource getPDSTResourceForCurrentModel() {
+		for (final Resource current : this.fixture.getResourceSet().getResources()) {
+			if (DocumentStructureTemplateConstants.DOCUMENT_STRUCTURE_TEMPLATE_FILE_EXTENSION
+					.equals(current.getURI().fileExtension())) {
+				if (this.fixture.getModelResourceURI().trimFileExtension()
+						.equals(current.getURI().trimFileExtension())) {
+					return current;
+				}
+			}
+		}
+		return null;
+	}
+}
diff --git a/tests/integration/pom.xml b/tests/integration/pom.xml
index b38b00f..5a4e4e4 100755
--- a/tests/integration/pom.xml
+++ b/tests/integration/pom.xml
@@ -19,6 +19,7 @@
 
 	<modules>
 		<module>ieee</module>
+		<module>org.eclipse.papyrus.model2doc.integration.emf.documentstructuretemplate.types.tests</module>
 		<module>org.eclipse.papyrus.model2doc.integration.uml.architecture.tests</module>
 		<module>org.eclipse.papyrus.model2doc.integration.gmf.template2structure.tests</module>
 	</modules>