Bug 34050

Summary: [Viewers] Configs dialog does not handle missing icon for type
Product: [Eclipse Project] Platform Reporter: Nick Edgar <n.a.edgar>
Component: UIAssignee: Boris Bokowski <bokowski>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: steve_northover
Version: 2.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Nick Edgar CLA 2003-03-06 23:38:33 EST
build I20030304

Was trying the example in bug 32740, which defines a launch config type but 
does not specify an icon.
The tree in the launch configs dialog has a blank space where the icon should 
go, for the type and any created configs.

SWT widgets on Windows don't handle null images very well.

Suggest using the following pattern:
if (treeItem.getImage() != image)
  treeItem.setImage(image)
Comment 1 Darin Wright CLA 2003-03-18 22:00:44 EST
Deferred
Comment 2 Darin Wright CLA 2003-05-28 14:52:08 EDT
Open for 3.0
Comment 3 Darin Wright CLA 2003-12-10 21:57:57 EST
Nick (sorry, old bug),

The tree viewer in this case is simply a tree viewer with a standard 
ILabelProvider. The label provider API allows null to be returned from "getImage
(...)". Although the tree item has no image (and other nodes in the tree do), 
there is little we can do about this - we do not make the call to set the image 
on the tree item, the tree viewer does that.

We do not intend to provide a default image for launch config types.
Comment 4 Nick Edgar CLA 2006-03-15 11:47:39 EST
Reassigning bugs in component areas that are changing ownership.
Comment 5 Boris Bokowski CLA 2007-06-19 15:20:36 EDT
No plans to work on this.