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 11:03
Logan M is currently offline Logan M
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: Wed Jul 30 03:13:01 EDT 2014

Powered by FUDForum. Page generated in 0.10537 seconds