Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 410988 - [Diagram Import] Papyrus shall enable to import the graphical information of a UML profile defined in other tools
Summary: [Diagram Import] Papyrus shall enable to import the graphical information of ...
Status: RESOLVED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Diagram (show other bugs)
Version: 0.10.0   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: SR1   Edit
Assignee: Camille Letavernier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 425095 (view as bug list)
Depends on: 410987
Blocks:
  Show dependency tree
 
Reported: 2013-06-18 04:04 EDT by Camille Letavernier CLA
Modified: 2014-09-12 06:49 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Camille Letavernier CLA 2013-06-18 04:04:38 EDT
In addition to the import of the semantics information contained in a RSA-RTE model of a UML profile, Papyrus shall support the import of its graphical information

Regarding the graphics and layout, the diagram layout "should be look similar" and so the diagrams are "recognizable". An example could be that the e.g. line routing shouldn't change "too much" so that the viewer of the diagram would need to "interpret" it again.
Comment 1 Camille Letavernier CLA 2014-01-09 04:55:23 EST
*** Bug 425095 has been marked as a duplicate of this bug. ***
Comment 2 Ronan Bar CLA 2014-01-17 08:35:56 EST
Also remember the name of the new Papyrus model must be .profile.uml or else we cannot apply it to a Papyrus model.
Comment 3 Ronan Bar CLA 2014-03-17 12:14:04 EDT
This is now working but there remains issues:
#1 Stereotypes with no properties take up too much space. The empty box should be much smaller.
#2 As with #1 there is a whole bunch of space under the Stereotype properties, where there are some, that just takes up valuable space.
#3 If the original diagram has no over lapping for streotypes on the canvas then then imported diagram should not either. This is not the case today.
#4 There is too much connector line overlap accross streotypes.
Comment 4 Ronan Bar CLA 2014-05-13 11:22:22 EDT
No improvement in v5
Comment 5 Camille Letavernier CLA 2014-05-13 11:28:15 EDT
Almost everything is related to the default size of elements in Papyrus, which is bigger than the minimum required size. Moreover, it's not possible to hard-code a default size in the transformation, because the default size of the source element depends on its contents (The number of properties owned by the Stereotype).

The layout of connectors depends on the size of the nodes (i.e. making the nodes smaller will fix the connectors)

I'm not sure if there's any other solution than changing the default size of nodes in Papyrus (To make them smaller)
Comment 6 Camille Letavernier CLA 2014-09-12 06:49:01 EDT
Fixed in a808fbf (Luna), 3a67bf4 (Mars/Master)