Book a Demo

Author Topic: Make Composite - change default behaviour  (Read 2902 times)

OpenIT Solutions

  • EA User
  • **
  • Posts: 555
  • Karma: +9/-1
    • View Profile
Make Composite - change default behaviour
« on: April 05, 2012, 10:58:56 pm »
Hi All,

Anyone know if its possible via an MDG (or any other means) to change the default behaviour when a user select Advanced -> Make Composite ?

Currently Sparxs will create a *child* diagram under the selected element. I'd like Sparx to create a new package within the package containing the element and add the diagram to this package.

Regards,

Jon.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Make Composite - change default behaviour
« Reply #1 on: April 06, 2012, 12:01:51 am »
Catch OnPostNewDia, see where it's in (Parent) and act accordingly.

See the automation/bugs list for irregularities with those broadcast functions.

q.