Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » A suggestion for user-friendly typing
A suggestion for user-friendly typing [message #583136] Thu, 08 February 2007 00:37
Nicolas Rouquette is currently offline Nicolas RouquetteFriend
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.
Previous Topic:Questions to Sequence Diagram
Next Topic:[Announce] MDT UML2 2.0.3 M200702081049 is available
Goto Forum:
  


Current Time: Thu Apr 25 16:52:39 GMT 2024

Powered by FUDForum. Page generated in 0.03286 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top