Author Topic: Metatype for package or  packaging component  (Read 2791 times)

andreas_w.

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Metatype for package or  packaging component
« on: April 21, 2015, 12:12:20 am »
Hello,
I'm interested to create a profile for a package. A bit background. The stereotype used on a package shall change the shape on an diagram. This works well.  :)
But the change of the icon within the project browser isn't working on packages. This is stated in the help of EA.  :(

I was wondering if this works if I use as metatype a packaging component. But it looks like this metatype isn't supported. I can even not address the stereotype to a base class called packaging component.

Is there a way to change the icon on a stereotype the extends the metatype package?
  

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: Metatype for package or  packaging component
« Reply #1 on: April 21, 2015, 09:39:47 am »
Quote
Is there a way to change the icon on a stereotype the extends the metatype package?
No, it's not allowed.

For background as to why it's not allowed, have a look at this page in the help file. It shows the package icons that have special meaning in EA. If you were able to change package icons, you wouldn't be able to see the special icons and you could for example render version control unusable. Best prevented.
The Sparx Team
[email protected]

andreas_w.

  • EA Novice
  • *
  • Posts: 9
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Metatype for package or  packaging component
« Reply #2 on: April 21, 2015, 03:53:52 pm »
Hello KP,
the page you mention has delivered me enough background.

I believe it's enough to change the shape for the package on diagrams. Which works already.

Thanks for the help.