Skip to main content

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: 3099
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?

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: Sat Nov 17 23:29:29 GMT 2018

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

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

Back to the top