|Re: Customising Papyrus appearance [message #878356 is a reply to message #876526]
||Tue, 29 May 2012 06:23
| Camille Letavernier
Registered: February 2011
I could not find any global settings for the appearance of operation parameters. I would like to enable the name of a parameter and disable the modifiers.
You need to go a little deeper in the Diagram preferences, to find the "Operation" item :
Diagrams > PapyrusUMLClassDiagram Diagram > Operation
There, you can customize the default label display (Visibility, Name, Parameter Direction, Modifiers and Parameter Type)
Further I could not figure out how to apply the global settings to existing diagrams. As soon as I add a new class to my diagram the global appearance applies to the new class, but the existing classes in the diagram do not get updated. Is there a simple way to change this?
This is currently not possible. However, in Papyrus 0.9 (Which will be released in a few weeks, with Eclipse Juno), there is a support for CSS Stylesheets, which is more powerful than the current preferences-based customization.
Is there a way to export these settings to import them into another workspace?
Eclipse allows you to export your workspace preferences. Use "Export -> General -> Preferences", then choose "Export all" (Papyrus doesn't provide a specific category here...)
Powered by FUDForum
. Page generated in 0.02575 seconds