Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Problem with multiple stereotype icon and expression
Problem with multiple stereotype icon and expression [message #1143979] Fri, 18 October 2013 15:03
Logan M is currently offline Logan MFriend
Messages: 8
Registered: October 2013
Location: Toulouse
Junior Member
Hello,

I have created a custom profile which add a "database" stereotype on "UML::ExecutionEnvironment". The stereotype has a "databaseProductName" property.
I have added two icons with the following expression:
(Name,Kind,Expression)

  • DB2,icon,databaseProductName=DB2
  • Oracle,icon,databaseProductName=Oracle


Then I have created a "Deployment Diagram" with two Execution Environment. I have added the profile on both and set the "databaseProductName" ; one with DB2 and the other with Oracle. Finally, I have setup the icon display.

However, the same icon "DB2" is displayed for both. Is all correct or I have missed something ? Thank you !

Configuration:

  • Eclipse: 4.3.0.M20130911-1000 (Kelper SR1)
  • Papyrus: 0.10.1.v201309181302
Previous Topic:Problem when creating new component diagram using existing components and relationships.
Next Topic:Unable to remove diagram
Goto Forum:
  


Current Time: Sat Apr 20 03:26:19 GMT 2024

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

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

Back to the top