Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330558 - [Compatibility] QuickAccess assumes all views are 3.x views
Summary: [Compatibility] QuickAccess assumes all views are 3.x views
Status: RESOLVED FIXED
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 4.1 M4   Edit
Assignee: Remy Suen CLA
QA Contact: Remy Suen CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 323506
  Show dependency tree
 
Reported: 2010-11-18 07:47 EST by Remy Suen CLA
Modified: 2010-11-18 07:51 EST (History)
4 users (show)

See Also:


Attachments
QuickAccess patch v1 (13.03 KB, patch)
2010-11-18 07:48 EST, Remy Suen CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Remy Suen CLA 2010-11-18 07:47:17 EST
+++ This bug was initially created as a clone of Bug #323506 +++

Created an attachment (id=177318)
Sample e4 view contribution

The e4 views can not be used in the Eclipse 4.0. Workbench processing assumes that all views are compatibility views (WorkbenchPage.java):

CompatibilityView compatibilityView = (CompatibilityView) part.getObject();

To duplicate:

- Launch Eclipse 4.0 with the atatched bundle
- In the quick access (Ctrl+3) type "cont" and select view "Contexts"
- See the ClassCastException at above line in WorkbenchPage
Comment 1 Remy Suen CLA 2010-11-18 07:48:33 EST
Created attachment 183377 [details]
QuickAccess patch v1

Change the code to open views with e4 APIs instead of 3.x APIs.
Comment 2 Remy Suen CLA 2010-11-18 07:49:33 EST
(In reply to comment #1)
> Created an attachment (id=183377) [details]
> QuickAccess patch v1

Fix released to CVS HEAD. You can now open e4 parts (that have their part descriptors added to the root application) via Ctrl+3.