Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Ressources
Ressources [message #86726] Sun, 11 May 2008 07:31 Go to next message
Eclipse UserFriend
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 13:54 Go to previous message
Eclipse UserFriend
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
>
Previous Topic:Integrating external packages using the ServletBridge in RAP
Next Topic:Image
Goto Forum:
  


Current Time: Fri Jul 18 18:30:26 EDT 2025

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

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

Back to the top