From: admin <ad...@co...> - 2004-05-28 12:49:18
|
Ehr, was just checking the new cvs files, and it looks like this is already implemented. Nice work Keith and skip the previous mail. Cheers Ronald > And another one from me, concerning the use of images. > > I've looked through your context.xml to see how to > define images, and I think its very complete, but in > some cases a bit too complete. > > I understand the meaning to include resource bundles > for your images (so you can have different images based > on languages) but for a simple application (with only a > couple of very simple icon's) its a bit too much. > > How about being able to define them like this: > <bean id="imageSource" > class="org.springframework.rcp.image.AwtImageSourceImpl"> > <constructor-arg index="0"> > <props> > <prop key="cancel.icon">images/alert/x.gif</prop> > </props> > </constructor-arg> > </bean> > > Therefor an AmtImageSourceImpl could be made up without > resources, but that means that the AwtImageSourceImpl > should implement a different interface (with only the > getImage(String key)) command, or the AwtImageSource > interface should extend that and the existing > AwtImageSource interface should be renamed to > AwtImageResource interface of something like that. > > Cheers > Ronald > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > _______________________________________________ > Springframework-rcp-dev mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-rcp-dev |