|
Re: Icons in Preferences Dialog [message #447600 is a reply to message #447594] |
Tue, 11 April 2006 15:59 |
Eclipse User |
|
|
|
Originally posted by: tom.seidel.javawiki.org
Linda Smith wrote:
> The RCP application we are writing needs to show preferences with icons,
> as in the firefox preferences dialog. We will only need to show the
> preferences related to our application. Is it possible to customize the
> Eclipse Preferences Dialog to show icons on the left hand tree?
>
> Thank you
> Linda
Hi Linda,
You can set the Image of the Preference-Title with overwriting the
method #getImage().
The tree in your Preference-Dialog is just a TreeViewer that has a
LabelProvider (@see PreferenceLabelProvider). Write your own
PreferenceLabelProvider, and declare it in the same package
(org.eclipse.jface.preference).
Cheerz,
Tom
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04457 seconds