History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEABKL-1387
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Dmitry Jemerov
Reporter: Maxim Shafirov
Votes: 3
Watchers: 2
Available Workflow Actions

Mark as Stalled
Operations

If you were logged in you would be able to see more operations.
IDEA: Backlog

Add Action to UI Designer component palette, allow binding buttons to actions

Created: 07 Feb 05 19:44   Updated: 06 Dec 05 13:54
Component/s: GUI Designer
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
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.



 All   Comments   Work Log   Change History      Sort Order:
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)?