Bug 19651 - Team menu disapear from Hierarchy and Packages view.
Summary: Team menu disapear from Hierarchy and Packages view.
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P2 major (vote)
Target Milestone: 2.0 F3   Edit
Assignee: Simon Arsenault CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 20864 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-06-07 15:34 EDT by Eduardo Pereira CLA
Modified: 2002-06-24 14:10 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eduardo Pereira CLA 2002-06-07 15:34:10 EDT
Build F2

Steps:
1) Open eclipse with an new workspace.
2) Open java perspective and close resouce perspective.
3) Create a Java Project "TestProject"
4) Create a Java class "TestClass"
5) Past the following code in the TestClass and save it.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
public class TestClass {
  static class InnerClass extends Runnable {
  	public void run() {
  	}
  }
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

6)Change preference->Workbench->Perspective to open perspective in new window.
7)Change preference->Java to "Open a new Type Hierarchy Perspective"
8)Exit workbench and restart it.

9) Select the TestClass (the class not the unit) in the package view and popup 
menu
  -> The team menu is there (disabled but it does not matter).
10 Exit workbench and restart it. (Again)

11) Select the word InnerClass in the text editor and press F4
12) Popup menu on the new hierarchy view
  -> Team menu is not there but that is "OK" since it is a inner class.
13) Select the word TestClass in the new text editor and press F4
  -> The team menu is not there but it should since it is not a inner class.
14) You should have 3 opened windows. Close the two new windows.
15) Select the TestClass in the package view and popup menu
  -> The team menu is not there anymore. It was there in the step "9".

Note: TestClass.java is not in any CVS repository but I first saw the problem 
with a file managed by CVS.
Comment 1 Simon Arsenault CLA 2002-06-12 10:14:58 EDT
Fixed ObjectContributorManager to keep the object and adaptable list separate 
in the cache instead of combining them into one list.

Designed reviewed by Nick
Code checked by Tod
Comment 2 Simon Arsenault CLA 2002-06-24 14:10:18 EDT
*** Bug 20864 has been marked as a duplicate of this bug. ***