plugins - where to add eclipse extension -



plugins - where to add eclipse extension -

i trying override default rename functionality of eclipse in application. created class extends renameparticipant. added extension point in plugin.xml

but doesn't work. in application there more 30 projects(or plugins??)(eg: core, debug, editor, parser, ui etc). want know is, should set rename extension. ie, in projects' plugin.xml need add together extension rename?

please help me figure out this. new plugin development. in advance, ann

you should utilize extension point org.eclipse.ltk.core.refactoring.renameparticipants in plugin.xml file of plug-in contains participant class because extension point has refer participant class.

for example, see next utilize of org.eclipse.ltk.core.refactoring.renameparticipants extension point in org.eclipse.jdt.ui/plugin.xml.

<extension point="org.eclipse.ltk.core.refactoring.renameparticipants"> <renameparticipant class="org.eclipse.jdt.internal.corext.refactoring.nls.nlsaccessorfieldrenameparticipant" id="org.eclipse.jdt.ui.nlsfieldrenameparticipant" name="%refactoring.nlsfieldrenameparticipant"> <enablement> <with variable="affectednatures"> <iterate operator="or"> <equals value="org.eclipse.jdt.core.javanature"/> </iterate> </with> <with variable="element"> <instanceof value="org.eclipse.jdt.core.ifield"/> </with> </enablement> </renameparticipant> </extension>

eclipse plugins rename

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -