Bug 44085 - becomeWorkingCopy() should add the working copy in the model
Summary: becomeWorkingCopy() should add the working copy in the model
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M4   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-02 11:42 EDT by Jerome Lanneluc CLA
Modified: 2003-10-14 10:54 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.