UML 2.6 RTF Avatar
  1. OMG Issue

UMLR — UML: Issue with stereotype icons in a profile

  • Key: UMLR-183
  • Legacy Issue Number: 14227
  • Status: open  
  • Source: International Business Machines ( Mr. Gary Johnston)
  • Summary:

    Currently, a profile can include an icon for a stereotype. This means that a stereotype can have just one icon. If a stereotype extends more than one UML metaclass the profile designer might want to include different icons depending on which of the metaclasses the stereotype is applied to. For example, if I define a stereotype <Foo> that extends both <metaclass> Interface and <metaclass> Class, I will probably want a different icon for the two different usages of <Foo> but there is no way to define more than one icon per stereotype.
    The suggestion is that one should be able to specify an icon for the extension relationship between a stereotype and metaclass instead of (or in addition to, perhaps) on the stereotype itself. Profile authors would then be able to assign distinct icons for different stereotype usages. And UML tools would then be able to display distinct icons in such cases.
    This issue came up during discussions of the in-progress SoaML specification & profile. One of its stereotypes (<ServiceInterface>) extends both Class and Interface and the icons for each should be visually distinct. Currently, profiles don't provide a way to make this happen.

  • Reported: UML 2.5 — Thu, 27 Aug 2009 04:00 GMT
  • Updated: Fri, 6 Mar 2015 20:57 GMT