Book a Demo

Author Topic: Diagram picker  (Read 5777 times)

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Diagram picker
« on: May 04, 2017, 07:09:05 pm »
Hi all,

Is it possible to have the user pick a diagram using Repository.InvokeConstructPicker()? If so, how?
I've tried "IncludedTypes=Diagram", but that didn't work.

Or is there another way to invoke a similar picker for diagrams?


/Uffe
My theories are always correct, just apply them to the right reality.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Diagram picker
« Reply #1 on: May 05, 2017, 04:55:21 pm »
No, it only supports elements.
Please send in a feature request to support all other types of EA elements (diagram, attributes, operations)

The dialog already does it in EA because it's the same dialog you use when selecting a diagram or an attribute, it is just not exposed to the API.

Geert

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Diagram picker
« Reply #2 on: May 08, 2017, 08:54:25 am »
The dialog already does it in EA because it's the same dialog you use when selecting a diagram or an attribute, it is just not exposed to the API.
No, the diagram selection dialog is different.

rupertkiwi

  • EA User
  • **
  • Posts: 133
  • Karma: +5/-0
    • View Profile
Re: Diagram picker
« Reply #3 on: August 23, 2017, 12:38:44 pm »
Hi Geert,

I notice that your EA Navigator add in that you created displays diagrams.

How did you manage to get that to work?

Thanks,
Rupert

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Diagram picker
« Reply #4 on: September 06, 2017, 08:47:57 pm »
Hi Geert,

I notice that your EA Navigator add in that you created displays diagrams.

How did you manage to get that to work?

Thanks,
Rupert

Simple. I check the selected item in the project browser, and if that is a diagram then i display it in my treeview.
But I guess you are looking for a different answer?

Geert