Book a Demo

Author Topic: disable EA dialog - provide custom dialog  (Read 4609 times)

Danny F

  • EA User
  • **
  • Posts: 60
  • Karma: +0/-0
    • View Profile
disable EA dialog - provide custom dialog
« on: February 08, 2013, 01:59:21 am »
This is about property dialogs on an existing stateflow (transition)

When a user double-clicks or goes through the context menu of a stateflow (transition) I want to popup a custom dialog in stead of the EA provided dialog.

I know about Repository.suppressdialog tut I don't think it applicable in this case.


thanks in advance for any pointers

(Although by now I get by in C# - I'm in now way an expert - so be gentle please)

gr



« Last Edit: February 08, 2013, 02:00:01 am by dannyf »
Reg.

Danny

stao

  • EA User
  • **
  • Posts: 137
  • Karma: +0/-0
    • View Profile
Re: disable EA dialog - provide custom dialog
« Reply #1 on: February 08, 2013, 08:41:51 am »

Danny F

  • EA User
  • **
  • Posts: 60
  • Karma: +0/-0
    • View Profile
Re: disable EA dialog - provide custom dialog
« Reply #2 on: February 08, 2013, 05:25:08 pm »
Thank you  for the response but

Sadly this does not work on the context menu choice, there is no event generated ? (on opening the dialog)

(it does work on the doubleclick - don't know why I'v put that in the question )

gr
Reg.

Danny

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: disable EA dialog - provide custom dialog
« Reply #3 on: February 08, 2013, 06:20:40 pm »
Doesn't really surprise me, they probably just forgot. ::)
You better send in a bug report.

Geert

Danny F

  • EA User
  • **
  • Posts: 60
  • Karma: +0/-0
    • View Profile
Re: disable EA dialog - provide custom dialog
« Reply #4 on: February 08, 2013, 06:48:35 pm »
As it is now there is never any event triggered when you use the context menu in a diagram.
(other then OnContextItemChanged, if appropriate)

(When using context menu in the tree, a doubleclickec event is triggered. - but not in diagrams)


Actually, I think there should be an EA_OnOpenDialog event, covering all situations where a dialog is opened. ?
Reg.

Danny