UML Profile as an Eclipse Plugin [message #1216681] |
Thu, 28 November 2013 10:36  |
Eclipse User |
|
|
|
Hello,
I have modeled an UML Profile with Papyrus and I would like to export it (along with a Customized palette) as an Eclipse Plugin. Is this possible?
Thank you very much.
|
|
|
|
Re: UML Profile as an Eclipse Plugin [message #1220798 is a reply to message #1220736] |
Fri, 13 December 2013 11:31  |
Eclipse User |
|
|
|
Hi Javier,
Yes, it is possible. However, the tool support is not complete yet (i.e. you'll need to do a few things manually).
If you've already customized the Palette for your profile, the Palette configuration is located in your workspace directory:
~workspace/.metadata/.plugins/org.eclipse.papyrus.uml.diagram.common/your_palette.xml
You need to copy this file into a plug-in, and fill the org.eclipse.papyrus.uml.diagram.common.paletteDefinition extension point (Use org.eclipse.papyrus.uml.diagram.common.service.PapyrusPaletteService as the class for the PaletteProvider)
For the profile, you have three extension points to fill:
- org.eclipse.emf.ecore.dynamic_package (Or generated_package for static profiles)
- org.eclipse.uml2.uml.dynamic_package (Or generated_package for static profiles)
- org.eclipse.papyrus.uml.extensionpoints.UMLProfile
Regards,
Camille
|
|
|
Powered by
FUDForum. Page generated in 0.04597 seconds