Book a Demo

Author Topic: Shape Script Manual  (Read 5707 times)

fwoolz

  • EA User
  • **
  • Posts: 435
  • Karma: +0/-0
  • We have met the enemy, and he is us.<Pogo, 1970>
    • View Profile
Shape Script Manual
« on: August 21, 2006, 12:30:06 pm »
All,

The EA User Manual has sketchy info, at best, on the Shape Script language. Do Sparx plan on issuing a comprehensive manual detailing all commands, etc?

Cheers,
Fred Woolsey
Interfleet Technology Inc.

Always be ready to laugh at yourself; that way, you beat everyone else to the punch.


«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Shape Script Manual
« Reply #1 on: August 21, 2006, 03:02:17 pm »
I've been after them about this for some time. Try searching the forum for what we've all learned. [Hint: use "documentation" rather than "manual" since that's the term that's generally used in posts.]

I am hoping that the production documentation for EA 6.5 will be updated. As of beta 1 this is not so.
No, you can't have it!

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Shape Script Manual
« Reply #2 on: August 21, 2006, 03:17:11 pm »
There has been some work done on this and it should definately be included in the final release of 6.5.

fwoolz

  • EA User
  • **
  • Posts: 435
  • Karma: +0/-0
  • We have met the enemy, and he is us.<Pogo, 1970>
    • View Profile
Re: Shape Script Manual
« Reply #3 on: August 21, 2006, 03:50:26 pm »
Good to hear...

An additional bit regarding Shape Script, EA profiles and MDG Add-Ins:

While poking around the BPMN add-in DLL, I discovered that images associated with stereotypes may be defined in a profile as:

Image type="EAShapeScript 1.0"

The script file, however, is not included as text but as base64 encoded binary data, with a data type defined as:

dt:dt="bin.base64"

Is there anything special that needs to be done to include a text Shape Script in a profile aside from encoding it as base64 binary? Will Sparx include the ability to attach a Shape Script file to a profile stereotype in a straightforward manner that doesn't require hacking the profile .xml file?

Cheers,
Fred Woolsey
Interfleet Technology Inc.

Always be ready to laugh at yourself; that way, you beat everyone else to the punch.


KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Shape Script Manual
« Reply #4 on: August 21, 2006, 04:15:50 pm »
Quote
Is there anything special that needs to be done to include a text Shape Script in a profile aside from encoding it as base64 binary? Will Sparx include the ability to attach a Shape Script file to a profile stereotype in a straightforward manner that doesn't require hacking the profile .xml file?


Build your profile as normal, give your <<stereotype>> class an attribute called _image and click the "..." button next to the Initial Value field to enter your shape script. No XML hacking necessary :)
The Sparx Team
[email protected]

fwoolz

  • EA User
  • **
  • Posts: 435
  • Karma: +0/-0
  • We have met the enemy, and he is us.&lt;Pogo, 1970&gt;
    • View Profile
Re: Shape Script Manual
« Reply #5 on: August 21, 2006, 04:28:29 pm »
Bloody brilliant!

DUH...
Fred Woolsey
Interfleet Technology Inc.

Always be ready to laugh at yourself; that way, you beat everyone else to the punch.