Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.etrice.core.etmap/xtend-gen')
-rw-r--r--plugins/org.eclipse.etrice.core.etmap/xtend-gen/org/eclipse/etrice/core/etmap/generator/ETMapGenerator.java3
-rw-r--r--plugins/org.eclipse.etrice.core.etmap/xtend-gen/org/eclipse/etrice/core/etmap/postprocessing/DocuPostprocessor.java47
2 files changed, 31 insertions, 19 deletions
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());
}
}

Back to the top