Home » Modeling » Papyrus » Visualization and Navigation between diagrams
|
Re: Visualization and Navigation between diagrams [message #989313 is a reply to message #989307] |
Wed, 05 December 2012 15:55 |
Camille Letavernier Messages: 952 Registered: February 2011 |
Senior Member |
|
|
Hello,
Navigation between diagrams is supported through diagram shortcuts or hyperlinks.
To create a Diagram shortcut, simply drop a Diagram from your ModelExplorer to another Diagram. Shortcuts currently only work for ClassDiagrams.
To create an Hyperlink, double-click on an Element on your diagram, then select the "View hyperlink" tab. You can add one or more links to diagrams/tables
To navigate an Hyperlink, you have two options:
1) Hover the element on which you've added the Hyperlink. The available diagram/table links should appear on the bottom-left of the hovered element.
2) Use default hyperlinks. Double click on an Element, and go to the "Default hyperlinks" tab. Add one or more links to the right panel. When you'll double-click again on this Element, you will automatically navigate the default(s) hyperlinks (i.e. open the corresponding diagram, table, document, etc.)
For you second question, Papyrus does not support canonical diagrams (i.e. diagrams synchronized with the model). Diagrams are partial views of a Model.
However, we provide a tool to automatically generate a Diagram from a Semantic model. If you're using Papyrus 0.9 (Eclipse Juno), you can install the "Diagram generation" component (Help -> Install Papyrus Additional Components)
The documentation for this component is available here: http://dev.eclipse.org/svnroot/modeling/org.eclipse.mdt.papyrus/trunk/extraplugins/diagramtemplate/org.eclipse.papyrus.diagramtemplate.doc/resources/template-diaGen.pdf
Regards,
Camille
Camille Letavernier
|
|
| |
Re: Visualization and Navigation between diagrams [message #989694 is a reply to message #989307] |
Fri, 07 December 2012 10:36 |
Atif Javed Messages: 21 Registered: March 2010 |
Junior Member |
|
|
Hi,
I am using Eclipse Juno with Papyrus 9.0, and I would like to generate a sample papyrus model from my existing .UML file.
To that, I have followed these steps: (i) I have created a sample .UML file with few classes; in (ii) step, I have created a diagram generation template and filled all the relevant stuff (including diagram kind, for, what, etc.); and as (iii) step, I have created a papyrus model based on my existing .UML file through right click on .UML file and following the papyrus model creation wizard; as (iv) step, I have loaded the UML model file (in the diagram generation template) by using load from workspace button. After following all these steps, I have saved the diagram file. But, when I have pressed the generate button in generation template, nothing is generated.
Am I am doing something wrong? Thanks for your time and consideration
Best, Atif/
|
|
|
Re: Visualization and Navigation between diagrams [message #989698 is a reply to message #989488] |
Fri, 07 December 2012 10:44 |
Atif Javed Messages: 21 Registered: March 2010 |
Junior Member |
|
|
Hi,
I am using Eclipse Juno with Papyrus 9.0, and I would like to generate a sample papyrus model from my existing .UML file.
To that, I have followed these steps: initially, I have created a sample .UML file with few classes; in 2nd step, I have created a diagram generation template and filled all the relevant stuff (including diagram kind, for, what, etc.); and as 3rd step, I have created a papyrus model based on my existing .UML file through right click on .UML file and following the papyrus model creation wizard; in 4th step, I have loaded the UML model file in generation template by using the load from work-space button. After following all these steps, I have saved the model. But, when I have clicked at the 'generate button' in diagram generation template, no model is generated; even the template do not redirects to the papyrus model (in my case).
Am I am doing something wrong? Thanks for your time and consideration
Best, Atif/
|
|
|
Goto Forum:
Current Time: Mon Sep 23 01:50:43 GMT 2024
Powered by FUDForum. Page generated in 0.03931 seconds
|