Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 324800

Summary: The icon from the languageDesciption extension is not used consistently or correctly throughout the workbench
Product: z_Archived Reporter: Adam Taylor <awtaylor>
Component: IMPAssignee: Robert M. Fuhrer <rfuhrer>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
possible implementation none

Description Adam Taylor CLA 2010-09-08 17:05:22 EDT
Build Identifier: 

issue 1)
IFile's within package explorer (or project, etc) show some platform specific icon

=> This should show the language icon

issue 2)
"IMP Editor" shows as default editor with standard eclipse icon within the "open with" context menu

==> This should say "XYZ Editor" where XYZ is the language name, and should show the language icon

issue 3)
some icon (possbly none) is displayed in the "File Assocaitions" preference page, the assocated editor is "IMP Editor"

==> the language specific icon should be used, and the associated editor should read "XYZ Editor" where XYZ is the language name

issue 4)
when you open a workspace that has multiple imp editors opened in it, the correct icon is only displayed for the active editor, all other open editors show the standard eclipse icon (IMP editor icon)

==> all icons should be correct and language specific, not just the topmost

Reproducible: Always
Comment 1 Adam Taylor CLA 2010-09-08 17:09:18 EDT
Created attachment 178450 [details]
possible implementation

this patch resolves all issues mentioned in the bug, however it relies on accessing a private field in ExtensionRegistry