Mirko Stocker wrote: > We have some refactorings (mainly rename) we'd like to present in the context > menu of the outline view, but I haven't found an extension point for that.. > could someone give me a hint? > Hmm... I guess you'd like to add "Rename..." to all RubyElement objects. You could try adding a objectContribution to IRubyElement or RubyElement objects.
Eg. this works: <objectContribution id="com.xyz.C1" objectClass="org.rubypeople.rdt.core.IRubyElement"> <action id="com.xyz.runXYZ" label="Rename Me!" menubarPath="additions" class="com.xyz.actions.FillInYourOwnActionDelegate" enablesFor="1"> </action> </objectContribution> Right clicking on a RubyElement in the Outline now gives you a Menu with "Rename Me!" (among all the other menu items). murphee -- Blog @ http://jroller.com/page/murphee Maintainer of EclipseShell @ http://eclipse-shell.sourceforge.net/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Rubyeclipse-development mailing list Rubyeclipse-development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rubyeclipse-development