Book a Demo

Author Topic: Customizing Context Menus and the Project Browser  (Read 3086 times)

Jason Goetz

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Customizing Context Menus and the Project Browser
« on: January 30, 2010, 06:42:22 am »
We need to do a few things with customizing the UI, First, we would like to add a couple links to the context menu of items and packages we have created using our Add-In. For all elements or packages created using our add-in, we would like to create a couple menu items, so that when you right-click on the element or package, you get some direct items in the context menu.

Also, we would like to put a small icon in the browser on imported packages to denote that they are packages that have been imported by our add-in.

I have seen other add-ins that do these things. For example, Polarion's EA add-in has these UI features. However, I can't seem to find how this is done in the available documentation.

Any idea how either of these can be implemented?

Jason

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Customizing Context Menus and the Project Brow
« Reply #1 on: February 01, 2010, 09:31:04 am »
Quote
We need to do a few things with customizing the UI, First, we would like to add a couple links to the context menu of items and packages we have created using our Add-In. For all elements or packages created using our add-in, we would like to create a couple menu items, so that when you right-click on the element or package, you get some direct items in the context menu.
The Add-Ins menu from EA's main menu gets reproduced in the context menu, but that's the closest you can get I'm afraid.

Quote
Also, we would like to put a small icon in the browser on imported packages to denote that they are packages that have been imported by our add-in.
In the help, look up supported stereotype attributes in UML profiles. The attribute you need to define is "icon".
The Sparx Team
[email protected]