[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: How to extend rename action

I have to modify the default action for rename a java project, not only change the project's name, but also change additional information. Like rename a web project name meanwhile change the <display-name/> in web.xml.
So, how to replace the default rename action ? Is there any extention-point to contribute?

You cannot easily replace the Java rename action, but luckily, you don't have to.


Take a look at the org.eclipse.ltk.core.refactoring.renameParticipants extension point. There, you can contribute a rename participant that can add your changes to the existing refactoring (for elements of type org.eclipse.jdt.core.IJavaProject).

Markus