Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Add a Portal
Enterprise Architect provides a set of Portals, each of which is a collection of shortcuts and information on performing specific areas of work on a project. The portals help both new and experienced users quickly identify and set up the facilities they most often use in their assigned tasks.
You can add your own Portal to the system-installed set, to provide a convenient and concise call-up of one or more groups of facilities available in your Add-In.
public String EA_LoadWindowManager(EA.Repository Repository)
Where Resource1.WindowManager is a resource file with these contents:
<?xml version="1.0" encoding="UTF-8"?>
<category name="Add-in" type="commandlist" projectrequired="true">
<item name="Hello World" command="CallAddin" addin="CS_AddinFramework" function="HelloWorld"/>
<item name="Model Dump" command="CallScript" group="Local Scripts" script="JScript - Recursive Model Dump Example"/>
<category name="Open Diagrams" type="currentdiagramlist" state = "open"/>
<category name="Recent Diagrams" type="recentdiagramlist" state = "open"/>
<category name="Other Windows" type="otherwindowlist" state = "open"/>
Note that the Add-In cannot specify the icon used.