Author Topic: Creation dialogue when dragging a stereotype  (Read 3318 times)

cuninghamd

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Creation dialogue when dragging a stereotype
« on: September 17, 2007, 06:34:01 am »
HI,
  I i'm trying to replicate the kind of behaviour that you get when using the XML profile when creating for example a XSDcomplexDocumentType.

I have created a new profile for creating glossary element (as I wish to have the semantics of being able to link the glossary elements to other elements) , which works, but I'm struggling on how to automatically pop up a dialogue which will ask for the term, definition & type ( as defined by three tagged values ) and I wish to display the term, type and definition in the model & nothing else.

I've struggled for 2 days now & can't seem to find a way to do it.

Thanks in advance for any help

Dave.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8085
  • Karma: +118/-20
    • View Profile
Re: Creation dialogue when dragging a stereotype
« Reply #1 on: September 17, 2007, 12:57:33 pm »
See http://www.sparxsystems.com.au/EAUserGuide/index.html?broadcastpostnewelement.htm.  It talks about supressing the default EA dialog and you can show your own instead.

cuninghamd

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Creation dialogue when dragging a stereotype
« Reply #2 on: September 18, 2007, 02:28:29 am »
Simon,
  Thanks for the tip, However, is this how it is achieved when using the UML profile for the XSD schema - I don't recall having to download any .dll to enable this to happen - or is it somehow already within EA?

Dave.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8085
  • Karma: +118/-20
    • View Profile
Re: Creation dialogue when dragging a stereotype
« Reply #3 on: September 18, 2007, 01:03:06 pm »
No, the XSD schema dialogs are part of EA, not an addin.  But you can achieve a similar effect as I described.