01: /**
02: * Miroslav Popov, Dec 8, 2005
03: * miroslav.popov@gmail.com
04: */package org.enhydra.jawe.base.display;
05:
06: import java.util.Properties;
07:
08: import org.enhydra.jawe.AdditionalResourceManager;
09: import org.enhydra.jawe.JaWEComponent;
10: import org.enhydra.jawe.JaWEComponentSettings;
11:
12: /**
13: * @author Miroslav Popov
14: *
15: */
16: public class DisplayNameGeneratorSettings extends JaWEComponentSettings {
17:
18: public void init(JaWEComponent comp) {
19: PROPERTYFILE_PATH = "org/enhydra/jawe/base/display/properties/";
20: PROPERTYFILE_NAME = "displaynamegenerator.properties";
21: loadDefault(comp, new Properties());
22: // super.init(comp);
23:
24: }
25:
26: public void loadDefault(JaWEComponent comp, Properties properties) {
27: // defaults
28: arm = new AdditionalResourceManager(properties);
29: }
30:
31: }
|