Skip to main content



      Home
Home » Modeling » Papyrus » UML Profile as an Eclipse Plugin
UML Profile as an Eclipse Plugin [message #1216681] Thu, 28 November 2013 10:36 Go to next message
Eclipse UserFriend
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 #1220736 is a reply to message #1216681] Fri, 13 December 2013 05:42 Go to previous messageGo to next message
Eclipse UserFriend
Concerning the profile it is quite simple, please refer to http://www.eclipse.org/forums/index.php/t/604098/
Concerning the palette, I have no idea.
Re: UML Profile as an Eclipse Plugin [message #1220798 is a reply to message #1220736] Fri, 13 December 2013 11:31 Go to previous message
Eclipse UserFriend
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
Previous Topic:Creating Reports and Getting Information Out of a SysML Model
Next Topic:Write Code in to Operation of a Class in to Class Model
Goto Forum:
  


Current Time: Tue Jul 08 06:09:54 EDT 2025

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

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

Back to the top