Sparx Systems Forum

Enterprise Architect => Suggestions and Requests => Topic started by: Uffe on August 03, 2009, 08:25:31 pm

Title: Select Type Dialog: Language Types
Post by: Uffe on August 03, 2009, 08:25:31 pm
Hi!


Loving the Select Type dialog in 7.5.846.

Would like to suggest the following addition: add a root node to the tree for the element's specified Language, which contains the Language's built-in types. So you'd see something like:

+ My Model Root Node 1
|  +--- My Model Root Node 1 View 1A
+ My Model Root Node 2
|  +--- My Model Root Node 2 View 2A
|  +--- My Model Root Node 2 View 2B
|
+ Built-In Java Types
|  +--- boolean
|  +--- byte
|  +--- char

Etc.

The language-specific node would have to be context-sensitive of course, just like the quick type selector drop-down in the Attribute Properties dialog, and you wouldn't be allowed to Add New in this branch.

This would also help fix a bug in the current implementation: if your attribute is of a built-in type and you open up the Select Type dialog, a (non-builtin) element is highlighted in the tree, indicating the wrong type for the attribute.

Cheers,


/Uffe