Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Extending the Refactor menu
Extending the Refactor menu [message #331977] Tue, 30 September 2008 20:16 Go to next message
Gary Leask is currently offline Gary LeaskFriend
Messages: 28
Registered: July 2009
Junior Member
Currently when you select the Refactor menu the options Rename and Move
are presented to the user.

I want to extend the Refactor menu to provider my own options and own
version of Rename and Move based on my project type.

I am not sure how to get a reference to the refactor menu

Do I use an objectContribution or a viewContribution and what ids do i
use to the refactor menu
Re: Extending the Refactor menu [message #332104 is a reply to message #331977] Fri, 03 October 2008 08:15 Go to previous message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
You may have to look into the ltk plugins and their extensions. They serve
as a base to the refactoring functionlity.

- Prakash

--

http://blog.eclipse-tips.com

"Gary Leask" <gary.leask@intervoice.com> wrote in message
news:gbu1ff$e7b$1@build.eclipse.org...
> Currently when you select the Refactor menu the options Rename and Move
> are presented to the user.
>
> I want to extend the Refactor menu to provider my own options and own
> version of Rename and Move based on my project type.
>
> I am not sure how to get a reference to the refactor menu
>
> Do I use an objectContribution or a viewContribution and what ids do i use
> to the refactor menu
Previous Topic:IPluginBase.getLibraries() returning "bin"?
Next Topic:How to add credentials into a keyring file programmatically or from command line?
Goto Forum:
  


Current Time: Wed Jul 17 10:25:15 GMT 2024

Powered by FUDForum. Page generated in 0.02857 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top