ResourceManager.decorateImage() suggestions

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

ResourceManager.decorateImage() suggestions

Postby dfayerma » Mon Jan 24, 2005 6:14 am

I would suggest to add a parameter to the ResourceManager.decorateImage() method which would
allow drawing the decorator in one of the four corners of the base image:
TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT and BOTTOM_RIGHT.

Also the Images produced as a result of the decoration are not being disposed in the dispose method of the ResourceManager. I think they should be.
dfayerma
 
Posts: 30
Joined: Mon Sep 20, 2004 10:51 am
Location: Boston, USA

Re: ResourceManager.decorateImage() suggestions

Postby Eric Clayberg » Sun Jan 30, 2005 6:22 am

dfayerma wrote:I would suggest to add a parameter to the ResourceManager.decorateImage() method which would
allow drawing the decorator in one of the four corners of the base image:
TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT and BOTTOM_RIGHT.

Also the Images produced as a result of the decoration are not being disposed in the dispose method of the ResourceManager. I think they should be.

This is available in the latest v3.0.1 build.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to SWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest