Eliminate "affiliate" property in MenuPopup
-------------------------------------------
Key: PIVOT-228
URL: https://issues.apache.org/jira/browse/PIVOT-228
Project: Pivot
Issue Type: Improvement
Components: wtk
Affects Versions: 1.3
Reporter: Greg Brown
Priority: Minor
Fix For: 1.3.1
MenuPopups automatically close when the user clicks outside of their bounds,
unless the user clicks on an "affiliate" component. This concept is somewhat
contrived and imposes assumptions that we don't really need to make. The
affiliate concept should be eliminated, and the responsibility for closing the
popup should be delegated elsewhere.
When opened as a context menu, the menu popup should automatically close
itself. This may become the responsibility of the ApplicationContext class,
which now opens menu popups via the MenuHandler interface. When opened by a
menu item, menu bar item, or menu button, it will be the responsibility of
those components to close the popup.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.