Book a Demo

Author Topic: suppressing "(from Package)" annotation  (Read 3924 times)

OwenInCanada

  • EA User
  • **
  • Posts: 78
  • Karma: +0/-0
  • have the right tool for the job
    • View Profile
suppressing "(from Package)" annotation
« on: April 10, 2008, 12:00:58 am »
Hi all,

What controls when an actor shows the "(from Package)" notation below its icon? When that annotation is present, do you actually have a distinct object from when it is absent, or is this a question of appearance only? (Except for the obvious difference that the actor is from a different package.)

Specifically, the EABase.eap has a package hierarchy
  • Use Case Model / Actors
  • Use Case Model / Primary Use Cases
And you can pull actors from Actors pkg into use case diagrams in Primary Use Cases pkg without the annotation.

But when I try, in my own separate project, to create such a hierarchy, the actors come up with the from package annotations.
And it makes me wonder if this is a substantive difference, or if it is just some visibility setting that I need to suppress.

A difference between my project and EABase is that I am using a Sysml use case diagram.

Thank you for your assistance here.

Regards,

Owen

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: suppressing "(from Package)" annotation
« Reply #1 on: April 10, 2008, 01:34:41 am »
No problem Owen,

What you are seeing is the namespace (i.e. origin) of 'foreign' elements.

Open the diagram properties dialog - you can use the F5 shortcut. Click the Diagram tab, and look under the Appearance list on the left. Clear the Show Namespace box and close the dialog - I've been unsuccessful in getting Sparx to add an Apply button to this dialog - to see the results.

You might also want to experiment with the Tools | Options | Diagram | Behavior setting for Show 'Hidden' Parents.

David
No, you can't have it!

thomas.kilian

  • Guest
Re: suppressing "(from Package)" annotation
« Reply #2 on: April 10, 2008, 02:34:30 am »
Yes. But for some diagrams you will see (from package) whilst others display the (partial) namespace as package::element extension to the element name. I think this is inconsistent. And the partial namespace is also not very helpful as long as it can't be configured to be fully qualified. Either notation just (sort of) helps to identify that an element is from another package - whatever that would help :(

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: suppressing "(from Package)" annotat
« Reply #3 on: April 10, 2008, 03:17:22 am »
Quite correct!

I think - this point has been debated elsewhere - that this might be affected by the Disable fully scoped object names setting on the Tools | Options | Diagram dialog.

David

[EDIT: Yes it is, but only for some elements. For example, an actor (in stick man notation) will not show the fully scoped name regardless of the setting, while a class will.]
« Last Edit: April 10, 2008, 03:20:37 am by Midnight »
No, you can't have it!