[SWINGX-1421] AbstractActionExt should use Action.SELECTED_KEY underneath is/setSelected Created: 22/Mar/11 Updated: 02/Dec/11 Resolved: 02/Dec/11
|Reporter:||Karl Schaefer||Assignee:||Karl Schaefer|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
As of Java 1.6, Action now supports a selected state. We need to defer to that to ensure that our action will work correctly with core components.
|Comment by Karl Schaefer [ 02/May/11 ]|
Issue 1364 and Issue 1421: Updated AbstractActionExt to use the Action.SELECTED_KEY instead of managing the selection manually. The key is used by buttons to correctly autoconfigure as of 1.6. Began work on changing the type constraints for action command to String. Must finish that in the next release when we can change getActionCommand to String.
Committed revision 3999.
|Comment by kleopatra [ 03/May/11 ]|
careful: this change will heavily break all existing apps which listen to the "selected"! Need a more open and at the same time smoother transition than a hidden re-wire, f.i. keep the old notification for a while
similar for any other keys that are updated to 1.6 (just saw the large-icon f.i.)
would suggest to re-open this or alternatively create an umbrella issue
|Comment by Karl Schaefer [ 03/May/11 ]|
Reopen to ensure a smoother transition for clients.
|Comment by Karl Schaefer [ 02/Dec/11 ]|
Committed revision 4103.