Patch submitted for ClassD stereotype and profile application [message #594775] |
Sat, 26 May 2007 00:07 |
Dave Carlson Messages: 402 Registered: July 2009 |
Senior Member |
|
|
I am starting a detailed review of Class diagrams in M7. I found
several issues with use of the new capability for applying profiles and
stereotypes. I attached a patch to the existing bug:
http://bugs.eclipse.org/bugs/show_bug.cgi?id=171261
For these issues:
* Stereotype label used < and >, instead of << and >>
Changed: AppliedStereotypeParser.java
* Stereotypes could not be applied to relationships (e.g. Association
and Generalization).
Changed: GraphicalEditPart to IGraphicalEditPart in:
plugin.xml, ApplicableStereotypesItemProvider.java,
ApplyStereotypeAction.java
* When multiple profiles are applied, the list of applicable stereotypes
must be displayed using the stereotype qualified name
Changed the label text in: ApplyStereotypeAction.java
* The list of applicable profiles was hard-wired to Ecore and Standard.
This list must include other user-defined profiles that are configured
in the user's workbench. Most profiles are deployed using a plugin and
a pathmap variable.
A suggested general solution for this profile extensibility is
implemented in ApplicableProfilesItemProvider.java
The GMF PathmapManager is used to query registered pathmap variables,
and those mapped directories are scanned for profile files that have the
recommended .profile.uml file extension. The profile may be in a local
file directory or in a deployted JAR file (e.g. a packaged plugin). But
the PathmapManager is internal to the GMF plugin. Is there an
alternative way of getting these registered pathmap variables?
|
|
|
Powered by
FUDForum. Page generated in 0.04165 seconds