Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Images in TreeViewer
Images in TreeViewer [message #78860] Sun, 23 March 2008 09:30 Go to next message
Eclipse UserFriend
Originally posted by: andy.allgaeu.org

Hi,

IŽm new to RAP. I want to create a TreeViewer with Images provided by a
LabelProvider. This works good, but the TreeViewer is not scaled
correctly. The size of the TreeViewer does not recognize the image-size
correct I think. are further steps necessary to accomplish this?

Thanks in advance.

Andreas Meier
Re: Images in TreeViewer [message #78874 is a reply to message #78860] Sun, 23 March 2008 10:31 Go to previous messageGo to next message
Eclipse UserFriend
Hi Andreas,

this has to do with the underlying tree widget provided by qooxdoo. It
is not able to adapt the height of the rows. This applies for fonts and
images bigger than 16x16.

194093: Size of Tree items do not adapt to font size
https://bugs.eclipse.org/bugs/show_bug.cgi?id=194093

Greets
Benny

Andreas Meier wrote:
> Hi,
>
> IŽm new to RAP. I want to create a TreeViewer with Images provided by a
> LabelProvider. This works good, but the TreeViewer is not scaled
> correctly. The size of the TreeViewer does not recognize the image-size
> correct I think. are further steps necessary to accomplish this?
>
> Thanks in advance.
>
> Andreas Meier
>
Re: Images in TreeViewer [message #78917 is a reply to message #78874] Sun, 23 March 2008 11:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: andy.allgaeu.org

Hi Benny,

thank you, good to know. One issue resolved, the next comes up
immediately, i try to play around with custom themes, but i can not
register one. I do exactly as stated in the online help, but I get the
Message:
ERROR: Could not register custom theme 'mystic' from file
'theme-template.properties'. Reason: null
and immediately after that a NUllpointer when accessed the first time.

Any idea?
Thanks

Andy
Re: Images in TreeViewer [message #78935 is a reply to message #78917] Sun, 23 March 2008 11:51 Go to previous messageGo to next message
Eclipse UserFriend
Hi Andreas,

could you please check this behavior against current HEAD of RAP if
possible? If it still occurs or if you cannot test it against HEAD
please open a bug aginst the RWT component and post the stacktrace
there. If possible also the relevant theme file so we can reproduce this
NPE.

Greets
Benny

Andreas wrote:
> Hi Benny,
> thank you, good to know. One issue resolved, the next comes up
> immediately, i try to play around with custom themes, but i can not
> register one. I do exactly as stated in the online help, but I get the
> Message:
> ERROR: Could not register custom theme 'mystic' from file
> 'theme-template.properties'. Reason: null
> and immediately after that a NUllpointer when accessed the first time.
>
> Any idea?
> Thanks
>
> Andy
>
Re: Images in TreeViewer [message #79148 is a reply to message #78917] Mon, 24 March 2008 15:12 Go to previous messageGo to next message
Eclipse UserFriend
Frank,

I am using Rap 1.1 (release 2/20/2008). Should I move to CVS head instead ?

Arpit
Re: Images in TreeViewer [message #79162 is a reply to message #79148] Tue, 25 March 2008 05:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: andy.allgaeu.org

Hi again,

strange enough it now works, I tried CVS Head with no success, then in
anger I removed the properties-file, removed all extensions and created
all again afterwards - now it works. I donŽt know where the error was, now
I also get an appropriate error-message when a property is missing.

Thanks for your help

Andy
Re: Images in TreeViewer [message #82353 is a reply to message #79162] Fri, 11 April 2008 04:03 Go to previous message
Eclipse UserFriend
Originally posted by: rr.tiscali.de

I had the same problem.
It geot fixed when I'm corrected the classpath in my MANIFEST.MF.
I specified a jar when creating the plugin but forgot to append
the .jar extension:


Bundle-Version: 1.0.0
Bundle-ClassPath: erpclientrwt/ << Wrong
Bundle-Activator: de.trendswm.rcp.erpclient.rwt.Activator

This prevented the Bundle in the EngineConfigWrapper.registerThemes - Method
to calculate the url to the properties-file correctly.
After I removed the Bundle-ClassPath from the MANIFEST the theme got registered correctly.





Andreas schrieb:
> Hi again,
>
> strange enough it now works, I tried CVS Head with no success, then in
> anger I removed the properties-file, removed all extensions and created
> all again afterwards - now it works. I donŽt know where the error was,
> now I also get an appropriate error-message when a property is missing.
>
> Thanks for your help
>
> Andy
>
Previous Topic:Dropdown with a list widget
Next Topic:IWorkbench#restart behaves like IWorkbench#close ?
Goto Forum:
  


Current Time: Tue Jul 22 07:42:15 EDT 2025

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

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

Back to the top