Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Copy Participant and Name Conflicts
Copy Participant and Name Conflicts [message #1777937] Wed, 06 December 2017 12:25
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3098
Registered: July 2009
Senior Member
I'm trying to implement a copy participant and things work quite well when I copy a resource to another location. However, things go bananas if I do a copy+paste into the same directory. Eclipse will happily suggest a new name for the file, but it seems that I cannot get a pointer to the new name in my implementation of the CopyParticipant.

What I see is, that org.eclipse.jdt.internal.corext.refactoring.changes.CopyResourceChange.getNewResourceName() asks for the new name but the participant appears to be already done with its job at that point in time. Did I miss something?

Best
Sebastian
Previous Topic:[Solved] Debug Framework: how to select item in Debug view
Next Topic:Integrate JDT in an E4 RCP application
Goto Forum:
  


Current Time: Fri Dec 15 12:00:42 GMT 2017

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

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