Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 10:42 Go to next message
Thomas Gericke is currently offline Thomas GerickeFriend
Messages: 12
Registered: February 2016
Junior Member
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 12:51 Go to previous messageGo to next message
Benoit Maggi is currently offline Benoit MaggiFriend
Messages: 129
Registered: March 2013
Location: Bordeaux, France
Senior Member
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 07:33 Go to previous message
Thomas Gericke is currently offline Thomas GerickeFriend
Messages: 12
Registered: February 2016
Junior Member
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 20 05:26:17 GMT 2024

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

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

Back to the top