> > Hi, > I just completed the rcp tutorial.
That is great! > I was now wondering, how can i remove or change the menus that persist > after i close all perspectives > In the tutorial they talk a bit about action sets and how you can use them to control some of the menu contributions. Most of the "content" of the tutorial is in the bonus questions so be sure to try them out as well. Other than that the section of the developers guide covering menus is here: - http://udig.refractions.net/confluence/display/DEV/4+Working+with+Eclipse+RCP It amounts to two strategies: 1) supply a menu configuration thing UDIGWorkbenchAdvisor<http://udig.refractions.net/confluence/display/DEV/Using+the+UDIGWorkbenchAdvisor> UDIGMenuBuilder or something so that the UDIG Application will use your menus 2) Since the above extension point is something we just made up for the UDIGApplication we figured out a nicer way to do it afterwords. Just make your own RCP application you can use UDIGApplication as a starting point and even call some of the checks it does from your code (as we turned them into static methods) As the the menus that are contributed via xml and so forth you can use the usual eclipse rcp mechanisms to turn them off (action sets, activties and so on). Activities in particular is set up to allow you to "filter plugin contributions" such as menus. - http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fextension-points%2Forg_eclipse_ui_activities.html I will add a note to our docs on menus so people can remember what activities are for.... Jody > -- > View this message in context: > http://udig-devel.19327.n5.nabble.com/How-to-strip-most-menus-from-udig-tp4536808p4536808.html > Sent from the udig-devel mailing list archive at Nabble.com. > _______________________________________________ > User-friendly Desktop Internet GIS (uDig) > http://udig.refractions.net > http://lists.refractions.net/mailman/listinfo/udig-devel >
_______________________________________________ User-friendly Desktop Internet GIS (uDig) http://udig.refractions.net http://lists.refractions.net/mailman/listinfo/udig-devel
