port icons in 0.10.2... [message #1255355] |
Mon, 24 February 2014 11:00 |
Tomas Sandkvist Messages: 149 Registered: October 2013 |
Senior Member |
|
|
After upgrading to 0.10.2 (still running under Eclipse SR1 though), I find that port icons seems impossible to hide? It was possible in 0.10.1 from the Appearance tab, but now when selecting the port the Element icon box is unchecked but the icon is displayed.
[EDIT] This also goes for Package elements
[EDIT 2] The icon for flow ports set to output looks like pointing inwards instead of outwards?
Regards,
Tomas Sandkvist
[Updated on: Mon, 24 February 2014 12:02] Report message to a moderator
|
|
|
Re: port icons in 0.10.2... [message #1255412 is a reply to message #1255355] |
Mon, 24 February 2014 12:10 |
Camille Letavernier Messages: 952 Registered: February 2011 |
Senior Member |
|
|
Hi Tomas,
The Composite Structure diagram doesn't have any specific support for SysML icons, so the visual direction of the icon doesn't depend on the graphical position of the Port (Left to right for "In", Right to left for "Out"). SysML IBD diagram properly supports icons.
For hiding the icons, there are two things:
- The port icon displayed next to the label: select the Label, go to the appearance tab, and uncheck "Element icon"
- The flowport icon displayed on the port: select the port, go to the appearance tab, and select "Text" instead of "Icon" or "Text and Icon" in the "Stereotype display" combo box
In Kepler SR2, we have extended the CSS Support to all labels and compartments, and the default Theme hasn't been properly updated, which is why the icon may appear on some labels (Ports, Associations...). This is a bug (although a minor one)
Regards,
Camille
Camille Letavernier
|
|
|
|
Re: port icons in 0.10.2... [message #1255523 is a reply to message #1255439] |
Mon, 24 February 2014 14:39 |
Camille Letavernier Messages: 952 Registered: February 2011 |
Senior Member |
|
|
Hi,
The easiest solution is to switch back to the "Black & White" CSS Theme in the preferences, because it is the "Papyrus Theme" which introduces the bug; but then, you'll lose all colors.
Otherwise, you need to patch the Papyrus Theme (Which means import the *.css.theme plug-in, patch the CSS file, then re-deploy the plug-in). You can add the following lines:
Label { /* Floatting labels */
elementIcon: false;
}
Or, of course, you can wait for the official patch to be released, during this week
Regards,
Camille
Camille Letavernier
|
|
|
|
Powered by
FUDForum. Page generated in 0.03411 seconds