Book a Demo

Author Topic: Bring up properties dialog  (Read 4725 times)

Stefan Bolleininger

  • EA User
  • **
  • Posts: 308
  • Karma: +0/-0
    • View Profile
Bring up properties dialog
« on: December 24, 2011, 06:58:54 am »
Hello,

a little Question:

I want to show up the element properties dialog from inside a Add-in.

Is it possible to open the dialog? I can't find anything about it the user guide.

Merry Christmas everyone!

Enterprise Architect in "safetycritical development" like medical device industry. My free Add-in at my Website

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Bring up properties dialog
« Reply #1 on: December 27, 2011, 05:18:00 pm »
No, not possible.
(unless you use something like sendkeys to simulate a doubleclick)

Geert

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Bring up properties dialog
« Reply #2 on: December 28, 2011, 04:06:09 am »
Just tossing in my 0.02 CAD on this...

If you can get the user to do something, use the appropriate broadcast event. This would likely be one of the EA_OnContextItemXXX events. Or you could capture the EA_OnNotifyContextItemModified event.

I have no idea - actually I simply don't remember and don't have the time just now to construct the experiment - whether you can trigger these from within your code. AFAIK they were designed to respond to user input through the UI; there might not be any provision for triggering by automation.

David
No, you can't have it!

stao

  • EA User
  • **
  • Posts: 137
  • Karma: +0/-0
    • View Profile
Re: Bring up properties dialog
« Reply #3 on: December 28, 2011, 09:56:44 pm »
you can try this
http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1315406188/1

i did not try it myself but perhaps it will work.
« Last Edit: December 28, 2011, 09:57:25 pm by stao »