Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] JFace resource creation factory

Hi,

For a while I've been using the registries from the JFace resource package.
However, it seems to me that what's accomplished there is only halfway. What I
would like is to have a resource factory there that allows the creation of
resources while internally storing them into proper resource registry
instances.

What I'm thinking about is a class with the following interface:

class ResourceFactory{
public Image createImage(...);
public Font createFont(...);
public Color createColor(...);
}

I don't know of such an existing feature in the JFace API. Would this be
useful?

I could provide a sample implementation, although I think it should be pretty
trivial.

Regards,
Robert


		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - What will yours do?
http://my.yahoo.com 


Back to the top