diff options
author | Juergen Haug | 2013-04-01 20:16:07 +0000 |
---|---|---|
committer | Juergen Haug | 2013-04-01 20:16:07 +0000 |
commit | 40dfb78555b1e3dd37b5323d4bf34e89561032c8 (patch) | |
tree | baf1a8f046917766f717938388bc753da86a8ea4 /plugins/org.eclipse.etrice.core.etmap | |
parent | 0dbd50da04a9371d15c2e338a61d86fa9753aa58 (diff) | |
download | org.eclipse.etrice-40dfb78555b1e3dd37b5323d4bf34e89561032c8.tar.gz org.eclipse.etrice-40dfb78555b1e3dd37b5323d4bf34e89561032c8.tar.xz org.eclipse.etrice-40dfb78555b1e3dd37b5323d4bf34e89561032c8.zip |
[core] added config docu + generated comments have initial new line
Change-Id: Icc2c89038633be0760897790bc6a00b435c7188a
Diffstat (limited to 'plugins/org.eclipse.etrice.core.etmap')
13 files changed, 75 insertions, 61 deletions
diff --git a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/ETMap.ecore b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/ETMap.ecore index 6b2551384..e1648a53e 100644 --- a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/ETMap.ecore +++ b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/ETMap.ecore @@ -4,95 +4,95 @@ nsPrefix="eTMap">
<eClassifiers xsi:type="ecore:EClass" name="MappingModel">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="The root object for the mapping model. It gives access to the mappings defined.
"/>
+ <details key="documentation" value="<br>The root object for the mapping model. It gives access to the mappings defined.
"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="name" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="The model name is a dot separated fully qualified name and is
used to provide a name space.
"/>
+ <details key="documentation" value="<br>The model name is a dot separated fully qualified name and is
used to provide a name space.
"/>
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="imports" upperBound="-1"
eType="#//Import" containment="true">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="A list of all imported models.
"/>
+ <details key="documentation" value="<br>A list of all imported models.
"/>
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="mappings" upperBound="-1"
eType="#//Mapping" containment="true">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="A list of all defined mappings.
"/>
+ <details key="documentation" value="<br>A list of all defined mappings.
"/>
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Mapping">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This is the mapping of a logical system (defined in a ROOM model) to a
physical system (defined in a physical model).
"/>
+ <details key="documentation" value="<br>This is the mapping of a logical system (defined in a ROOM model) to a
physical system (defined in a physical model).
"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="logicalSys" eType="ecore:EClass ../../../../../../../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/Room.ecore#//LogicalSystem">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This is the logical system being mapped.
"/>
+ <details key="documentation" value="<br>This is the logical system being mapped.
"/>
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="physicalSys" eType="ecore:EClass ../../../../../../../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhys.ecore#//PhysicalSystem">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This is the physical system being mapped to.
"/>
+ <details key="documentation" value="<br>This is the physical system being mapped to.
"/>
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="subsysMappings" upperBound="-1"
eType="#//SubSystemMapping" containment="true">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This is a list of nested mappings of the sub systems of this system.
"/>
+ <details key="documentation" value="<br>This is a list of nested mappings of the sub systems of this system.
"/>
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="SubSystemMapping">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This is the mapping of a sub system (defined in a ROOM model) to a
node (defined in a physical model).
"/>
+ <details key="documentation" value="<br>This is the mapping of a sub system (defined in a ROOM model) to a
node (defined in a physical model).
"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="logicalSubSys" eType="ecore:EClass ../../../../../../../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/Room.ecore#//SubSystemRef">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This is the logical sub system being mapped.
"/>
+ <details key="documentation" value="<br>This is the logical sub system being mapped.
"/>
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="node" eType="ecore:EClass ../../../../../../../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhys.ecore#//NodeRef">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This is the node being mapped to.
"/>
+ <details key="documentation" value="<br>This is the node being mapped to.
"/>
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="threadMappings" upperBound="-1"
eType="#//ThreadMapping" containment="true">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This is a list of nested mappings of logical to physical threads.
"/>
+ <details key="documentation" value="<br>This is a list of nested mappings of logical to physical threads.
"/>
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="ThreadMapping">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This is the mapping of a logical thread (defined in a ROOM model) to a
physical thread (defined in a physical model).
"/>
+ <details key="documentation" value="<br>This is the mapping of a logical thread (defined in a ROOM model) to a
physical thread (defined in a physical model).
"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EReference" name="logicalThread" eType="ecore:EClass ../../../../../../../org.eclipse.etrice.core.room/src-gen/org/eclipse/etrice/core/Room.ecore#//LogicalThread">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This is the logical thread being mapped.
"/>
+ <details key="documentation" value="<br>This is the logical thread being mapped.
"/>
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EReference" name="physicalThread" eType="ecore:EClass ../../../../../../../org.eclipse.etrice.core.etphys/src-gen/org/eclipse/etrice/core/etphys/ETPhys.ecore#//PhysicalThread">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="This is the physical thread being mapped to.
"/>
+ <details key="documentation" value="<br>This is the physical thread being mapped to.
"/>
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="Import">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="The import declares an imported model (given as a URI) and
an optional imported namespace.
"/>
+ <details key="documentation" value="<br>The import declares an imported model (given as a URI) and
an optional imported namespace.
"/>
</eAnnotations>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="importedNamespace" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="The imported name space has to be a dot separated qualified name followed by .*.
Example: my.namespace.*
"/>
+ <details key="documentation" value="<br>The imported name space has to be a dot separated qualified name followed by .*.
Example: my.namespace.*
"/>
</eAnnotations>
</eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="importURI" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString">
<eAnnotations source="http://www.eclipse.org/emf/2002/GenModel">
- <details key="documentation" value="The import URI can be a relative or absolute file system path.
It may contain environment variables in ${} which will be expanded.
<p>
Examples:
<ul>
 <li>import model "AnotherModel.room"</li>
 <li>import my.namespace.* from "AnotherModel.room"</li>
 <li>import my.namespace.* from "../../AnotherProject/models/AnotherModel.room"</li>
 <li>import my.namespace.* from "/${ROOM_MODELS}/SomeModel.room"</li>
