Bug 65942

Summary: Closing/opening a project doesn't have the correct delta
Product: [Eclipse Project] JDT Reporter: Jerome Lanneluc <jerome_lanneluc>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.0 RC2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed patch none

Description Jerome Lanneluc CLA 2004-06-07 07:12:20 EDT
I20040529

Closing a project shows the following Java delta:
Java Model[*]: {CHILDREN | CONTENT}
   Test[-]: {}
   ResourceDelta(/Test)[*]

It should show:
Java Model[*]: {CHILDREN | CONTENT}
   Test[*]: {CLOSED}
   ResourceDelta(/Test)[*]

The F_CLOSED flag is not set.
Comment 1 Jerome Lanneluc CLA 2004-06-07 07:14:34 EDT
Problem was identified investigating bug 64887 which is targeted at 3.0 RC2.
Comment 2 Jerome Lanneluc CLA 2004-06-07 07:15:03 EDT
Created attachment 11647 [details]
Proposed patch

Changed DeltaProcessor to create a CHANGED delta with F_CLOSED/F_OPENED flag
set if the project is closed/opened. Changed TypeHierarchy delta processing to
handle this flag.
Comment 3 Jerome Lanneluc CLA 2004-06-07 07:19:13 EDT
Discarding