Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Program.findProgram(extension) to find Image Icon
Program.findProgram(extension) to find Image Icon [message #458787] Thu, 21 July 2005 12:26 Go to next message
Eclipse UserFriend
Originally posted by: murley.murley.murley

Hi,
i am using Program class to find the icon if provided extension exist.
E.g.

Program p = Program.findProgram(".jpg");

It need supply the extension, if i want to retrieve the directory icon, how
i can do this?
thanks
Re: Program.findProgram(extension) to find Image Icon [message #458802 is a reply to message #458787] Thu, 21 July 2005 16:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sarek.nurfuerspam.de

Hi,

On 21.07.2005 14:26, murley wrote:
> Hi,
> i am using Program class to find the icon if provided extension exist.
> E.g.
>
> Program p = Program.findProgram(".jpg");
>
> It need supply the extension, if i want to retrieve the directory icon, how
> i can do this?
> thanks

That does not seem to be possible yet. I had a similar problem some days
ago. Also see the thread "How to fetch system stadard icons (for cut,
copy, paste ...)?" from July 19th.

HTH

Christian
--
To reply to this posting directly use the following address and
remove the 'NO-SPAM' part: Riedel.Christian.NO-SPAM@gmx.net
Re: Program.findProgram(extension) to find Image Icon [message #458812 is a reply to message #458802] Fri, 22 July 2005 07:05 Go to previous messageGo to next message
Yves Harms is currently offline Yves HarmsFriend
Messages: 80
Registered: July 2009
Member
Not supported yet.
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=104483
Re: Program.findProgram(extension) to find Image Icon [message #459347 is a reply to message #458812] Sat, 06 August 2005 19:34 Go to previous message
Cameron McKay is currently offline Cameron McKayFriend
Messages: 2
Registered: July 2009
Junior Member
If you want a workaround, download the Azureus source
(http://azureus.sf.net) and look at how they do it.
Previous Topic:Drag and Drop Problem
Next Topic:How to get the Windows XP buttons?
Goto Forum:
  


Current Time: Thu Apr 25 22:37:30 GMT 2024

Powered by FUDForum. Page generated in 0.02884 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top