public class EditorRegistry extends Object
RadDataForm
instance.Constructor and Description |
---|
EditorRegistry(RadDataForm dataForm) |
Modifier and Type | Method and Description |
---|---|
void |
addEditorForProperty(Class editorType,
String propertyName) |
void |
addEditorForTypes(Class editorType,
Class[] propertyTypes) |
void |
addViewerForTypes(Class editorType,
Class[] propertyTypes) |
void |
addViewForProperty(Class viewerType,
String propertyName) |
EntityPropertyEditor |
createDefaultEditor(EntityProperty property) |
EntityPropertyViewer |
createDefaultViewer(EntityProperty property) |
EntityPropertyEditor |
createEditorFromMetadata(EntityProperty property) |
EntityPropertyViewer |
createViewerFromMetadata(EntityProperty property) |
void |
resetEditorTypeRegistry() |
EntityPropertyEditor |
resolveEditorForProperty(EntityProperty property) |
EntityPropertyEditor |
resolveEditorForType(EntityProperty property) |
EntityPropertyViewer |
resolveViewerForProperty(EntityProperty property) |
EntityPropertyViewer |
resolveViewerForType(EntityProperty property) |
public EditorRegistry(RadDataForm dataForm)
public EntityPropertyEditor createEditorFromMetadata(EntityProperty property)
public EntityPropertyViewer createViewerFromMetadata(EntityProperty property)
public void resetEditorTypeRegistry()
public EntityPropertyEditor resolveEditorForType(EntityProperty property)
public EntityPropertyEditor resolveEditorForProperty(EntityProperty property)
public EntityPropertyViewer resolveViewerForType(EntityProperty property)
public EntityPropertyViewer resolveViewerForProperty(EntityProperty property)
public EntityPropertyEditor createDefaultEditor(EntityProperty property)
public EntityPropertyViewer createDefaultViewer(EntityProperty property)