Bug 166565 - [ProfileDefD, ClassD] Correctly show element import on diagram
Summary: [ProfileDefD, ClassD] Correctly show element import on diagram
Status: VERIFIED FIXED
Alias: None
Product: GMF-Tooling (ARCHIVED)
Classification: Modeling
Component: Samples (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Tatiana Fesenko CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2006-12-01 16:46 EST by Tatiana Fesenko CLA
Modified: 2012-12-11 15:12 EST (History)
1 user (show)

See Also:


Attachments
Shows imported element names on the diagram (169.53 KB, text/plain)
2006-12-04 15:25 EST, Tatiana Fesenko CLA
no flags Details
Shows imported element names on the diagram (169.96 KB, patch)
2006-12-07 11:45 EST, Tatiana Fesenko CLA
no flags Details | Diff
Shows imported element names on the diagram (127.34 KB, patch)
2006-12-12 13:16 EST, Tatiana Fesenko CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tatiana Fesenko CLA 2006-12-01 16:46:27 EST
Build ID:  I20061102-1715

Default Profile is created with imported primitive types. Element import has its own notation in UML [UML 2.1 spec., p.66]
1)An element import is shown using a dashed arrow with an open arrowhead from the importing namespace to the imported element...
2)As an alternative to the dashed arrow, it is possible to show an element import by having a text that uniquely identifies the imported element within curly brackets either below or after the name of the namespace. 

As imported element cannot be shown on ProfileDefD in most cases it is reasonable to show imported elements as labels.

More information:
Comment 1 Tatiana Fesenko CLA 2006-12-04 15:25:07 EST
Created attachment 54995 [details]
Shows imported element names on the diagram

Imported Element names are read-only shown on the diagram in collapsible compartment. 
Name (editable) and <<profile>>  labels are shown above.
Comment 2 Tatiana Fesenko CLA 2006-12-07 11:45:16 EST
Created attachment 55248 [details]
Shows imported element names on the diagram

Imported element names are shown as labels in collapsible compartment inside non-resizable and non-movable polygon.
Comment 3 Tatiana Fesenko CLA 2006-12-12 13:16:35 EST
Created attachment 55515 [details]
Shows imported element names on the diagram

Shows imported element names which isMetaclass() returns false
Comment 4 Michael Golubev CLA 2006-12-12 13:25:28 EST
The final version of the fix was committed 
Comment 5 Michael Golubev CLA 2007-02-01 19:30:24 EST
Fixed in M4b
Comment 6 Michael Golubev CLA 2007-06-28 05:05:15 EDT
Also with RC3Fix build, element imports are missed in the ClassD
Comment 7 Nick Boldt CLA 2008-01-28 16:38:14 EST
Move to verified as per bug 206558.