Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-460

Context Menus: Top-level with items does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 1.0.0.Final
    • None
    • None
    • None
    • NEW
    • NEW

      I need a drop-down menu for an Editor that contains children.

      At the moment I create a CustomMenuBuilder to construct a BS3 drop-down button with the required content, and this works fine visually. However since the Menus object only has one entry for the "Custom Menu" it is impossible to retrieve the children from walking the Menus object.

      The Eclipse integration requires walking the Menus object to retrieve the Editor's menu definitions.

      Therefore I tried using MenuFactory.newTopLevelMenu("Caption").withItems(getEditMenuItems()) to construct a menu with children. Walking the Menus object showed the correct content however the ListBarWidgetImpl fails to construct the correct visual UI representation.

              cnicolai@redhat.com Cristiano Nicolai (Inactive)
              manstis@redhat.com Michael Anstis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: