|
|
(105 intermediate revisions by the same user not shown) |
Line 3: |
Line 3: |
| ==== Install Method under Eclipse 3.4 ==== | | ==== Install Method under Eclipse 3.4 ==== |
| --> | | --> |
− |
| |
− | = Using modeling editors =
| |
− |
| |
− | == UML modeling ==
| |
− |
| |
− | === Getting Started ===
| |
− |
| |
− | ==== Papyrus Perspective ====
| |
− |
| |
− | The Papyrus perspective contains :
| |
− |
| |
− | *Model Explorer view
| |
− | *Outline view
| |
− | *Multi diagram editor view
| |
− | *Properties view
| |
− | *Toolbar
| |
− |
| |
− | [[Image:Papyrus Perspective.png|600px]]
| |
− |
| |
− | ===== Model Explorer View =====
| |
− |
| |
− | The model explorer is used to navigate to the all model's elements and the diagrams.
| |
− |
| |
− | [[Image:Papyrus ModelExplorer.png]]
| |
− |
| |
− | This action link the model explorer with the active diagram selection. This action works bidirectionally.
| |
− |
| |
− | [[Image:Papyrus ME Sync.png|400px]]
| |
− |
| |
− | This action allow to add new semantic element.
| |
− |
| |
− | [[Image:Papyrus ME NewChild.png|400px]]
| |
− |
| |
− | This action allow to add new diagram in current selection.
| |
− |
| |
− | [[Image:Papyrus ME NewDiagram.png|400px]]
| |
− |
| |
− | All actions are available on diagram item.
| |
− |
| |
− | [[Image:Papyrus ME DiagramMenu.png]]
| |
− |
| |
− | The model explorer used Common Navigator Framework and provide facilities to customize view.
| |
− |
| |
− | [[Image:Papyrus ME CustomizeView.png]]
| |
− |
| |
− | To customize the content of treeViewer:
| |
− |
| |
− | [[Image:Papyrus ME CustomizeView Content.png|400px]]
| |
− |
| |
− | To filter the content of treeViewer:
| |
− |
| |
− | [[Image:Papyrus ME CustomizeView Filters.png|400px]]
| |
− |
| |
− | ===== Outline View =====
| |
− |
| |
− | The Outline offers a thumbnail of the graphical representation and the list of semantic elements used in current diagram.
| |
− |
| |
− | [[Image:Papyrus OutLine.png]][[Image:Papyrus OutLine All.png]][[Image:Papyrus OutLine Tree.png]] <!--
| |
− | ===== Multi Editor View =====
| |
− | ===== Properties View =====
| |
− | -->
| |
− |
| |
− | === Tutorials on UML modeling with Papyrus ===
| |
− |
| |
− | ==== Model/Diagram creation wizard ====
| |
− |
| |
− | ===== Create a new Model. =====
| |
− |
| |
− | [[Image:Papyrus CreateNewModel.png|400px]]
| |
− |
| |
− | <br> Choose the model file name and the first diagram to create.
| |
− |
| |
− | [[Image:Papyrus CreateNewModel-2.png|400px]] [[Image:Papyrus CreateNewModel-3.png|400px]]
| |
− |
| |
− | ===== Create a diagram from an existing uml file =====
| |
− |
| |
− | From your uml file, select the "Initialize Papyrus diagram" to access the creation wizard of Papyrus. Your Papyrus diagram will be linked with your existing model.
| |
− |
| |
− | [[Image:CreateDiagramFromModel.PNG]] <!--
| |
− | == UML Diagrams ==
| |
− | === Class Diagram ===
| |
− | === Sequence Diagram ===
| |
− | === Activity Diagram ===
| |
− | === Use Case Diagram ===
| |
− | -->
| |
− |
| |
− | <br>
| |
− |
| |
− | ===== Apply a static profile =====
| |
− |
| |
− | *1 - Select a package element (ie a Model or a Package).
| |
− | *2 - Select the tab "Profile" on the "Properties" view
| |
− | *3 - Click on the plug-in icon
| |
− | *4 - Select your static profile
| |
− | *5 - Choose profiles to apply
| |
− |
| |
− | [[Image:PapyrusApplyStaticProfil.PNG]]
| |
− |
| |
− | ===== Load an additionnal resource =====
| |
− |
| |
− | ====== Show additional resources in your model explorer view ======
| |
− |
| |
− | Ensure that the filter for the additional resources is not checked on your model explorer view : [[Image:PapyrusFilterAdditionalResources.PNG]]
| |
− |
| |
− | ====== Add an additional resource ======
| |
− |
| |
− | Right click on an element of your model and select the menu "Load resource..."
| |
− |
| |
− | [[Image:PapyrusLoadResources.PNG]]
| |
− |
| |
− | <br>
| |
− | ====Table Documentation====
| |
− |
| |
− | See http://wiki.eclipse.org/Papyrus_User_Guide/Table_Documentation
| |
− |
| |
− | === Papyrus Zoo of UML Models ===
| |
− |
| |
− | ==== Composite Structure Diagram ====
| |
− |
| |
− | [[Image:CompositeSupport.PNG]]
| |
− |
| |
− | The project is available here [http://wiki.eclipse.org/images/1/10/CompositeSupport.zip]
| |
− |
| |
− | === Constraints in Papyrus ===
| |
− |
| |
− | ==== Create and edit constraints ====
| |
− |
| |
− | [[Papyrus/UserGuide/Papyrus Constraints|Create and edit constraints]]
| |
− |
| |
− | ==== Validate OCL Constraints of a Profile ====
| |
− |
| |
− | [[Papyrus/UserGuide/Profile Constraints|Define Profile Constraints]]
| |
− |
| |
− | == SysML Modeling ==
| |
− |
| |
− | === Tutorials on SysML modeling with Papyrus ===
| |
− |
| |
− | === Papyrus Zoo of SysML Models ===
| |
− |
| |
− | == MARTE Modeling ==
| |
− |
| |
− | === Tutorials on MARTE modeling with Papyrus ===
| |
− |
| |
− | === Papyrus Zoo of MARTE Models ===
| |
− |
| |
− | == fUML and Alf Modeling ==
| |
− | [[Papyrus/UserGuide/fUML_ALF|Using fUML and Alf to produce executable models]]
| |
− |
| |
− | = Developing custom DSL based editor with Papyrus =
| |
− |
| |
− | == UML Profile Modeling ==
| |
− |
| |
− | [[Papyrus/UserGuide/Profile Constraints|Define Profile Constraints]]
| |
− |
| |
− | == MetaModel Modeling ==
| |
− |
| |
− | == Additional Editor Integration (this section is for the Backone) ==
| |
− |
| |
− | == Diagram Editors Customizations ==
| |
− |
| |
− | === Specific Diagram Editors Creation ===
| |
− |
| |
− | === Diagram Editor Palette Customization ===
| |
− |
| |
− | Here you can find the documentation describing palette customization: [http://git.eclipse.org/c/papyrus/org.eclipse.papyrus.git/tree/doc/DevelopperDocuments/How-To/PapyrusDevelopperTutorial_OnPaletteCustomization_v1.0_d2010-05-10.odt Doc ]
| |
− |
| |
− | This document can also be found in Papyrus help section => User Guide => Palette customization
| |
− |
| |
− | === Property Editor Customization ===
| |
− |
| |
− | === Model Explorer Customization ===
| |
− |
| |
− | === Diagram Appearance Customization with CSS Stylesheets ===
| |
− |
| |
− | [http://wiki.eclipse.org/MDT/Papyrus/UserGuide/CSS CSS Stylesheets in Papyrus]
| |
| | | |
| = Additional Utilities of Papyrus = | | = Additional Utilities of Papyrus = |
− |
| |
− | == Collaborative Work Support ==
| |
| | | |
| == Layer Support == | | == Layer Support == |
− | See [[Papyrus/UserGuide/Layers|Layers Guide]]
| + | if you want to use layer, see [https://wiki.eclipse.org/Papyrus/Oxygen_Work_Description/NewFeature/Layers Layers Guide] |
| | | |
| == Model Execution == | | == Model Execution == |
− | [[Papyrus/UserGuide/ModelExecution|Execute your fUML models with MOKA]] | + | If you want to execute your model as the following picture, see [[Papyrus/UserGuide/ModelExecution|Execute your fUML models with MOKA]] |
− | | + | |
− | == Automatic Layout Support ==
| + | |
− | | + | |
− | == Code Generation Support ==
| + | |
− | | + | |
− | === JAVA Code Generation ===
| + | |
− | see [http://wiki.eclipse.org/Java_Code_Generation Java code generation]
| + | |
− | | + | |
− | === C/C++ Code Generation ===
| + | |
− | | + | |
− | see [http://wiki.eclipse.org/Codegen_description Papyrus C++ code generation]
| + | |
− | | + | |
− | === ADA Code Generation ===
| + | |
− | | + | |
− | == Reverse Engineering ==
| + | |
− | | + | |
− | === Java Reverse Engineering ===
| + | |
− | | + | |
− | see [http://wiki.eclipse.org/Java_reverse_engineering Java reverse engineering]
| + | |
− | | + | |
− | == Documentation Support ==
| + | |
− | | + | |
− | === Documentation Modelling ===
| + | |
− | | + | |
− | === Documentation Generation ===
| + | |
− | | + | |
− | == Deploy your applications ==
| + | |
| | | |
− | see [http://wiki.eclipse.org/Papyrus_Qompass Qompass for Papyrus]
| + | [[File:5 - ToggleBreakpointModelExplorer.png]] |
| | | |
− | [[Category:Papyrus]]
| |
| | | |
− | = General Feature = | + | == Papyrus for Requirements == |
| | | |
− | == Editors ==
| + | Papyrus for Requirements helps you to specify and analyze requirements in the context of systems modeling. It aims to cover the Specification, Management, Analysis and Validation-Verification activities of Requirements Engineering. Papyrus for Requirements depends on the components Papyrus for SysML and Papyrus for Metrics. |
− | === Palette ===
| + | |
− | [[File:Palette1.JPG]]
| + | |
− | ==== Properties ====
| + | |
− | ==== Selection tool ====
| + | |
− | ==== Zoom Tools ====
| + | |
− | ==== Marquee Selection Tools====
| + | |
| | | |
− | See http://wiki.eclipse.org/Papyrus_User_Guide/Marquee_Selection_Documentation
| + | Please visit the [[Installation steps of Papyrus for Requirements]] |
Papyrus for Requirements helps you to specify and analyze requirements in the context of systems modeling. It aims to cover the Specification, Management, Analysis and Validation-Verification activities of Requirements Engineering. Papyrus for Requirements depends on the components Papyrus for SysML and Papyrus for Metrics.