Hi,
I have to do an eclipse plug-in.
I need to recall eclipse's move class refactoring and eclipse's move method refactoring programmatically.
Can someone help me?
Thanks
Paul Webster Messages: 6813 Registered: July 2009 Location: Ottawa
Senior Member
On 04/06/2011 02:52 PM, Vins wrote:
> Hi,
> I have to do an eclipse plug-in.
> I need to recall eclipse's move class refactoring and eclipse's move
> method refactoring programmatically.
Have a look at
org.eclipse.ui.navigator.resources.ResourceDropAdapterAssist ant.performResourceMove(CommonDropAdapter,
IResource[]) for how they programmatically move resources and
org.eclipse.jdt.internal.ui.refactoring.reorg.RenameLinkedMo de.createRenameDescriptor(IJavaElement,
String) for possibilities with renaming java elements.
In the ResourceDropAdapterAssistant's documentation: Clients may not extend or instantiate this class for any purpose. Clients may have no direct dependencies on the contract of this class.