Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Replace file icons but retain its error markers(Newbie : Help required in changing the file icons in explorer)
icon5.gif  Replace file icons but retain its error markers [message #639110] Mon, 15 November 2010 10:57 Go to next message
daisydale85 is currently offline daisydale85Friend
Messages: 38
Registered: August 2010
Member
Hi,

I am developing an editor that supports more than 1 file extension (like Web Browser which supports htm, html etc..) and I am using DLTK for this.
In my case, I need to show different icons in Project/Package/Script explorer for the files based on their icon. I tried using "org.eclipse.ui.decorators" for doing this. I tried by giving "REPLACE" as the light weight decorator's location. It is replacing the icon but the problem marker (red cross mark over the icon) displayed in case the file has any error disappears.
What I need to do is to change on the icon of the file displayed in the explorer but retain other decorators.

I am not sure whether this is the right forum to post this doubt. I have already posted in DLTK forums ( http://www.eclipse.org/forums/index.php?t=msg&th=199906& amp;start=0&S=4818b6d8f551d23596891dcc246bca8c) but since there wasnt any reply, I thought of trying my luck here also.

Thanks in advance,
Daisy.
Re: Replace file icons but retain its error markers [message #640095 is a reply to message #639110] Fri, 19 November 2010 04:59 Go to previous messageGo to next message
daisydale85 is currently offline daisydale85Friend
Messages: 38
Registered: August 2010
Member
Any thoughts??

Daisy.
Re: Replace file icons but retain its error markers [message #640702 is a reply to message #639110] Mon, 22 November 2010 21:14 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
You might get some response by asking on the Platform forum. Find it on
the Forums home page, under "Eclipse Projects."


On 11/15/10 5:58 AM, daisydale85@yahoo.com wrote:
> Hi,
>
> I am developing an editor that supports more than 1 file extension (like
> Web Browser which supports htm, html etc..) and I am using DLTK for this.
> In my case, I need to show different icons in Project/Package/Script
> explorer for the files based on their icon. I tried using
> "org.eclipse.ui.decorators" for doing this. I tried by giving "REPLACE"
> as the light weight decorator's location. It is replacing the icon but
> the problem marker (red cross mark over the icon) displayed in case the
> file has any error disappears. What I need to do is to change on the
> icon of the file displayed in the explorer but retain other decorators.
>
> I am not sure whether this is the right forum to post this doubt. I have
> already posted in DLTK forums
> ( http://www.eclipse.org/forums/index.php?t=msg&th=199906& amp;start=0&S=4818b6d8f551d23596891dcc246bca8c)
> but since there wasnt any reply, I thought of trying my luck here also.
>
> Thanks in advance,
> Daisy.
Re: Replace file icons but retain its error markers [message #640819 is a reply to message #640702] Tue, 23 November 2010 10:01 Go to previous message
daisydale85 is currently offline daisydale85Friend
Messages: 38
Registered: August 2010
Member
Thank you, Eric. Will try there also..

Regards,
Daisy.
Previous Topic:Eclipse Helios is Unproductively Slow on OSX
Next Topic:Remote control RCP application
Goto Forum:
  


Current Time: Fri Apr 26 08:17:47 GMT 2024

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

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

Back to the top