Ressources [message #86726] |
Sun, 11 May 2008 11:31 |
Eclipse User |
|
|
|
Originally posted by: andy.allgaeu.org
Hi,
if I use Images in SWT / RCP, I am responsible to dispose them (using
JFace Image registry or something like this).
RAP has a different approach (Graphics.get...). Do I have to dispose
ressourcen manually? Or is there a mechanism for this?
Andy
|
|
|
Re: Ressources [message #86741 is a reply to message #86726] |
Sun, 11 May 2008 17:54 |
Eclipse User |
|
|
|
Originally posted by: evolanakis.innoopract.com
Hi Andy,
it is not necessary to dispose images in RAP, because they do not occupy
native (i.e. OS) resources.
However, if you intend to use the same code in RCP and RAP you still
need to dispose the images in the first case.
Kind regards,
Elias.
Andy wrote:
> Hi,
>
> if I use Images in SWT / RCP, I am responsible to dispose them (using
> JFace Image registry or something like this).
> RAP has a different approach (Graphics.get...). Do I have to dispose
> ressourcen manually? Or is there a mechanism for this?
>
> Andy
>
|
|
|
Powered by
FUDForum. Page generated in 0.03234 seconds