|
From: Ryan S. (JIRA) <no...@at...> - 2006-01-25 16:20:29
|
make CommandGroup.getMembers() public
-------------------------------------
Key: RCP-270
URL: http://opensource.atlassian.com/projects/spring/browse/RCP-270
Project: Spring Framework Rich Client Project
Type: Improvement
Components: Command System
Reporter: Ryan Sonnek
Assigned to: Oliver Hutchison
I'm using a JTaskPane in my view which accepts javax.swing.Action objects. I would like to register my spring commands and then loop through the command group when the view is created to populate my JTaskPane.
ex:
Iterator commands = getWindowCommandManager().getCommandGroup("contextTasks).getMembers().iterator();
while (commands.hasNext()) {
ActionCommand command = (ActionCommand) commands.next();
SwingActionAdapter adapter = new SwingActionAdapter(command);
commonTasks.add(adapter);
}
If there is a better way to accomplish this, i'm open to suggestions!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
|
|
From: Jan H. (JIRA) <no...@at...> - 2006-02-28 14:57:14
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-270?page=comments#action_16599 ] Jan Hoskens commented on RCP-270: --------------------------------- Two classes were added to traverse the CommandGroup structure (RCP-37). These can be used to create arbitrary modelstructures. (I have made a JOutlookBar (l2fprod) by extending the CommandGroupJComponentBuilder) Does this change help you solve this issue? > make CommandGroup.getMembers() public > ------------------------------------- > > Key: RCP-270 > URL: http://opensource.atlassian.com/projects/spring/browse/RCP-270 > Project: Spring Framework Rich Client Project > Type: Improvement > Components: Command System > Reporter: Ryan Sonnek > Assignee: Oliver Hutchison > > I'm using a JTaskPane in my view which accepts javax.swing.Action objects. I would like to register my spring commands and then loop through the command group when the view is created to populate my JTaskPane. > ex: > Iterator commands = getWindowCommandManager().getCommandGroup("contextTasks).getMembers().iterator(); > while (commands.hasNext()) { > ActionCommand command = (ActionCommand) commands.next(); > SwingActionAdapter adapter = new SwingActionAdapter(command); > commonTasks.add(adapter); > } > If there is a better way to accomplish this, i'm open to suggestions! -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
From: Benoit X. (JIRA) <no...@at...> - 2006-03-16 16:54:51
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-270?page=comments#action_16842 ] Benoit Xhenseval commented on RCP-270: -------------------------------------- hi Jan Sorry for the delay in replying. Is there an example of this new method? I'll investigate it. Thanks Benoit > make CommandGroup.getMembers() public > ------------------------------------- > > Key: RCP-270 > URL: http://opensource.atlassian.com/projects/spring/browse/RCP-270 > Project: Spring Framework Rich Client Project > Type: Improvement > Components: Command System > Reporter: Ryan Sonnek > Assignee: Oliver Hutchison > > I'm using a JTaskPane in my view which accepts javax.swing.Action objects. I would like to register my spring commands and then loop through the command group when the view is created to populate my JTaskPane. > ex: > Iterator commands = getWindowCommandManager().getCommandGroup("contextTasks).getMembers().iterator(); > while (commands.hasNext()) { > ActionCommand command = (ActionCommand) commands.next(); > SwingActionAdapter adapter = new SwingActionAdapter(command); > commonTasks.add(adapter); > } > If there is a better way to accomplish this, i'm open to suggestions! -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
From: Anonymous (JIRA) <no...@at...> - 2006-03-17 08:46:53
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-270?page=all ] updated RCP-270: ----------------- Attachment: JOutlookBar.zip > make CommandGroup.getMembers() public > ------------------------------------- > > Key: RCP-270 > URL: http://opensource.atlassian.com/projects/spring/browse/RCP-270 > Project: Spring Framework Rich Client Project > Type: Improvement > Components: Command System > Reporter: Ryan Sonnek > Assignee: Oliver Hutchison > Attachments: JOutlookBar.zip > > I'm using a JTaskPane in my view which accepts javax.swing.Action objects. I would like to register my spring commands and then loop through the command group when the view is created to populate my JTaskPane. > ex: > Iterator commands = getWindowCommandManager().getCommandGroup("contextTasks).getMembers().iterator(); > while (commands.hasNext()) { > ActionCommand command = (ActionCommand) commands.next(); > SwingActionAdapter adapter = new SwingActionAdapter(command); > commonTasks.add(adapter); > } > If there is a better way to accomplish this, i'm open to suggestions! -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
From: Jan H. (JIRA) <no...@at...> - 2006-03-17 08:51:49
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-270?page=comments#action_16851 ] Jan Hoskens commented on RCP-270: --------------------------------- The attached zip contains two files, one which shows the componentbuilder, the other one is a custom buttonconfigurer. It constructs a root JOutlookBar and adds tabs to it with buttons for the second level. Deeper levels of commands are ignored. By invoking "buildComponent(commandGroup)" an outlookbar is constructed and returned. > make CommandGroup.getMembers() public > ------------------------------------- > > Key: RCP-270 > URL: http://opensource.atlassian.com/projects/spring/browse/RCP-270 > Project: Spring Framework Rich Client Project > Type: Improvement > Components: Command System > Reporter: Ryan Sonnek > Assignee: Oliver Hutchison > Attachments: JOutlookBar.zip > > I'm using a JTaskPane in my view which accepts javax.swing.Action objects. I would like to register my spring commands and then loop through the command group when the view is created to populate my JTaskPane. > ex: > Iterator commands = getWindowCommandManager().getCommandGroup("contextTasks).getMembers().iterator(); > while (commands.hasNext()) { > ActionCommand command = (ActionCommand) commands.next(); > SwingActionAdapter adapter = new SwingActionAdapter(command); > commonTasks.add(adapter); > } > If there is a better way to accomplish this, i'm open to suggestions! -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
From: Mathias B. (JIRA) <no...@at...> - 2006-08-10 13:18:59
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-270?page=comments#action_18984 ] Mathias Broekelmann commented on RCP-270: ----------------------------------------- can we close this issue? > make CommandGroup.getMembers() public > ------------------------------------- > > Key: RCP-270 > URL: http://opensource.atlassian.com/projects/spring/browse/RCP-270 > Project: Spring Framework Rich Client Project > Type: Improvement > Components: Command System > Reporter: Ryan Sonnek > Assignee: Oliver Hutchison > Attachments: JOutlookBar.zip > > I'm using a JTaskPane in my view which accepts javax.swing.Action objects. I would like to register my spring commands and then loop through the command group when the view is created to populate my JTaskPane. > ex: > Iterator commands = getWindowCommandManager().getCommandGroup("contextTasks).getMembers().iterator(); > while (commands.hasNext()) { > ActionCommand command = (ActionCommand) commands.next(); > SwingActionAdapter adapter = new SwingActionAdapter(command); > commonTasks.add(adapter); > } > If there is a better way to accomplish this, i'm open to suggestions! -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
From: Jan H. (JIRA) <no...@sp...> - 2008-04-21 13:46:59
|
[ http://jira.springframework.org/browse/RCP-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Hoskens closed RCP-270.
---------------------------
Assignee: Jan Hoskens (was: Oliver Hutchison)
Resolution: Fixed
Fix Version/s: 1.0.1
As stated in the previous comments, a method is in place to construct different types of controls for a commanGroup which should be enough to handle the presented issue.
> make CommandGroup.getMembers() public
> -------------------------------------
>
> Key: RCP-270
> URL: http://jira.springframework.org/browse/RCP-270
> Project: Spring Framework Rich Client Project
> Issue Type: Improvement
> Components: Command System
> Reporter: Ryan Sonnek
> Assignee: Jan Hoskens
> Fix For: 1.0.1
>
> Attachments: JOutlookBar.zip
>
>
> I'm using a JTaskPane in my view which accepts javax.swing.Action objects. I would like to register my spring commands and then loop through the command group when the view is created to populate my JTaskPane.
> ex:
> Iterator commands = getWindowCommandManager().getCommandGroup("contextTasks).getMembers().iterator();
> while (commands.hasNext()) {
> ActionCommand command = (ActionCommand) commands.next();
> SwingActionAdapter adapter = new SwingActionAdapter(command);
> commonTasks.add(adapter);
> }
> If there is a better way to accomplish this, i'm open to suggestions!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.springframework.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|