Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » LTK rename refactoring - overriding the icons
LTK rename refactoring - overriding the icons [message #334179] Fri, 23 January 2009 15:25 Go to next message
Adam Neal is currently offline Adam NealFriend
Messages: 40
Registered: July 2009
Member
Hi,

Does anyone know if its possible (and how :)) to override the icons of the
LTK refactoring tree viewer in a public way? i.e. how to provide my own
lable provider for my found changes.

Thanks in advance.
Adam
Re: LTK rename refactoring - overriding the icons [message #334200 is a reply to message #334179] Mon, 26 January 2009 14:25 Go to previous message
Eclipse UserFriend
Originally posted by: zoltan.balogh.optxware.com

Adam írta:
> Hi,
>
> Does anyone know if its possible (and how :)) to override the icons of the
> LTK refactoring tree viewer in a public way? i.e. how to provide my own
> lable provider for my found changes.
>
> Thanks in advance.
> Adam
>
>

Hi Adam,

I faced with the same problem, and I haven’t got any good, generic
solution yet. By the way I found some workaround, but it has a huge
limitation.

LTK uses PreviewNode to represents the Change nodes in the preview page.
As far as I found (but I’m not sure), we can only adapt the
TextEditBasedChange changes so If we make our own change extended form
TextEditBasedChange, we can adapt it to our own PreviewNode
implementation where getImageDescriptor() can be overridden.

But as I mentioned, the huge limitation of this solution that we can use
only TextEditBasedChange changes and these changes will show the compare
window in the bottom of the preview page. Furthermore there can be a lot
of cases when the TextEditBasedChange doesn’t fit for our goal.

Maybe it can help a little bit, but I’m also interested in the generic
solution! :)
Zoli
Previous Topic:filetransfer ...
Next Topic:Compiling annotations with inconsistant behavior
Goto Forum:
  


Current Time: Fri Apr 19 10:06:31 GMT 2024

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

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

Back to the top