Bug 436932 - [feature_request] Use scriptElementLabelProviders everywhere
Summary: [feature_request] Use scriptElementLabelProviders everywhere
Status: NEW
Alias: None
Product: DLTK
Classification: Technology
Component: Common (show other bugs)
Version: 5.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: dltk.common-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-08 12:50 EDT by Dawid Pakula CLA
Modified: 2014-06-08 12:50 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dawid Pakula CLA 2014-06-08 12:50:35 EDT
DLTK provides two way to register ILabelProviders:

org.eclipse.dltk.ui.scriptElementLabelProviders, once per language,
used with ScriptElementImageProvider

org.eclipse.dltk.ui.modelLabelProvider, many per language, not avaiable always, may be heavy

But in TypeHierarchy, CompletionProposal etc.., DLTK by default generate images based on hardcoded flags : ScriptElementImageProvider#getTypeImageDescriptor()

Would be nice to just reuse one of extension points