Bug 14043 - [EditorMgmt] jar files not shown with platform icon
Summary: [EditorMgmt] jar files not shown with platform icon
Status: RESOLVED DUPLICATE of bug 86785
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 2.0   Edit
Hardware: PC Linux
: P4 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: investigate
: 33459 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-04-17 16:22 EDT by Tod Creasey CLA
Modified: 2007-02-05 10:51 EST (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 Tod Creasey CLA 2002-04-17 16:22:43 EDT
On Linux and windows jar files are shown as plain text files although in the
platform browsers for each (Nautilus and Explorer respectivley) they are shown
with meaningful icons.

STEPS
1) Open the ResourceNavigator. Drill down to a jar file - it uses the plain text
icon
2) Browse the same directory in Explorer. You will get a better icon.

The problem appears to be that there is no default editor for JAR files even
though we do get the correct one for zip files.
Comment 1 Nick Edgar CLA 2002-04-18 14:18:11 EDT
Defer
Comment 2 Randy Giffen CLA 2002-08-09 16:28:41 EDT
Reopen to investigate
Comment 3 Michael Van Meekeren CLA 2004-07-06 11:40:07 EDT
*** Bug 33459 has been marked as a duplicate of this bug. ***
Comment 4 Michael Van Meekeren CLA 2006-04-21 13:58:30 EDT
Moving Dougs bugs
Comment 5 Kim Horne CLA 2007-02-02 13:13:40 EST
This is still happening.  What is interesting is that if you add a an editor to a file type and choose external editors we do of one called "Executable Jar File".  For whatever reason Windows isn't giving us a proper icon for this launcher.  There are numerous other external "programs" on windows given the same result.

Passing to SWT - is there more than one way to obtain a icon for an external program like this or this simply a matter of there not being an icon defined in Windows for this?
Comment 6 Steve Northover CLA 2007-02-05 10:43:41 EST
On my machine, I get a zip icon for jar files in the Explorer.  Interestingly, when I run the FileExplorer example code from the SWT book or the FileViewer code from the SWT examples, I get the zip icon.
Comment 7 Steve Northover CLA 2007-02-05 10:46:25 EST
Never mind.  I'm running with a hacked version of Program.  This is our bug.
Comment 8 Steve Northover CLA 2007-02-05 10:51:10 EST
The request is to find the icon the same icon that is shown in the Explorer.

*** This bug has been marked as a duplicate of bug 86785 ***