Author Topic: Shape Script in Profile  (Read 3245 times)

Kobus

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
  • In complete darkness we are all the same!
    • View Profile
Shape Script in Profile
« on: July 21, 2006, 07:45:44 am »
Is it possible to use shape script within / in combination with UML profiles? I know you can manually override the look of a stereotype with the shape script but can this be done automatically while loading / importing a profile?

Any thoughts?

Greetings,

Jacob Hoeflaken
« Last Edit: July 21, 2006, 07:46:01 am by Kobus »
Thanx and best regards,

Kobus.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +54/-3
    • View Profile
Re: Shape Script in Profile
« Reply #1 on: July 22, 2006, 05:17:04 pm »
Give your <<stereotype>> class an attribute named _image and click on the "..." button next to the Initial Value field for the attribute to launch the shape script editor.
The Sparx Team
[email protected]

Kobus

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
  • In complete darkness we are all the same!
    • View Profile
Re: Shape Script in Profile
« Reply #2 on: July 23, 2006, 11:34:55 pm »
Thanx.

Is there a overview of all these "hidden/special" attributes?
Thanx and best regards,

Kobus.

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: Shape Script in Profile
« Reply #3 on: July 24, 2006, 12:43:17 am »
Yes, but they are written in 3 point on the side of the Quentulus Quazgar Mountains, just under .....    ;)

b
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Shape Script in Profile
« Reply #4 on: July 24, 2006, 04:43:58 am »
I was under the impression that there was a simple procedure to find the correct attribute for a given situation. Something along the lines of:
  • Rent a helicopter
  • Shoot a bear
  • This is where I always forget the next step or two...
My suggestion Jacob, is to start a Suggestion and Request thread, with a link to this thread. If enough of us get on board it might crawl up Sparx' prioity list. This could be a good time, since they will likely have to revisit the documentation for 6.5 and again for 7.0, both of which are likely for this year or a bit after.

David
No, you can't have it!

Kobus

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
  • In complete darkness we are all the same!
    • View Profile
Re: Shape Script in Profile
« Reply #5 on: July 24, 2006, 05:34:13 am »
Have done so.

Thanx all.
Thanx and best regards,

Kobus.