This is a rather poxy and general question, but perhaps someone can give me a few ideas.
Menu items (and toolbar buttons) may change a little to have extra options / enable or disable certain items etc. depending on what perspective / window is "on" at that moment in time.
Without getting to bogged down with the precise nature and structure of my project:
* where should the menus be created? (and if a general menu is shared by 2 windows is there a good way of getting the action command so things dont get hard-coded in several classes)
* and what about the methods which decide what menu items are enabled / disabled depending on certain local criteria? (is an interface a good idea here?
* and for toolbar buttons.
I guess my question is how do YOU solve these issues. Any good ideas and direction much appreciated!