diff options
author | Quentin Le Menez | 2014-05-22 08:15:08 +0000 |
---|---|---|
committer | Remi Schnekenburger | 2015-04-27 07:42:23 +0000 |
commit | 9467b9369bf6102c447dd2538d9a48902bdc7dba (patch) | |
tree | a9feae4254acc0c8471939f0cf869bd53cdabe9c /plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.wizards/schema/templates.exsd | |
parent | ad791127919679a3972182966868ddba3a428574 (diff) | |
download | org.eclipse.papyrus-9467b9369bf6102c447dd2538d9a48902bdc7dba.tar.gz org.eclipse.papyrus-9467b9369bf6102c447dd2538d9a48902bdc7dba.tar.xz org.eclipse.papyrus-9467b9369bf6102c447dd2538d9a48902bdc7dba.zip |
439894: [Wizard] Refactoring and enhancement
https://bugs.eclipse.org/bugs/show_bug.cgi?id=439894
435474: [Wizards] Wizards should set the name of the created diagrams
https://bugs.eclipse.org/bugs/show_bug.cgi?id=435474
412676: Models created from uml files containing spaces in their names
are invalid
https://bugs.eclipse.org/bugs/show_bug.cgi?id=412676
440842: [New Papyrus Model Wizard] Model templates check list should
have a scroll bar
https://bugs.eclipse.org/bugs/show_bug.cgi?id=440842
435501: [Usability] The create new model wizard asks questions in the
wrong order
https://bugs.eclipse.org/bugs/show_bug.cgi?id=435501
+ implementation the api modification pattern
+ refactor and modification of the code to fit Mars
+ added a non QVT transformation behavior
+ changed the page order
Change-Id: If1a7040066937f1344f90c20b6a7b5b3fc6e4492
Signed-off-by: Quentin Le Menez <quentin.lemenez@cea.fr>
Also-by: Thibault Le Ouay <t.leouay@sherpa-eng.com>
Reviewed-on: https://git.eclipse.org/r/43320
Tested-by: Hudson CI
Reviewed-by: Remi Schnekenburger <remi.schnekenburger@cea.fr>
Tested-by: Remi Schnekenburger <remi.schnekenburger@cea.fr>
Diffstat (limited to 'plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.wizards/schema/templates.exsd')
-rw-r--r-- | plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.wizards/schema/templates.exsd | 57 |
1 files changed, 51 insertions, 6 deletions
diff --git a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.wizards/schema/templates.exsd b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.wizards/schema/templates.exsd index e430388fdde..bcec7aa6d00 100644 --- a/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.wizards/schema/templates.exsd +++ b/plugins/uml/diagram/org.eclipse.papyrus.uml.diagram.wizards/schema/templates.exsd @@ -1,12 +1,12 @@ <?xml version='1.0' encoding='UTF-8'?>
<!-- Schema file written by PDE -->
-<schema targetNamespace="org.eclipse.papyrus.uml.diagram.common" xmlns="http://www.w3.org/2001/XMLSchema">
+<schema targetNamespace="org.eclipse.papyrus.uml.diagram.wizards" xmlns="http://www.w3.org/2001/XMLSchema">
<annotation>
<appinfo>
- <meta.schema plugin="org.eclipse.papyrus.uml.diagram.common" id="templates" name="UML2 Model Templates"/>
+ <meta.schema plugin="org.eclipse.papyrus.uml.diagram.wizards" id="templates" name="UML2 Model Templates"/>
</appinfo>
<documentation>
- This extension point registers UML2 model templates that can be selected when creating new diagrams using the MOSKitt-UML2 editor to initialize new files.
+ This extension point registers UML2 model templates that can be selected when creating new diagrams.
</documentation>
</annotation>
@@ -18,7 +18,10 @@ </annotation>
<complexType>
<sequence>
- <element ref="template" minOccurs="1" maxOccurs="unbounded"/>
+ <choice minOccurs="1" maxOccurs="unbounded">
+ <element ref="template"/>
+ <element ref="transformation"/>
+ </choice>
</sequence>
<attribute name="point" type="string" use="required">
<annotation>
@@ -81,7 +84,7 @@ </appinfo>
</annotation>
</attribute>
- <attribute name="notation_file" type="string">
+ <attribute name="notation_file" type="string" use="required">
<annotation>
<documentation>
@@ -91,7 +94,7 @@ </appinfo>
</annotation>
</attribute>
- <attribute name="di_file" type="string">
+ <attribute name="di_file" type="string" use="required">
<annotation>
<documentation>
@@ -114,6 +117,48 @@ </complexType>
</element>
+ <element name="transformation">
+ <complexType>
+ <attribute name="id" type="string" use="required">
+ <annotation>
+ <documentation>
+ A unique identifier for a template.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="name" type="string" use="required">
+ <annotation>
+ <documentation>
+ A human readable description of the model template.
+ </documentation>
+ <appinfo>
+ <meta.attribute translatable="true"/>
+ </appinfo>
+ </annotation>
+ </attribute>
+ <attribute name="language" type="string" use="required">
+ <annotation>
+ <documentation>
+
+ </documentation>
+ <appinfo>
+ <meta.attribute kind="identifier" basedOn="org.eclipse.papyrus.infra.core.papyrusDiagram/@id"/>
+ </appinfo>
+ </annotation>
+ </attribute>
+ <attribute name="Transformation" type="string" use="required">
+ <annotation>
+ <documentation>
+ set the generator for the template
+ </documentation>
+ <appinfo>
+ <meta.attribute kind="java" basedOn=":org.eclipse.papyrus.uml.diagram.wizards.transformation.IGenerator"/>
+ </appinfo>
+ </annotation>
+ </attribute>
+ </complexType>
+ </element>
+
<annotation>
<appinfo>
<meta.section type="since"/>
|