Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Move refactoring programmatically
Move refactoring programmatically [message #663906] Wed, 06 April 2011 18:52 Go to next message
Vins  is currently offline Vins Friend
Messages: 3
Registered: April 2011
Junior Member
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
Re: Move refactoring programmatically [message #664095 is a reply to message #663906] Thu, 07 April 2011 12:57 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
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.

PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Platform_Expression_Framework
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm


Re: Move refactoring programmatically [message #830886 is a reply to message #664095] Wed, 28 March 2012 07:16 Go to previous message
Michele Tufano is currently offline Michele TufanoFriend
Messages: 4
Registered: March 2012
Junior Member
Hi,

I have the same problem!!

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.

Can someone help me?

Previous Topic:how to integrate cdt into my rcp?
Next Topic:How to get the compilation unit produced by the compiler
Goto Forum:
  


Current Time: Sat Apr 20 04:30:40 GMT 2024

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

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

Back to the top