Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 22512 - [Viewers] Effects on Package Explorer of adding classes [package explorer]
Summary: [Viewers] Effects on Package Explorer of adding classes [package explorer]
Status: RESOLVED DUPLICATE of bug 3840
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Nick Edgar CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-17 16:49 EDT by Jeff Mellen CLA
Modified: 2003-02-10 07:38 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Mellen CLA 2002-08-17 16:49:30 EDT
Hey--

When I have a tree node expanded in the Package Explorer, and I add a class, 
the node that was at the old index of the expanded node is expanded, not the 
node that corresponds to the same class.  Simplified conceptual example:

PRIOR TO ADDING CLASS
---------------------

- ClassB.java
+ ClassC.java
   - fieldC
   - methodC()

POST ADDING CLASS
-----------------

- ClassA.java
+ ClassB.java
   - fieldB
   - methodB()
- ClassC.java

Deletion doesn't appear to have the reverse effect.
Comment 1 Dirk Baeumer CLA 2002-08-19 05:09:21 EDT
Still exists under 2.0.1.
Comment 2 Erich Gamma CLA 2002-08-28 09:01:43 EDT
this is a known JFace expansion problem - moving to Platform UI
Comment 3 Nick Edgar CLA 2003-02-10 07:38:18 EST

*** This bug has been marked as a duplicate of 3840 ***