[jira] [Created] (PIVOT-991) Design and implement "standard" method for associating context with actions

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (PIVOT-991) Design and implement "standard" method for associating context with actions

JIRA jira@apache.org
Roger Whitcomb created PIVOT-991:
------------------------------------

             Summary: Design and implement "standard" method for associating context with actions
                 Key: PIVOT-991
                 URL: https://issues.apache.org/jira/browse/PIVOT-991
             Project: Pivot
          Issue Type: Improvement
          Components: wtk
    Affects Versions: 2.0.4
         Environment: All
            Reporter: Roger Whitcomb
            Assignee: Roger Whitcomb
            Priority: Minor
             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
(v6.3.4#6332)