de.kleopatra.forms.view.builder
Class MappingManager
java.lang.Object
de.kleopatra.forms.view.builder.MappingManager
- public class MappingManager
- extends java.lang.Object
responsible for handling pluggable XXMaps
(ComponentTypeMap, CustomizerMap, IOHandlerMap, StyleMap).
reads settings of defaults to be used for app from a property value in
"resources/forms.properties" (on classpath - see example), if available,
and copies to the appropriate system properties it not yet set.
Strategy of getXXMap:
-
if system property XXMap is set - return it
-
if property set in form.properties - set the system prop and return it
-
if neither is set return hardcoded defaultXX
PENDING: support dynamic switching at runtime?
Not available at - needs major refactoring to include
notifications about map changes.
- Version:
- $Revision: 1.2 $ - $Date: 2004/09/30 10:18:21 $
- Author:
- (C) Jeanette Winzenburg, Berlin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultComponentTypeMap
protected final java.lang.String defaultComponentTypeMap
- See Also:
- Constant Field Values
defaultCustomizerMap
protected final java.lang.String defaultCustomizerMap
- See Also:
- Constant Field Values
defaultIOHandlerMap
protected final java.lang.String defaultIOHandlerMap
- See Also:
- Constant Field Values
defaultComponentTypeMapClass
protected final java.lang.Class defaultComponentTypeMapClass
defaultCustomizerMapClass
protected final java.lang.Class defaultCustomizerMapClass
defaultIOHandlerMapClass
protected final java.lang.Class defaultIOHandlerMapClass
defaultStyleMapClass
protected final java.lang.Class defaultStyleMapClass
defaultFormsPath
protected java.lang.String defaultFormsPath
bundle
protected java.util.ResourceBundle bundle
MappingManager
protected MappingManager()
getInstance
public static MappingManager getInstance()
getCustomizerMapClass
public java.lang.Class getCustomizerMapClass()
getComponentTypeMapClass
public java.lang.Class getComponentTypeMapClass()
getIOHandlerMapClass
public java.lang.Class getIOHandlerMapClass()
getStyleMapClass
public java.lang.Class getStyleMapClass()
init
protected void init()
Copyright © 2003, 2004 SwingEmpire Jeanette Winzenburg. All Rights Reserved.