In the shorter term, I'd be happy if I could just bind the action field of JButton to a field in the bound class, and I could initialize the field myself in the code.
Description
http://www.intellij.net/tracker/idea/viewSCR?publicId=27092
I bind all JButtons to Actions, and this overwrites the name and tooltip and probably some other properties that I could choose in the UI Designer. I'd like to be able to edit Actions' properties in the UI Designer, and bind them to JButtons (and menu items, once that's implemented according to http://www.intellij.net/tracker/idea/viewSCR?publicId=23144).
In the shorter term, I'd be happy if I could just bind the action field of JButton to a field in the bound class, and I could initialize the field myself in the code.
Some questions that arise in my head regarding editing actions:
Where the action's properties should be set? In our applications, each action lives in its own top-level class.
How to define, what factory to use to create a button out of an action (I know, there is a action-aware constructor, but we don't use them for some reasons)?
Thomas Singer - 09 Sep 05 20:00 Some questions that arise in my head regarding editing actions:
Where the action's properties should be set? In our applications, each action lives in its own top-level class.
How to define, what factory to use to create a button out of an action (I know, there is a action-aware constructor, but we don't use them for some reasons)?