Skip to main content



      Home
Home » Modeling » Papyrus » Icon presentation for elements in diagrams(Problem showing customized icon in diagram elements)
Icon presentation for elements in diagrams [message #1751970] Tue, 17 January 2017 05:42 Go to next message
Eclipse UserFriend
index.php/fa/28144/0/Hi!

A collegue of mine, Patrik Jonsson, earlier asked about showing the icon related to a stereotype in the "name compartment" of an element shown in a diagram. At the time for Patriks question it was not possible, the default element icon was always shown.

As this problem, as it seems, still exists, I wonder about the progress of this issue. If this is not resolved it will be hard to customize Papyrus because you almost always want to change the icon representation in diagram elements.

My versions:
Eclipse: Neon.1
Papyrus: 2.0.1

Patriks earlier questions:
https://www.eclipse.org/forums/index.php/m/1694057/?srch=icon+stereotype#msg_1694057
https://www.eclipse.org/forums/index.php/m/1694436/?srch=icon+stereotype#msg_1694436

Image example: index.php/fa/28144/0/

Best regards, Thomas Gericke
Re: Icon presentation for elements in diagrams [message #1751975 is a reply to message #1751970] Tue, 17 January 2017 07:51 Go to previous messageGo to next message
Eclipse UserFriend
Hi Thomas,

With
Class[appliedStereotypes~="Requirement"]{
	/* elementIcon:false;*/ 
    displayIcon:true;     
}


I have the stereotype Icon displayed but the place is a bit strange.

Regards,
Benoit
Re: Icon presentation for elements in diagrams [message #1752036 is a reply to message #1751975] Wed, 18 January 2017 02:33 Go to previous message
Eclipse UserFriend
Thank you very much!

It worked great!


Best regards, Thomas
Previous Topic:Drop element in Papyrus
Next Topic:[Table] Modify several fields based on selected reference
Goto Forum:
  


Current Time: Sat Apr 26 00:51:13 EDT 2025

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

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

Back to the top