public class MetaAttributeEditorLocator extends Object implements EditorLocator, de.cismet.connectioncontext.ConnectionContextProvider
| Modifier and Type | Field and Description |
|---|---|
protected static ClassLoader |
classLoader |
static Class |
DEFAULT_COMPLEX_ARRAY_EDITOR |
static Class |
DEFAULT_COMPLEX_EDITOR |
static Class |
DEFAULT_READONLY_EDITOR |
static String |
EDITOR_JAR_PATH |
protected org.apache.log4j.Logger |
logger |
| Constructor and Description |
|---|
MetaAttributeEditorLocator()
Creates a new instance of DefaultEditorLocatorDelegate.
|
| Modifier and Type | Method and Description |
|---|---|
protected BasicEditor |
createEditor(Class editorClass)
DOCUMENT ME!
|
protected Class |
createEditorClass(String editorClassName)
DOCUMENT ME!
|
de.cismet.connectioncontext.ConnectionContext |
getConnectionContext() |
BasicEditor |
getEditor(Object value)
Versucht einen passenden einfachen oder komplexen Editor für das Objekt zu finden.
|
Map |
getEditors(Collection collection)
Wenn das komplexe Object eine Collection ist, sollte diese Methode aufgerufen werden.
|
Map |
getEditors(Map metaAttributes)
Wenn das komplexe Object eine Hashmap ist, sollte diese Methode aufgerufen werden.
|
Map |
getEditors(Object value)
Untersucht ein komplexes Objekt (z.B.
|
boolean |
isIgnoreInvisibleAttributes()
Getter for property ignoreInvisibleAttributes.
|
void |
setIgnoreInvisibleAttributes(boolean ignoreInvisibleAttributes)
Setter for property ignoreInvisibleAttributes.
|
public static final String EDITOR_JAR_PATH
public static final Class DEFAULT_COMPLEX_EDITOR
public static final Class DEFAULT_COMPLEX_ARRAY_EDITOR
public static final Class DEFAULT_READONLY_EDITOR
protected static ClassLoader classLoader
protected org.apache.log4j.Logger logger
public MetaAttributeEditorLocator()
public Map getEditors(Object value)
EditorLocatorÜber den key der Map wird im komplexen Editor (Container) des Objekts der entsprechende Wert gesetzt. Wenn das komplexe Objekt z.B. eine Liste ist, könnte der Key z.B. ein Integer Objekt sein (-> index). Einfachster Fall: das komplexe Objekt ist eine Map!
Im Falle von Map und Collection soll an die beiden anderen getEditors Methoden delegiert werden.
getEditors in interface EditorLocatorvalue - das komplexe Objekt das untersucht werden sollComplexContainer.setValue(Object key, Object value),
EditorLocator.getEditors(java.util.Collection collection),
EditorLocator.getEditors(java.util.Map map)public Map getEditors(Map metaAttributes)
EditorLocatorgetEditors in interface EditorLocatormetaAttributes - DOCUMENT ME!EditorLocator.getEditors(Object object)protected Class createEditorClass(String editorClassName)
editorClassName - DOCUMENT ME!protected BasicEditor createEditor(Class editorClass)
editorClass - DOCUMENT ME!public BasicEditor getEditor(Object value)
EditorLocatorgetEditor in interface EditorLocatorvalue - DOCUMENT ME!public Map getEditors(Collection collection)
EditorLocatorgetEditors in interface EditorLocatorcollection - DOCUMENT ME!EditorLocator.getEditors(Object object)public boolean isIgnoreInvisibleAttributes()
public void setIgnoreInvisibleAttributes(boolean ignoreInvisibleAttributes)
ignoreInvisibleAttributes - New value of property ignoreInvisibleAttributes.public final de.cismet.connectioncontext.ConnectionContext getConnectionContext()
getConnectionContext in interface de.cismet.connectioncontext.ConnectionContextProviderCopyright © 2012–2026 cismet GmbH. All rights reserved.