Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-181

Context menu handler

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3
    • Component/s: wtk
    • Labels:
      None

      Description

      Create framework-level support for context menus by creating a Component.ContextMenuHandler interface. When the display host detects a right click, it will:

      1) Get a reference to the lowest-level component that the mouse is over, and if that's non-null...
      2) Construct the path from the display to that component, instantiate a MenuPopup
      3) Walk the path, passing the menu popup's menu to each ContextMenuHandler that is found along the path
      4) Open the menu popup if the menu is non-empty after the path has been walked

        Attachments

          Activity

            People

            • Assignee:
              tvolkert Todd Volkert
              Reporter:
              tvolkert Todd Volkert
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: