Book a Demo

Author Topic: Hiding items in EA menu automatically  (Read 4032 times)

Bibi

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Hiding items in EA menu automatically
« on: April 27, 2015, 05:06:57 pm »
Hi everyone,
I`d like to hide certain menuitems in the EA menu (e.g. "Get Latest"). For this purpose I know that you can manually create a new perspective where the items can be deselected. But I want to do this (create perspective and activate it) automatically. The only options I found, were the methods AddPerspective and ActivatePerspective in the Repository Class. But these are "no longer in use".
Does anyone know if there are replacements for those methods or how I could solve this problem differently?
Thanks in advance!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Hiding items in EA menu automatically
« Reply #1 on: April 27, 2015, 05:29:22 pm »
I think the configuration of your workspace is stored in the registry.
So I guess it is possible to manipulate it by manipulating the registry in your code.

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Hiding items in EA menu automatically
« Reply #2 on: April 27, 2015, 08:12:33 pm »
For sure you have to restart EA in order to make the changes visible.

q.