|
|
Re: UML Profile as an Eclipse Plugin [message #1220798 is a reply to message #1220736] |
Fri, 13 December 2013 16:31 |
Camille Letavernier Messages: 952 Registered: February 2011 |
Senior Member |
|
|
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
Camille Letavernier
|
|
|
Powered by
FUDForum. Page generated in 0.03985 seconds