</ul>
</p>
"/>
+ <details key="documentation" value="<br>The import URI can be a relative or absolute file system path.
It may contain environment variables in ${} which will be expanded.
<p>
Examples:
<ul>
 <li>import model "AnotherModel.room"</li>
 <li>import my.namespace.* from "AnotherModel.room"</li>
 <li>import my.namespace.* from "../../AnotherProject/models/AnotherModel.room"</li>
 <li>import my.namespace.* from "/${ROOM_MODELS}/SomeModel.room"</li>
</ul>
</p>
"/>
</eAnnotations>
</eStructuralFeatures>
</eClassifiers>
diff --git a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/ETMapStandaloneSetupGenerated.java b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/ETMapStandaloneSetupGenerated.java index ecdb6378d..c3399811d 100644 --- a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/ETMapStandaloneSetupGenerated.java +++ b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/ETMapStandaloneSetupGenerated.java @@ -1,4 +1,6 @@ - +/* +* generated by Xtext +*/ package org.eclipse.etrice.core.etmap; import org.eclipse.emf.ecore.EPackage; diff --git a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/Import.java b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/Import.java index 542abc6f8..7d9a9db87 100644 --- a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/Import.java +++ b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/Import.java @@ -10,7 +10,7 @@ import org.eclipse.emf.ecore.EObject; * <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
- * The import declares an imported model (given as a URI) and
+ * <br>The import declares an imported model (given as a URI) and
* an optional imported namespace.
*
* <!-- end-model-doc -->
@@ -34,7 +34,7 @@ public interface Import extends EObject * <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
- * The imported name space has to be a dot separated qualified name followed by .*.
+ * <br>The imported name space has to be a dot separated qualified name followed by .*.
* Example: my.namespace.*
*
* <!-- end-model-doc -->
@@ -61,7 +61,7 @@ public interface Import extends EObject * <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
- * The import URI can be a relative or absolute file system path.
+ * <br>The import URI can be a relative or absolute file system path.
* It may contain environment variables in ${} which will be expanded.
* <p>
* Examples:
diff --git a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/Mapping.java b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/Mapping.java index 58b925040..7e401b93d 100644 --- a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/Mapping.java +++ b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/Mapping.java @@ -16,7 +16,7 @@ import org.eclipse.etrice.core.room.LogicalSystem; * <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
- * This is the mapping of a logical system (defined in a ROOM model) to a
+ * <br>This is the mapping of a logical system (defined in a ROOM model) to a
* physical system (defined in a physical model).
*
* <!-- end-model-doc -->
@@ -41,7 +41,7 @@ public interface Mapping extends EObject * <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
- * This is the logical system being mapped.
+ * <br>This is the logical system being mapped.
*
* <!-- end-model-doc -->
* @return the value of the '<em>Logical Sys</em>' reference.
@@ -67,7 +67,7 @@ public interface Mapping extends EObject * <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
- * This is the physical system being mapped to.
+ * <br>This is the physical system being mapped to.
*
* <!-- end-model-doc -->
* @return the value of the '<em>Physical Sys</em>' reference.
@@ -94,7 +94,7 @@ public interface Mapping extends EObject * <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
- * This is a list of nested mappings of the sub systems of this system.
+ * <br>This is a list of nested mappings of the sub systems of this system.
*
* <!-- end-model-doc -->
* @return the value of the '<em>Subsys Mappings</em>' containment reference list.
diff --git a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/MappingModel.java b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/MappingModel.java index 782151dc8..02f0b8f02 100644 --- a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/MappingModel.java +++ b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/MappingModel.java @@ -12,7 +12,7 @@ import org.eclipse.emf.ecore.EObject; * <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
- * The root object for the mapping model. It gives access to the mappings defined.
+ * <br>The root object for the mapping model. It gives access to the mappings defined.
*
* <!-- end-model-doc -->
*
@@ -36,7 +36,7 @@ public interface MappingModel extends EObject * <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
- * The model name is a dot separated fully qualified name and is
+ * <br>The model name is a dot separated fully qualified name and is
* used to provide a name space.
*
* <!-- end-model-doc -->
@@ -64,7 +64,7 @@ public interface MappingModel extends EObject * <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
- * A list of all imported models.
+ * <br>A list of all imported models.
*
* <!-- end-model-doc -->
* @return the value of the '<em>Imports</em>' containment reference list.
@@ -80,7 +80,7 @@ public interface MappingModel extends EObject * <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
- * A list of all defined mappings.
+ * <br>A list of all defined mappings.
*
* <!-- end-model-doc -->
* @return the value of the '<em>Mappings</em>' containment reference list.
diff --git a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/SubSystemMapping.java b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/SubSystemMapping.java index 5d9925f74..19c47be10 100644 --- a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/SubSystemMapping.java +++ b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/SubSystemMapping.java @@ -16,7 +16,7 @@ import org.eclipse.etrice.core.room.SubSystemRef; * <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
- * This is the mapping of a sub system (defined in a ROOM model) to a
+ * <br>This is the mapping of a sub system (defined in a ROOM model) to a
* node (defined in a physical model).
*
* <!-- end-model-doc -->
@@ -41,7 +41,7 @@ public interface SubSystemMapping extends EObject * <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
- * This is the logical sub system being mapped.
+ * <br>This is the logical sub system being mapped.
*
* <!-- end-model-doc -->
* @return the value of the '<em>Logical Sub Sys</em>' reference.
@@ -67,7 +67,7 @@ public interface SubSystemMapping extends EObject * <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
- * This is the node being mapped to.
+ * <br>This is the node being mapped to.
*
* <!-- end-model-doc -->
* @return the value of the '<em>Node</em>' reference.
@@ -94,7 +94,7 @@ public interface SubSystemMapping extends EObject * <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
- * This is a list of nested mappings of logical to physical threads.
+ * <br>This is a list of nested mappings of logical to physical threads.
*
* <!-- end-model-doc -->
* @return the value of the '<em>Thread Mappings</em>' containment reference list.
diff --git a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/ThreadMapping.java b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/ThreadMapping.java index 418966db1..a6b1f17fb 100644 --- a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/ThreadMapping.java +++ b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/eTMap/ThreadMapping.java @@ -14,7 +14,7 @@ import org.eclipse.etrice.core.room.LogicalThread; * <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
- * This is the mapping of a logical thread (defined in a ROOM model) to a
+ * <br>This is the mapping of a logical thread (defined in a ROOM model) to a
* physical thread (defined in a physical model).
*
* <!-- end-model-doc -->
@@ -38,7 +38,7 @@ public interface ThreadMapping extends EObject * <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
- * This is the logical thread being mapped.
+ * <br>This is the logical thread being mapped.
*
* <!-- end-model-doc -->
* @return the value of the '<em>Logical Thread</em>' reference.
@@ -64,7 +64,7 @@ public interface ThreadMapping extends EObject * <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
- * This is the physical thread being mapped to.
+ * <br>This is the physical thread being mapped to.
*
* <!-- end-model-doc -->
* @return the value of the '<em>Physical Thread</em>' reference.
diff --git a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMapLexer.java b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMapLexer.java index 28b14bc03..55512a327 100644 --- a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMapLexer.java +++ b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/parser/antlr/internal/InternalETMapLexer.java @@ -14,8 +14,8 @@ import java.util.ArrayList; public class InternalETMapLexer extends Lexer {
public static final int RULE_ID=4;
public static final int T__22=22;
- public static final int T__21=21;
public static final int RULE_ANY_OTHER=10;
+ public static final int T__21=21;
public static final int T__20=20;
public static final int EOF=-1;
public static final int RULE_SL_COMMENT=8;
diff --git a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/services/ETMapGrammarAccess.java b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/services/ETMapGrammarAccess.java index 677a3a386..0c36f0822 100644 --- a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/services/ETMapGrammarAccess.java +++ b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/services/ETMapGrammarAccess.java @@ -1,7 +1,6 @@ /* * generated by Xtext */ - package org.eclipse.etrice.core.etmap.services; import com.google.inject.Singleton; diff --git a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/validation/AbstractETMapJavaValidator.java b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/validation/AbstractETMapJavaValidator.java index 2f4675495..b254de362 100644 --- a/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/validation/AbstractETMapJavaValidator.java +++ b/plugins/org.eclipse.etrice.core.etmap/src-gen/org/eclipse/etrice/core/etmap/validation/AbstractETMapJavaValidator.java @@ -1,14 +1,16 @@ +/* +* generated by Xtext +*/ package org.eclipse.etrice.core.etmap.validation; import java.util.ArrayList; import java.util.List; import org.eclipse.emf.ecore.EPackage; -import org.eclipse.xtext.validation.AbstractDeclarativeValidator; import org.eclipse.xtext.validation.ComposedChecks; @ComposedChecks(validators= {org.eclipse.xtext.validation.ImportUriValidator.class}) -public class AbstractETMapJavaValidator extends AbstractDeclarativeValidator { +public class AbstractETMapJavaValidator extends org.eclipse.xtext.validation.AbstractDeclarativeValidator { @Override protected List<EPackage> getEPackages() { diff --git a/plugins/org.eclipse.etrice.core.etmap/src/org/eclipse/etrice/core/etmap/postprocessing/DocuPostprocessor.xtend b/plugins/org.eclipse.etrice.core.etmap/src/org/eclipse/etrice/core/etmap/postprocessing/DocuPostprocessor.xtend index 8efc32410..d87161431 100644 --- a/plugins/org.eclipse.etrice.core.etmap/src/org/eclipse/etrice/core/etmap/postprocessing/DocuPostprocessor.xtend +++ b/plugins/org.eclipse.etrice.core.etmap/src/org/eclipse/etrice/core/etmap/postprocessing/DocuPostprocessor.xtend @@ -14,7 +14,6 @@ package org.eclipse.etrice.core.etmap.postprocessing import org.eclipse.xtext.GeneratedMetamodel
-import static extension org.eclipse.emf.ecore.util.EcoreUtil.*
import static extension org.eclipse.etrice.core.postprocessing.PostprocessingHelpers.*
class DocuPostprocessor {
diff --git a/plugins/org.eclipse.etrice.core.etmap/xtend-gen/org/eclipse/etrice/core/etmap/generator/ETMapGenerator.java b/plugins/org.eclipse.etrice.core.etmap/xtend-gen/org/eclipse/etrice/core/etmap/generator/ETMapGenerator.java index 56531d806..8823eb1b7 100644 --- a/plugins/org.eclipse.etrice.core.etmap/xtend-gen/org/eclipse/etrice/core/etmap/generator/ETMapGenerator.java +++ b/plugins/org.eclipse.etrice.core.etmap/xtend-gen/org/eclipse/etrice/core/etmap/generator/ETMapGenerator.java @@ -1,3 +1,6 @@ +/**
+ * generated by Xtext
+ */
package org.eclipse.etrice.core.etmap.generator;
import org.eclipse.emf.ecore.resource.Resource;
diff --git a/plugins/org.eclipse.etrice.core.etmap/xtend-gen/org/eclipse/etrice/core/etmap/postprocessing/DocuPostprocessor.java b/plugins/org.eclipse.etrice.core.etmap/xtend-gen/org/eclipse/etrice/core/etmap/postprocessing/DocuPostprocessor.java index 89811e52b..05a08d3ec 100644 --- a/plugins/org.eclipse.etrice.core.etmap/xtend-gen/org/eclipse/etrice/core/etmap/postprocessing/DocuPostprocessor.java +++ b/plugins/org.eclipse.etrice.core.etmap/xtend-gen/org/eclipse/etrice/core/etmap/postprocessing/DocuPostprocessor.java @@ -1,10 +1,19 @@ +/**
+ * Copyright (c) 2012 protos software gmbh (http://www.protos.de).
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * CONTRIBUTORS:
+ * Juergen Haug (initial contribution)
+ */
package org.eclipse.etrice.core.etmap.postprocessing;
import org.eclipse.emf.ecore.EAttribute;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.emf.ecore.EPackage;
import org.eclipse.emf.ecore.EReference;
-import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.etrice.core.postprocessing.PostprocessingHelpers;
import org.eclipse.xtend2.lib.StringConcatenation;
import org.eclipse.xtext.GeneratedMetamodel;
@@ -17,24 +26,24 @@ public class DocuPostprocessor { StringConcatenation _builder = new StringConcatenation();
_builder.append("The root object for the mapping model. It gives access to the mappings defined.");
_builder.newLine();
- EcoreUtil.setDocumentation(cls, _builder.toString());
+ PostprocessingHelpers.setDocumentation(cls, _builder.toString());
EAttribute _attribute = PostprocessingHelpers.getAttribute(cls, "name");
StringConcatenation _builder_1 = new StringConcatenation();
_builder_1.append("The model name is a dot separated fully qualified name and is");
_builder_1.newLine();
_builder_1.append("used to provide a name space.");
_builder_1.newLine();
- EcoreUtil.setDocumentation(_attribute, _builder_1.toString());
+ PostprocessingHelpers.setDocumentation(_attribute, _builder_1.toString());
EReference _reference = PostprocessingHelpers.getReference(cls, "imports");
StringConcatenation _builder_2 = new StringConcatenation();
_builder_2.append("A list of all imported models.");
_builder_2.newLine();
- EcoreUtil.setDocumentation(_reference, _builder_2.toString());
+ PostprocessingHelpers.setDocumentation(_reference, _builder_2.toString());
EReference _reference_1 = PostprocessingHelpers.getReference(cls, "mappings");
StringConcatenation _builder_3 = new StringConcatenation();
_builder_3.append("A list of all defined mappings.");
_builder_3.newLine();
- EcoreUtil.setDocumentation(_reference_1, _builder_3.toString());
+ PostprocessingHelpers.setDocumentation(_reference_1, _builder_3.toString());
EClass _class = PostprocessingHelpers.getClass(pckg, "Mapping");
cls = _class;
StringConcatenation _builder_4 = new StringConcatenation();
@@ -42,22 +51,22 @@ public class DocuPostprocessor { _builder_4.newLine();
_builder_4.append("physical system (defined in a physical model).");
_builder_4.newLine();
- EcoreUtil.setDocumentation(cls, _builder_4.toString());
+ PostprocessingHelpers.setDocumentation(cls, _builder_4.toString());
EReference _reference_2 = PostprocessingHelpers.getReference(cls, "logicalSys");
StringConcatenation _builder_5 = new StringConcatenation();
_builder_5.append("This is the logical system being mapped.");
_builder_5.newLine();
- EcoreUtil.setDocumentation(_reference_2, _builder_5.toString());
+ PostprocessingHelpers.setDocumentation(_reference_2, _builder_5.toString());
EReference _reference_3 = PostprocessingHelpers.getReference(cls, "physicalSys");
StringConcatenation _builder_6 = new StringConcatenation();
_builder_6.append("This is the physical system being mapped to.");
_builder_6.newLine();
- EcoreUtil.setDocumentation(_reference_3, _builder_6.toString());
+ PostprocessingHelpers.setDocumentation(_reference_3, _builder_6.toString());
EReference _reference_4 = PostprocessingHelpers.getReference(cls, "subsysMappings");
StringConcatenation _builder_7 = new StringConcatenation();
_builder_7.append("This is a list of nested mappings of the sub systems of this system.");
_builder_7.newLine();
- EcoreUtil.setDocumentation(_reference_4, _builder_7.toString());
+ PostprocessingHelpers.setDocumentation(_reference_4, _builder_7.toString());
EClass _class_1 = PostprocessingHelpers.getClass(pckg, "SubSystemMapping");
cls = _class_1;
StringConcatenation _builder_8 = new StringConcatenation();
@@ -65,22 +74,22 @@ public class DocuPostprocessor { _builder_8.newLine();
_builder_8.append("node (defined in a physical model).");
_builder_8.newLine();
- EcoreUtil.setDocumentation(cls, _builder_8.toString());
+ PostprocessingHelpers.setDocumentation(cls, _builder_8.toString());
EReference _reference_5 = PostprocessingHelpers.getReference(cls, "logicalSubSys");
StringConcatenation _builder_9 = new StringConcatenation();
_builder_9.append("This is the logical sub system being mapped.");
_builder_9.newLine();
- EcoreUtil.setDocumentation(_reference_5, _builder_9.toString());
+ PostprocessingHelpers.setDocumentation(_reference_5, _builder_9.toString());
EReference _reference_6 = PostprocessingHelpers.getReference(cls, "node");
StringConcatenation _builder_10 = new StringConcatenation();
_builder_10.append("This is the node being mapped to.");
_builder_10.newLine();
- EcoreUtil.setDocumentation(_reference_6, _builder_10.toString());
+ PostprocessingHelpers.setDocumentation(_reference_6, _builder_10.toString());
EReference _reference_7 = PostprocessingHelpers.getReference(cls, "threadMappings");
StringConcatenation _builder_11 = new StringConcatenation();
_builder_11.append("This is a list of nested mappings of logical to physical threads.");
_builder_11.newLine();
- EcoreUtil.setDocumentation(_reference_7, _builder_11.toString());
+ PostprocessingHelpers.setDocumentation(_reference_7, _builder_11.toString());
EClass _class_2 = PostprocessingHelpers.getClass(pckg, "ThreadMapping");
cls = _class_2;
StringConcatenation _builder_12 = new StringConcatenation();
@@ -88,17 +97,17 @@ public class DocuPostprocessor { _builder_12.newLine();
_builder_12.append("physical thread (defined in a physical model).");
_builder_12.newLine();
- EcoreUtil.setDocumentation(cls, _builder_12.toString());
+ PostprocessingHelpers.setDocumentation(cls, _builder_12.toString());
EReference _reference_8 = PostprocessingHelpers.getReference(cls, "logicalThread");
StringConcatenation _builder_13 = new StringConcatenation();
_builder_13.append("This is the logical thread being mapped.");
_builder_13.newLine();
- EcoreUtil.setDocumentation(_reference_8, _builder_13.toString());
+ PostprocessingHelpers.setDocumentation(_reference_8, _builder_13.toString());
EReference _reference_9 = PostprocessingHelpers.getReference(cls, "physicalThread");
StringConcatenation _builder_14 = new StringConcatenation();
_builder_14.append("This is the physical thread being mapped to.");
_builder_14.newLine();
- EcoreUtil.setDocumentation(_reference_9, _builder_14.toString());
+ PostprocessingHelpers.setDocumentation(_reference_9, _builder_14.toString());
EClass _class_3 = PostprocessingHelpers.getClass(pckg, "Import");
cls = _class_3;
StringConcatenation _builder_15 = new StringConcatenation();
@@ -106,14 +115,14 @@ public class DocuPostprocessor { _builder_15.newLine();
_builder_15.append("an optional imported namespace.");
_builder_15.newLine();
- EcoreUtil.setDocumentation(cls, _builder_15.toString());
+ PostprocessingHelpers.setDocumentation(cls, _builder_15.toString());
EAttribute _attribute_1 = PostprocessingHelpers.getAttribute(cls, "importedNamespace");
StringConcatenation _builder_16 = new StringConcatenation();
_builder_16.append("The imported name space has to be a dot separated qualified name followed by .*.");
_builder_16.newLine();
_builder_16.append("Example: my.namespace.*");
_builder_16.newLine();
- EcoreUtil.setDocumentation(_attribute_1, _builder_16.toString());
+ PostprocessingHelpers.setDocumentation(_attribute_1, _builder_16.toString());
EAttribute _attribute_2 = PostprocessingHelpers.getAttribute(cls, "importURI");
StringConcatenation _builder_17 = new StringConcatenation();
_builder_17.append("The import URI can be a relative or absolute file system path.");
@@ -142,6 +151,6 @@ public class DocuPostprocessor { _builder_17.newLine();
_builder_17.append("</p>");
_builder_17.newLine();
- EcoreUtil.setDocumentation(_attribute_2, _builder_17.toString());
+ PostprocessingHelpers.setDocumentation(_attribute_2, _builder_17.toString());
}
}
|