|
You can probably find all you want by using a search.
Look that the API doc for the type of menu item you are using, find the addListener methods that are defined for that class and do a search for those methods. That could find you examples of how to use them.
Same for the other parts of the problem.
|