01: package net.xoetrope.builder.editor.components.swing;
02:
03: import java.awt.Component;
04:
05: import net.xoetrope.builder.editor.XPageResource;
06: import net.xoetrope.swing.XImage;
07: import net.xoetrope.builder.editor.components.PropertyHelper;
08: import net.xoetrope.xui.XPage;
09:
10: /**
11: * A helper for the XImage types
12: * <p> Copyright (c) Xoetrope Ltd., 2002-2003</p>
13: * <p> $Revision: 1.14 $</p>
14: */
15: public class XImageHelper extends PropertyHelper {
16: protected String extraProperties[] = { "ImageName" };
17: protected String extensions[] = { "gif", "jpg", "png" };
18:
19: public XImageHelper() {
20: className = XImage.class.toString();
21: componentType = XPage.IMAGE;
22: extraPropertyNames = extraProperties;
23:
24: setFileExtensions("Image Files", "gif", extensions);
25: }
26: }
|