Book a Demo

Author Topic: Overriding default stereotypes icons  (Read 2941 times)

Alessandro_C

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
  • ASL forever
    • View Profile
Overriding default stereotypes icons
« on: September 20, 2006, 08:09:23 am »
I'm using EA 6.5.797 and I've written a Shape Script that overrides the default image for a <<business actor>> (it's for test: I'm acquainting with this seemingly powerful feature of EA).

I've simply copied an example (the first one) from the help docs in the Shape Scripts editor, but I keep seeing business actors the usual way.

What seems odd is that the previews both in the Editor and in the stereotype dialog do not show anything, neither the default image nor my brand new shape.

Any ideas on what I am doing wrong?
TIA
Ale

thomaskilian

  • Guest
Re: Overriding default stereotypes icons
« Reply #1 on: September 20, 2006, 11:42:07 am »
Can you give a brief step by step description what you did?

Alessandro_C

  • EA Novice
  • *
  • Posts: 12
  • Karma: +0/-0
  • ASL forever
    • View Profile
Re: Overriding default stereotypes icons
« Reply #2 on: September 21, 2006, 01:08:14 am »
Ok, I try:
1 - in Settings/UML/Stereotypes I select <<business actor>> (the one that applies to actor)
2 - in the Override Appearance I select Shape Script radio button and press Assign
3 - I open the help through the help button of the Shape Script editor and copy/paste the Basic Shape code example (first entry in the list of Shape examples)
4 - Now I see the preview in the editor! Yesterday I did not...

Ok, it works. I do not understand. I've just repeated the very same steps...

Thank you anyway, as you've made me find that everything is ok!
Ale
« Last Edit: September 21, 2006, 01:14:38 am by Alessandro_C »