Bug 44085

Summary: becomeWorkingCopy() should add the working copy in the model
Product: [Eclipse Project] JDT Reporter: Jerome Lanneluc <jerome_lanneluc>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.0 M4   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Jerome Lanneluc CLA 2003-10-02 11:42:34 EDT
Build 20030930

ICompilationUnit.becomeWorkingCopy() should add the working copy to its parent 
if didn't existed before, and as a result, it should fire an ADDED delta.
Comment 1 Jerome Lanneluc CLA 2003-10-03 07:37:11 EDT
Changed BecomeWorkingCopyOperation to report an ADDED delta and changed 
ModelUpdater to react to primary working copy changes.
Also changed PackageFragment.buildStructure(...) to add primary working copies 
that have no corresponding resource.

Added regression tests WorkingCopyOwnerTests.testBecomeWorkingCopy3() and 
testDeltaBecomeWorkingCopy3()
Comment 2 David Audel CLA 2003-10-14 10:54:42 EDT
Verified.