[TIP] Reusing Commands in Visual Mobile Designer
By lukas on Feb 17, 2006
All the commands that you've added to a MIDlet are visible under node Commands in Inspector. You can reuse a command on particular screen in this way:
- Expand the screen node (e.g. form1) in Inspector
- Right click the Assigned Commands
- Select a command from Add | yourCommand
- you can even add new command
Lookt at the picture on right. It's self descriptive.
Unfortunatelly, there isn't a simple visual way how to do.
I proposed RFE about a pool with all reusable components like fonts, tickers, commands, images for your MIDlet. It could be visible somewhere and you'd just drag'n'drop the reusable components form the pool in the same way like it works with palette. They (developers) closed it Reason: "this could result into the FlowDesigner in "too-many-components-on-the-screen" state". Hehe, I reopen it again It could be a new category in palette and it would be even more obvious. What do you think?