[jira] [Created] (PIVOT-991) Design and implement "standard" method for associating context with actions
Roger Whitcomb created PIVOT-991:
Summary: Design and implement "standard" method for associating context with actions
URL: https://issues.apache.org/jira/browse/PIVOT-991 Project: Pivot
Issue Type: Improvement
Affects Versions: 2.0.4
Reporter: Roger Whitcomb
Assignee: Roger Whitcomb
Fix For: 2.1
For a long time I have struggled with how to associate context with actions, particularly if an action can be invoked in several ways (such as from a toolbar button, menu item, popup menu, link button, etc.). And in the case of popup menus from a tree view, for instance, a standard menu action (such as "Refresh") definitely would need "context" or a way to associate which tree node it was invoked from (e.g.) with the Action. In our application I have invented a somewhat cumbersome approach that is fragile and hard to maintain. There should be a better way.
This issue is created as a placeholder for this research/thinking as well as the implementation (should we come up with one).
I know of other users of Apache Pivot that have also struggled with this concept.
This message was sent by Atlassian JIRA