A suggestion for user-friendly typing [message #583136] |
Thu, 08 February 2007 00:37 |
Nicolas Rouquette Messages: 157 Registered: July 2009 |
Senior Member |
|
|
In both 2.0.x and 2.1M4 builds of UML2, the property view allows
the user to choose the type of a typed element (e.g., a property)
using a drop-down list of all available types.
With primitive types, this list is very confusing because
it has many entries with the same suffix (e.g., "String").
There are some name prefixes like "<<eDataType>>" and "<Primitive Type>"
that sometimes help disambiguate which is which but that may not be enough.
In UML2 2.0.x and 2.1M4, "<<eDataType>> <Primitive Type> String"
ambiguously designates:
pathmap://UML_METAMODELS/UML.metamodel.uml#String
pathmap://UML_METAMODELS/Ecore.metamodel.uml#EString
The suggestion I offer involves segmenting the type URI
using the registered pathmap aliases to make the URIs
precise and user-friendly.
Segmenting and grouping types by common prefix or suffix
would enable a user to navigate down to the desired
type more quickly than the current drop-down list scheme.
Grouping from left to right might look like this:
pathmap://UML_METAMODELS/
|-> UML.metamodel#String
|-> Ecore.metamodel#String
pathmap://UML_Libraries/
|-> UMLPrimitiveTypes.library.uml#String
pathmap://MY_LIB/
|-> foo.uml#String
Let's be democratic. Some users might prefer
grouping from right to left
to get something like this:
String
|-> UMLPrimitiveTypesLibrary.uml ...
|-> Ecore.metamodel.uml ...
|-> foo.uml ...
-- Nicolas.
|
|
|
Powered by
FUDForum. Page generated in 0.03286 seconds