|Using alternate resource manager for images, fonts, and colors [message #675503]
||Tue, 31 May 2011 17:28
| Jim Mayer
Registered: July 2009
Is there a way to configure WindowBuilder to use a resource manager other than SWTResourceManager? We'd like to use a customized version of JFace's LocalResourceManager (org.eclipse.jface.resource.LocalResourceManager, org.eclipse.jface.resource.DeviceResourceManager) for image, font, and color resource allocation.|
Our application runs in a constrained environment and uses a large number of images, so leaving them in memory (and letting the VM subsystem handle things) is not a good option for us.
We have looked at the configurable options in WindowBuilder (0.9.0.r36x201102111130), but the only options seem to be to use the generated SWTResourceManager or to use no resource manager at all.
We've considered modifying the generated SWTResourceManager, but the methods are called with the class of the composite, not the instance, so we can't easily delegate to a per-instance resource manager.
Powered by FUDForum
. Page generated in 0.07424 seconds