Book a Demo

Author Topic: Hide irrelevant Toolbox pages in MDG technology toolbox  (Read 4376 times)

ankur

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Hide irrelevant Toolbox pages in MDG technology toolbox
« on: April 02, 2019, 10:27:03 pm »
Hello,

I have created 2 custom diagrams with a profile along with 2 custom toolboxes corresponding to each Diagram type and imported them in the project. All looks good and I can drag n drop the elements from Toolbox page to the diagram along with custom stereotypes.

1. I simply would like to hide all other toolbox pages apart from the one that I have created (in toolbox). For eg.  extended a UML Class diagram to create my own customized diagram. But, when I also add the toolbox profile, apart from my toolbox page, all other toolbox pages are available there. I don't wanted those.

2. I would also like to get the toolbox to update automatically based on the custom diagram type selected.

Can somebody guide me in the right direction ?

Thanks in advance.

Regard
« Last Edit: April 02, 2019, 10:29:58 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: Hide irrelevant Toolbox pages in MDG technology toolbox
« Reply #1 on: April 02, 2019, 11:27:16 pm »
If you are not already, you should package your profiles into an MDG technology.
Then make sure you set the toolbox to use on the diagram stereotypes.

If you want to completely block the other toolboxes you can
A) disable all MDG technologies you don't use
B) Use perspectives's to use only your MDG.

Geert

ankur

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Hide irrelevant Toolbox pages in MDG technology toolbox
« Reply #2 on: April 02, 2019, 11:34:54 pm »
If you are not already, you should package your profiles into an MDG technology.
Then make sure you set the toolbox to use on the diagram stereotypes.

If you want to completely block the other toolboxes you can
A) disable all MDG technologies you don't use
B) Use perspectives's to use only your MDG.

Geert

Hi Geert,

Thanks a lot for your quick response :)

As mentioned by you, I packed everything in MDG technology and imported it in my project. Then I disabled all other MDG technologies that are not needed.
Plus, I used perspective to use my MDG.

But I still have to choose 1 out of 2 toolboxes.

I am looking for something like this:

Diagram A --> Toolbox A

And when I create a custom Diagram B --> Toolbox B must be available automatically without switching over to Toolbox B from Toolbox A (as Toolbox A was selected when Diagram A was created).

Is it possible to change the Toolboxes dynamically based on the Diagram type ?

Thanks in advance.

With Regards,
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: Hide irrelevant Toolbox pages in MDG technology toolbox
« Reply #3 on: April 03, 2019, 12:15:57 am »
Yes, edit the diagram stereotype with the profile helper and select the toolbox profile name.

That will automatically load the correct toolbox with the diagram.

Geert

ankur

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Hide irrelevant Toolbox pages in MDG technology toolbox
« Reply #4 on: April 03, 2019, 06:56:31 pm »
Hi Geert,

That worked. Thanks a lot :)

Regards,
Ankur