Book a Demo

Author Topic: Portals toolbar  (Read 4327 times)

Monsieur

  • EA User
  • **
  • Posts: 142
  • Karma: +0/-0
    • View Profile
Portals toolbar
« on: September 21, 2015, 09:43:25 pm »
Hey gents!

Is it possible to custom Portals toolbar (the biggest and best new feature of EA 12  :D).
If so, how so? Does an MDG do the trick?

Regards,
M

PS:  :D --> this smiley has crazy eyes no?
« Last Edit: September 22, 2015, 05:21:34 pm by damien.reche »

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Portals toolbar
« Reply #1 on: September 22, 2015, 09:19:52 am »
The recommended way is using the EA_LoadWindowManager broadcast from an addin. Search for "EA_LoadWindowManager" in the help. I haven't tried it personally, but it appears to add your own section to the "Extensions" perspective.
The Sparx Team
[email protected]

Monsieur

  • EA User
  • **
  • Posts: 142
  • Karma: +0/-0
    • View Profile
Re: Portals toolbar
« Reply #2 on: September 22, 2015, 05:33:07 pm »
Quote
The recommended way is using the EA_LoadWindowManager broadcast from an addin. Search for "EA_LoadWindowManager" in the help. I haven't tried it personally, but it appears to add your own section to the "Extensions" perspective.
Thanks for the lead!
-   Does the "Extensions" chapter also combine with MDG (i can see a few in there)?
MDG are sexy for the user now with the provided pattern =)
-   Can we edit the original provided portal? (lets for exemple imagine i do not want to display one shortcut to the User (like... Start/Project/Cloud Connection or to modify what is displayed in Start/Help (supress some stuff, add my own link,...))?

EDIT : INFO: found that thanks to admin:
http://www.sparxsystems.com/enterprise_architect_user_guide/12/automation_and_scripting/add_a_portal.html
subject is still not closed :p

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Portals toolbar
« Reply #3 on: September 23, 2015, 02:05:24 pm »
Well, there is a config file (not very well hidden, if you look in the right place), and I can see that it would be good to be able to make changes to it, e.g. to translate into French or add or remove items. However, it will be overwritten every time you reinstall or upgrade EA, so managing changes could be difficult. And of course it wouldn't be supported.
« Last Edit: September 23, 2015, 03:24:39 pm by KP »
The Sparx Team
[email protected]

Monsieur

  • EA User
  • **
  • Posts: 142
  • Karma: +0/-0
    • View Profile
Re: Portals toolbar
« Reply #4 on: September 23, 2015, 05:22:32 pm »
Quote
Well, there is a config file (not very well hidden, if you look in the right place), and I can see that it would be good to be able to make changes to it, e.g. to translate into French or add or remove items. However, it will be overwritten every time you reinstall or upgrade EA, so managing changes could be difficult. And of course it wouldn't be supported.

/me : Before i start with my questions, thanks for providing answers on this forum  ;D

So best solution today,
modify Portals.xml in Sparx Systems/EA/Config and loose support  :-/ :'(

The fact that you need to manage in configuration this file is "not" a problem if you do not upgrade every day (which i dont, just need to stick a post it somewhere).
The fact that you loose support is far more upsetting.

I see that the portal "Extensions" is empty in the xml config file...
How does it load?
Could i put my MDG tech in there (with my own shortcuts)?