|
Re: Display additional meta properties on association end. [message #1799696 is a reply to message #1799685] |
Wed, 12 December 2018 14:21 |
|
Hi Pieter,
In the last version of Papyrus (2012-12 (build this day)), i can display some informations about the label of association end.
There 2 ways to manage it:
1. Grahically by selecting the label to manage, open the properties view, tab 'Appearance' and check the needed informations.
2. By css, create a css file and attach it to a model (you can drag&drop it into the diagram) and manage the labels as you want. For example, you can have something like that :
Association > Label:sourceRole {
maskLabel: visibility derived name multiplicity modifiers;
}
HTH,
Nicolas
|
|
|
|
Re: Display additional meta properties on association end. [message #1799751 is a reply to message #1799698] |
Thu, 13 December 2018 09:35 |
|
Hi,
In your version (2018-09), the appareance behavior disapear but will be available in the next release (2018-12). This was a bug fixed some weeks ago : https://bugs.eclipse.org/bugs/show_bug.cgi?id=515967
This next release will be available next week (wednesday 19/12 if i remember correctly).
Concerning the css, after the drag & drop, if you select the diagram, do you have the css defined in the 'style' tab of the properties view ? If not, you can manage it manually by adding this css.
Moveover, this following css style will work for ALL associations labels :
Association > Label {
maskLabel: visibility derived name multiplicity modifiers;
}
The 'derived' and 'modifiers' (unique) attributes are displayed only if this is not the default value.
HTH,
Nicolas.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03472 seconds