Book a Demo

Author Topic: Read out the single-clicked package name in repository using Add-In  (Read 3630 times)

ankur

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Hello,

I am writing an Add-in in EA 14. I would like to get the name of the package I selected in the Repository using a single click, i.e. highlighted package.

Is there a possibility to read out that name in EA Object model ?

Regards,
Ankur
« Last Edit: April 24, 2019, 05:03:05 pm by ankur »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Read out the single-clicked package name in repository using Add-In
« Reply #1 on: April 24, 2019, 05:23:36 pm »
Repository.GetTreeSelectedPackage()

Geert

ankur

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Read out the single-clicked package name in repository using Add-In
« Reply #2 on: April 24, 2019, 10:53:11 pm »
That worked.

Thanks Geert  :)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Hu, another creepy bot :-/

q.