Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource')
-rw-r--r--plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/AllPossibleActivities.png (renamed from plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/AllPossibleActivities.png)bin39878 -> 39878 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/AllPossibleActivitiesIllustration.png (renamed from plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/AllPossibleActivitiesIllustration.png)bin19004 -> 19004 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/Architecture.png (renamed from plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/Architecture.png)bin16226 -> 16226 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/EnableCreationMenu.png (renamed from plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/EnableCreationMenu.png)bin29515 -> 29515 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/MenuExample.png (renamed from plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/MenuExample.png)bin61821 -> 61821 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/NestedClassifier.png (renamed from plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/NestedClassifier.png)bin39084 -> 39084 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/NestedClassifierIllustration.png (renamed from plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/NestedClassifierIllustration.png)bin12754 -> 12754 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/NewDiagram.png (renamed from plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/NewDiagram.png)bin21469 -> 21469 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/PackageWithIconO.png (renamed from plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/PackageWithIconO.png)bin37040 -> 37040 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/PackageWithIconOIllustration.png (renamed from plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/PackageWithIconOIllustration.png)bin10959 -> 10959 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/UseCaseDiagram.png (renamed from plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/UseCaseDiagram.png)bin45805 -> 45805 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/codeXML.PNG (renamed from plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/codeXML.PNG)bin64770 -> 64770 bytes
-rw-r--r--plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/newChild-main-toc.xml6
-rw-r--r--plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/newChild-toc.xml17
-rw-r--r--plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/newChild.html18
-rw-r--r--plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/newChild.mediawiki16
16 files changed, 11 insertions, 46 deletions
diff --git a/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/AllPossibleActivities.png b/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/AllPossibleActivities.png
index 93a409795ee..93a409795ee 100644
--- a/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/AllPossibleActivities.png
+++ b/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/AllPossibleActivities.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/AllPossibleActivitiesIllustration.png b/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/AllPossibleActivitiesIllustration.png
index 2ead41a7865..2ead41a7865 100644
--- a/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/AllPossibleActivitiesIllustration.png
+++ b/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/AllPossibleActivitiesIllustration.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/Architecture.png b/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/Architecture.png
index 9b86fcb30c2..9b86fcb30c2 100644
--- a/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/Architecture.png
+++ b/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/Architecture.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/EnableCreationMenu.png b/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/EnableCreationMenu.png
index 2ee0b82d010..2ee0b82d010 100644
--- a/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/EnableCreationMenu.png
+++ b/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/EnableCreationMenu.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/MenuExample.png b/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/MenuExample.png
index e0996bc1801..e0996bc1801 100644
--- a/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/MenuExample.png
+++ b/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/MenuExample.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/NestedClassifier.png b/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/NestedClassifier.png
index 26d8b568537..26d8b568537 100644
--- a/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/NestedClassifier.png
+++ b/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/NestedClassifier.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/NestedClassifierIllustration.png b/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/NestedClassifierIllustration.png
index 40046cf4bf3..40046cf4bf3 100644
--- a/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/NestedClassifierIllustration.png
+++ b/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/NestedClassifierIllustration.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/NewDiagram.png b/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/NewDiagram.png
index 9f50a45041d..9f50a45041d 100644
--- a/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/NewDiagram.png
+++ b/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/NewDiagram.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/PackageWithIconO.png b/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/PackageWithIconO.png
index 63772d65186..63772d65186 100644
--- a/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/PackageWithIconO.png
+++ b/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/PackageWithIconO.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/PackageWithIconOIllustration.png b/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/PackageWithIconOIllustration.png
index f88d08f681e..f88d08f681e 100644
--- a/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/PackageWithIconOIllustration.png
+++ b/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/PackageWithIconOIllustration.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/UseCaseDiagram.png b/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/UseCaseDiagram.png
index 7d475969113..7d475969113 100644
--- a/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/UseCaseDiagram.png
+++ b/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/UseCaseDiagram.png
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/codeXML.PNG b/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/codeXML.PNG
index 94721d526ab..94721d526ab 100644
--- a/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/codeXML.PNG
+++ b/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/images/codeXML.PNG
Binary files differ
diff --git a/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/newChild-main-toc.xml b/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/newChild-main-toc.xml
index b2354f3915e..f9d043cc461 100644
--- a/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/newChild-main-toc.xml
+++ b/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/newChild-main-toc.xml
@@ -1,7 +1,7 @@
<?xml version='1.0' encoding='utf-8' ?>
-<toc label="CSS Stylesheets" link_to="../org.eclipse.papyrus.infra.doc/toc.xml#PapyrusDocUser">
- <topic href="resource/newChild.html" label="Menu new child">
+<toc label="Papyrus Guide" link_to="../org.eclipse.papyrus.infra.doc/toc.xml#PapyrusDocUser">
+ <topic href="target/generated-eclipse-help/newChild.html" label="Menu new child">
<anchor id="new Child"/>
- <link toc="resource/newChild-toc.xml"/>
+ <link toc="target/generated-eclipse-help/newChild-toc.xml"/>
</topic>
</toc>
diff --git a/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/newChild-toc.xml b/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/newChild-toc.xml
deleted file mode 100644
index 09bc9744e31..00000000000
--- a/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/newChild-toc.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version='1.0' encoding='utf-8' ?>
-<toc topic="resource/newChild.html" label="newChild">
- <topic href="resource/newChild.html" label="Requirements"></topic>
- <topic href="resource/newChild.html#Use_Cases" label="Use Cases">
- <topic href="resource/newChild.html#UseCreateMenu" label="UseCreateMenu">
- <topic href="resource/newChild.html#How_to" label="How to"></topic>
- </topic>
- <topic href="resource/newChild.html#Create_or_modify_ElementCreationModel" label="Create or modify ElementCreationModel">
- <topic href="resource/newChild.html#How_to_2" label="How to"></topic>
- </topic>
- <topic href="resource/newChild.html#Generate_.22ElementCreationModel.22_from_a_profile" label="Generate &quot;ElementCreationModel&quot; from a profile"></topic>
- <topic href="resource/newChild.html#Hide.2C_change_order_or_add_submenus" label="Hide, change order or add submenus">
- <topic href="resource/newChild.html#How_to_3" label="How to"></topic>
- </topic>
- <topic href="resource/newChild.html#Create_or_modify_ElementCreationModel_at_runtime_thanks_to_a_GUI" label="Create or modify ElementCreationModel at runtime thanks to a GUI"></topic>
- </topic>
-</toc> \ No newline at end of file
diff --git a/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/newChild.html b/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/newChild.html
deleted file mode 100644
index 41bb3e024b1..00000000000
--- a/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/newChild.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version='1.0' encoding='utf-8' ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/></head><body><ol style="list-style: none;"><li><a href="#Requirements">Requirements</a></li><li><a href="#Use_Cases">Use Cases</a><ol style="list-style: none;"><li><a href="#UseCreateMenu">UseCreateMenu</a><ol style="list-style: none;"><li><a href="#How_to">How to</a></li></ol></li><li><a href="#Create_or_modify_ElementCreationModel">Create or modify ElementCreationModel</a><ol style="list-style: none;"><li><a href="#How_to_2">How to</a></li></ol></li><li><a href="#Generate_.22ElementCreationModel.22_from_a_profile">Generate "ElementCreationModel" from a profile</a></li><li><a href="#Hide.2C_change_order_or_add_submenus">Hide, change order or add submenus</a><ol style="list-style: none;"><li><a href="#How_to_3">How to</a></li></ol></li><li><a href="#Create_or_modify_ElementCreationModel_at_runtime_thanks_to_a_GUI">Create or modify ElementCreationModel at runtime thanks to a GUI</a></li></ol></li></ol><h1 id="Requirements">Requirements</h1><dl><dt>AddNewChild (id=newChild001):</dt><dd>Papyrus shall add in the menu new child for new customized elements by using extended type</dd><dt>HideElement (id=newChild002):</dt><dd>Papyrus shall not display all UML or SysML element creation</dd><dt>newChildFromProfile (id=newChild003):</dt><dd>Papyrus shall add the creation of new element from a subset of profile</dd><dt>newChildMenuDisplay (id=newChild004):</dt><dd>Papyrus shall be able to associate icons to folder or creation menu</dd><dt>RoleAndElementCreation (id=newChild005):</dt><dd>When an element can be created from several roles for a container, Papyrus shall let the possibility to choose the role or to let to the possibility to be created from all roles.</dd></dl><h1 id="Use_Cases">Use Cases</h1><p><img title="UseCaseDiagram" alt="UseCaseDiagram" border="0" src="UseCaseDiagram.png"/><br/></p><h2 id="UseCreateMenu">UseCreateMenu</h2><p>The Papyrus User shall use this functionality from the model explorer in order to create elements in the model. He can decide to display or not this element creation.</p><h3 id="How_to">How to</h3><p>In order to not display a menu, a user can edit the model that represents the creation menu and set the attribute visibility to false.
-<img title="EnableCreationMenu" alt="EnableCreationMenu" border="0" src="EnableCreationMenu.png"/><br/></p><h2 id="Create_or_modify_ElementCreationModel">Create or modify ElementCreationModel</h2><p>An advanced User is able to create or modify creation menu. This menu is a model that can be edited </p><h3 id="How_to_2">How to</h3><p>An advanced user can contribute to the menu by adding a new plugin that contains:</p><ul><li>a xmi file that represents a creation menu. The model must be an instance of org.eclipse.papyrus.infra.newchild/resource/elementCreationMenuModel.ecore. It contains<br/><ul><li>CreationMenu<br/><ul><li>It corresponds to a menu<br/></li><li>The ElemenTypeIDRef corresponds a reference to the element Type.<br/></li><li>The role can be filled in order to specify the role play by the element.<br/></li><li>If displayAllRole is set to true, it displays all roles played by the element if the number of roles is greater than 1. By default this property is true;<br/></li></ul></li><li>Folder<br/><ul><li>It is possible to add owns label an icon.<br/></li></ul></li><li>Visibility to specify if the folder is visible.<br/></li></ul></li><li>a reference to an extension point, to specify that papyrus must take in account this file to display the menu<br/></li></ul><pre class="source-xml">&lt;extension
- point="org.eclipse.papyrus.infra.newchild"&gt;
- &lt;menuCreationModel
- model="YourCreationMenu.xmi"&gt;
- &lt;/menuCreationModel&gt;
-&lt;/extension&gt;
-
-</pre><p>In the following example, a menu creation for a package is presented. This menu is contained in the folder SimpleUMLTest. We have associated an image for this menu.
-<br/><img title="Creation menu for a package with a specific icon" alt="Creation menu for a package with a specific icon" border="0" src="PackageWithIconO.png"/><br/>
-<br/><img title="Result for this menu" alt="Result for this menu" border="0" src="PackageWithIconOIllustration.png"/><br/></p><p>In this following example, a creation menu will be specified to allow creation of nested classifier. That 's why the role "nestedClassifier" is precised. The label for this creation is "nestedClass"
-<br/><img title="Result for the menu nestedClass" alt="Result for the menu nestedClass" border="0" src="NestedClassifierIllustration.png"/><br/>
-<br/><img title="Creation menu model for nested class" alt="Creation menu model for nested class" border="0" src="NestedClassifier.png"/><br/></p><p>In the following example a creation menu is created for activities. In this case, all roles are displayed. Thanks to this, when we want to associate an activity to a state, 3 roles are proposed.
-<br/><img title="Creation menu model for activity" alt="Creation menu model for activity" border="0" src="AllPossibleActivities.png"/><br/>
-<br/><img title="Result for this menu activity" alt="Result for this menu activity" border="0" src="AllPossibleActivitiesIllustration.png"/><br/></p><h2 id="Generate_.22ElementCreationModel.22_from_a_profile">Generate "ElementCreationModel" from a profile</h2><p>From a stereotyped profile, a model of new child menu can be generated.
-For example a user after designing a profile, want to have a dedicated menu from this profile/
-For the moment this function is not implemented.</p><h2 id="Hide.2C_change_order_or_add_submenus">Hide, change order or add submenus</h2><p>The User can modify the creation menu by adding submenus: order about new child menu, precise if the role must be displayed.</p><h3 id="How_to_3">How to</h3><p>It only needed to change the order of element in the corresponding creation menu model</p><h2 id="Create_or_modify_ElementCreationModel_at_runtime_thanks_to_a_GUI">Create or modify ElementCreationModel at runtime thanks to a GUI</h2><p>A user can edit a the model that represents the creation menu at runtime for papyrus thanks to a dedicated UI.
-For the moment this function is not implemented.</p></body></html> \ No newline at end of file
diff --git a/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/newChild.mediawiki b/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/newChild.mediawiki
index 916f8d09911..89cb72512d8 100644
--- a/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/newChild.mediawiki
+++ b/plugins/doc/org.eclipse.papyrus.infra.newchild.doc/resource/newChild.mediawiki
@@ -7,12 +7,12 @@ __TOC__
; newChildMenuDisplay (id=newChild004): : Papyrus shall be able to associate icons to folder or creation menu
; RoleAndElementCreation (id=newChild005): : When an element can be created from several roles for a container, Papyrus shall let the possibility to choose the role or to let to the possibility to be created from all roles.
=Use Cases=
-[[Image:UseCaseDiagram.png|UseCaseDiagram]]<br>
+[[Image:images/UseCaseDiagram.png|UseCaseDiagram]]<br>
==UseCreateMenu==
The Papyrus User shall use this functionality from the model explorer in order to create elements in the model. He can decide to display or not this element creation.
===How to===
In order to not display a menu, a user can edit the model that represents the creation menu and set the attribute visibility to false.
-[[Image:EnableCreationMenu.png|EnableCreationMenu]]<br>
+[[Image:images/EnableCreationMenu.png|EnableCreationMenu]]<br>
==Create or modify ElementCreationModel==
An advanced User is able to create or modify creation menu. This menu is a model that can be edited
===How to===
@@ -38,16 +38,16 @@ An advanced user can contribute to the menu by adding a new plugin that contains
</source>
In the following example, a menu creation for a package is presented. This menu is contained in the folder SimpleUMLTest. We have associated an image for this menu.
-<br>[[Image:PackageWithIconO.png|Creation menu for a package with a specific icon]]<br>
-<br>[[Image:PackageWithIconOIllustration.png|Result for this menu]]<br>
+<br>[[Image:images/PackageWithIconO.png|Creation menu for a package with a specific icon]]<br>
+<br>[[Image:images/PackageWithIconOIllustration.png|Result for this menu]]<br>
In this following example, a creation menu will be specified to allow creation of nested classifier. That 's why the role "nestedClassifier" is precised. The label for this creation is "nestedClass"
-<br>[[Image:NestedClassifierIllustration.png|Result for the menu nestedClass]]<br>
-<br>[[Image:NestedClassifier.png|Creation menu model for nested class]]<br>
+<br>[[Image:images/NestedClassifierIllustration.png|Result for the menu nestedClass]]<br>
+<br>[[Image:images/NestedClassifier.png|Creation menu model for nested class]]<br>
In the following example a creation menu is created for activities. In this case, all roles are displayed. Thanks to this, when we want to associate an activity to a state, 3 roles are proposed.
-<br>[[Image:AllPossibleActivities.png|Creation menu model for activity]]<br>
-<br>[[Image:AllPossibleActivitiesIllustration.png|Result for this menu activity]]<br>
+<br>[[Image:images/AllPossibleActivities.png|Creation menu model for activity]]<br>
+<br>[[Image:images/AllPossibleActivitiesIllustration.png|Result for this menu activity]]<br>
==Generate "ElementCreationModel" from a profile==
From a stereotyped profile, a model of new child menu can be generated.
For example a user after designing a profile, want to have a dedicated menu from this profile/

Back to the top