Book a Demo

Author Topic: Show Profile Namespace in Diagrams  (Read 3766 times)

Michael Schmalzbauer

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Show Profile Namespace in Diagrams
« on: April 24, 2009, 06:19:19 pm »
Hi,

I want to import multiple profiles in my model. This results in a huge amount of stereotypes.
The help from EA (Version 7.1.834) says: "The stereotypes within each profile use the profile name as the namespace."
Showing the namespace in the diagrams would help to remain focused.

Is there any possibility to show the namespace in the diagrams. E. g.: <<MyProfile.MyStereotype>>

Any suggestions?

Thanks in advance...

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: Show Profile Namespace in Diagrams
« Reply #1 on: April 27, 2009, 09:47:06 am »
Right-click on the diagram background, select the Properties option and, on the Diagram Properties dialog, select the Diagram tab.  Select the Show Namespace checkbox.
Best Regards, Roy

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Show Profile Namespace in Diagrams
« Reply #2 on: April 27, 2009, 12:05:36 pm »
Quote
Right-click on the diagram background, select the Properties option and, on the Diagram Properties dialog, select the Diagram tab.  Select the Show Namespace checkbox.
Roy, that option will show the namespace of an element. The OP is asking to see the namespace of an element's stereotype, which doesn't currently get displayed.
The Sparx Team
[email protected]

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: Show Profile Namespace in Diagrams
« Reply #3 on: April 27, 2009, 02:09:43 pm »
Yeah ... what HE said. Aplogies for my misdirection.
Best Regards, Roy

Michael Schmalzbauer

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Show Profile Namespace in Diagrams
« Reply #4 on: May 06, 2009, 12:55:16 am »
Hi,

got the answer from the Sparx Support:

Quote
Hello Michael,

I'm afraid there is currently no way to display stereotype namespaces in the way that you suggest.

There are a number of work-arounds that you can consider. My first thought would be that the context should take care of things, so that BPMN stereotypes only appear on BPMN diagrams, WSDL stereotypes on WSDL diagrams, Data Modelling stereotypes on Data Modelling diagrams, etc. If you have stereotypes from multiple profiles on a single diagram, it would certainly be worth investigating whether breaking the problem onto multiple diagrams would clarify matters.

Another idea is to have the profile name appear in the stereotype name as a prefix. For example, in our Enterprise Java Bean profile the stereotypes are named like <<EJBSessionBean>> instead of <<SessionBean>>.

I hope you can find a workable solution using the above suggestions. I have logged a feature request in your name asking for optional display of stereotype namespaces.