Using alternate resource manager for images, fonts, and colors [message #675503] |
Tue, 31 May 2011 13:28  |
Eclipse User |
|
|
|
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.
Any ideas?
-- Jim
|
|
|
|
|
Re: Using alternate resource manager for images, fonts, and colors [message #675606 is a reply to message #675572] |
Tue, 31 May 2011 21:04  |
Eclipse User |
|
|
|
Currently. the builds are being done in-house at Google, but one of our major priorities for the Juno cycle is to move the build completely onto Eclipse infrastructure. We are hoping that will happen fairly soon.
In the mean time, the best approach would be to just load the code up and run it in an Eclipse runtime workbench. That would allow you to make changes and test them without needing to do a full build (which you can't do yet anyway). Once you have a patch that you like, you can then submit it to Bugzilla (Tools > WindowBuilder), and we (the committer team) will integrate it into the main build. Contribute some high quality enhancements and/or bug fixes and we would be happy to have you join the committer team.
We aren't doing much in the DB space (aside from bug fixing), so it is a green field for anyone who wants to jump in and make improvements.
Feel free to post WB dev related questions eiher here or on the wb-dev mailing list.
|
|
|
Powered by
FUDForum. Page generated in 0.03440 seconds