Book a Demo

Author Topic: API for closing or opening a package  (Read 3964 times)

tzafrir

  • EA User
  • **
  • Posts: 127
  • Karma: +0/-0
    • View Profile
API for closing or opening a package
« on: January 10, 2017, 08:55:25 pm »
Hi,

Does anybody knows if there is an API that closes a specified package on the model browser tree
and API that opens a specified package on the model browser tree?

Thanks

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: API for closing or opening a package
« Reply #1 on: January 10, 2017, 09:42:45 pm »
You can either select an package in the project browser (which will nog "open" the package I think), or as an alternative select the first element in that package (which will "open" the package in the project browser)

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: API for closing or opening a package
« Reply #2 on: January 10, 2017, 11:10:20 pm »
With that Geert means Repository.ShowInProjectView(item)

q.

tzafrir

  • EA User
  • **
  • Posts: 127
  • Karma: +0/-0
    • View Profile
Re: API for closing or opening a package
« Reply #3 on: January 11, 2017, 06:44:19 am »
Thanks both of you.
That solved my issue