Community
Participate
Working Groups
Build 2.1 RC1 0. Open Java Browsing perspective 1. Select a type in the Types view 2. Refactor -> Extract Interface... 3. Press "Preview" Observe: the type appears in the Types view 4. Press "Cancel" ==> The type remains in the Types view I verified that the content provider does not get a Java element delta upon cancel.
Adam, we have to check other refactorings as well which create working copies.
extract interface correctly destroys the worksing copy moving to jcore because it looks like no delta is sent on destroy()
IWorkingCopy.getWorkingCopy() and IWorkingCopy.destroy() now correctly send a delta indicating the addition/removal of the working copy. Added regression test JavaElementDeltaTests.testCreateWorkingCopy() and testDestroyWorkingCopy()
Verified.