|
Re: Modify Papyrus source files [message #1689405 is a reply to message #1689331] |
Mon, 23 March 2015 14:06 |
Camille Letavernier Messages: 952 Registered: February 2011 |
Senior Member |
|
|
Hi Adrien,
It *is* possible to change the source code directly; however Papyrus tries to provide everything you need to customize the diagrams *without* changing anything in the Papyrus plug-ins (So that you can ensure 100% compatibility during updates)
The source-code for SysML diagrams is located here:
git://git.eclipse.org/gitroot/papyrus/org.eclipse.papyrus.git
Under plugins/sysml/*
But with Papyrus Luna (1.0) and Papyrus Mars (1.1), we're providing many new customization capabilities to start from a UML Diagram (e.g. Class Diagram or Composite DIagram), and change or adapt everything you need: Appearance of the diagram elements, properties view, palettes, "New child" menus, ...
Everything is done via Eclipse Extension Points and all you need (in most cases) is configuration files/models. Advanced/Unsupported use cases may require a little bit of Java code, but we try to avoid that as much as possible.
Examples of new features in Mars:
https://wiki.eclipse.org/Papyrus/Mars_Work_Description
https://wiki.eclipse.org/Papyrus/Mars_Work_Description/NewFeature/Shape_customisation
https://wiki.eclipse.org/Papyrus/Mars_Work_Description/NewFeature/Modeling_Assistants
Also see the help inside Eclipse (F1 or Help > Help Contents) for existing customization mechanisms (Already available in Luna)
Regards,
Camille
Camille Letavernier
|
|
|
|
Powered by
FUDForum. Page generated in 0.03849 seconds