Book a Demo

Author Topic: Shape Script++ and scripting in general  (Read 3775 times)

Nicole Tedesco

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
  • I don't think that's a good idea...
    • View Profile
Shape Script++ and scripting in general
« on: August 16, 2007, 11:58:02 am »
I like the idea of using EA for UI wireframing because of its intrinsic ability for reuse, code linkage and so on.  However, it would be really groovy if Shape Scripting was more...well...versatile.  I guess, for starters, why did you all invent your own script at all?  Why not just include JavaScript and/or VBA capabilities or some other well-known, well-supported and already-implemented system?

Given a better scripting language, it would also be really groovy if the entire EA object model were exposed to it.  For instance, I would love to query shapes associated with the current one and react to their state.  For instance, it would be nice to be able to automatically place a new shape added by the user in a particular position (and size) within a parent, or change color based on an associated state and so on.

Gee, golly, I could imagine you opening up an entire realm of possibilities for plugins and extensions if you would allow more full-featured scripting with well-known scripting languages.
Nicole C Tedesco

Nicole Tedesco

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
  • I don't think that's a good idea...
    • View Profile
Re: Shape Script++ and scripting in general
« Reply #1 on: August 20, 2007, 08:42:50 am »
I am going to look into your COM API in a moment, but perhaps a quick way for me to "get my way" is to not only allow one to bind an image or a simplistic script to a UI Control (or any other stereotype for that matter) but perhaps bind one or more COM objects to the stereotype in order to handle display logic, handle events such as connection changes and so on.
Nicole C Tedesco