tmf: Simplify SelectElementTypeContributionItem
authorPatrick Tasse <patrick.tasse@gmail.com>
Mon, 20 Mar 2017 17:51:22 +0000 (13:51 -0400)
committerPatrick Tasse <patrick.tasse@gmail.com>
Tue, 21 Mar 2017 15:26:01 +0000 (11:26 -0400)
commitc416d35bf0b30bce8ec3667a37a157d28460dd91
tree6ef838078252e1f0946aa66f2d1d319020263a3a
parent958436e2d6c68d5135fab4b6aeab2b60933c4709
tmf: Simplify SelectElementTypeContributionItem

The class TmfTraceType already manages the list of available trace
types, including experiment types and custom trace types. Its list of
trace type helpers can be used to build the menu items.

The unused command parameters BUNDLE and ICON are removed.

Note that menu items will now be grouped by category name instead of
category id. If two different category id used the same name, they will
now be merged instead of showing two sub-menus with the same name.

The items in a category sub-menu will be sorted alphabetically.

Change-Id: I411e88ad34db66d4ec3d32d8e4e6390ca66b6c6a
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
Reviewed-on: https://git.eclipse.org/r/93446
Reviewed-by: Hudson CI
Reviewed-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Tested-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
tmf/org.eclipse.tracecompass.tmf.ui/plugin.properties
tmf/org.eclipse.tracecompass.tmf.ui/plugin.xml
tmf/org.eclipse.tracecompass.tmf.ui/src/org/eclipse/tracecompass/internal/tmf/ui/project/handlers/SelectElementTypeContributionItem.java
This page took 0.103565 seconds and 5 git commands to generate.