Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 Tools » Patch submitted for ClassD stereotype and profile application
Patch submitted for ClassD stereotype and profile application [message #470873] Sat, 26 May 2007 00:07
Dave Carlson is currently offline Dave CarlsonFriend
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?
Previous Topic:How is AbstractBorderedShapeEditPart generated in UML tools ?
Next Topic:Patch submitted for ClassD stereotype and profile application
Goto Forum:
  


Current Time: Tue Mar 19 09:16:11 GMT 2024

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

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

Back to the top