public interface IParametersEditorMapper
| Modifier and Type | Method and Description |
|---|---|
void |
addDescriptionProvider(ClassInfo descriptionProviderClass,
String parametersClassName)
Adds a new editor description provider mapping to this mapper.
|
void |
addDescriptionProvider(String descriptionProviderClassName,
String parametersClassName)
Adds a new editor description provider mapping to this mapper.
|
void |
addEditor(ClassInfo editorClass,
String parametersClassName)
Adds a new parameters editor mapping to this mapper.
|
void |
addEditor(String editorClassName,
String parametersClassName)
Adds a new parameters editor mapping to this mapper.
|
void |
clearDescriptionProviders()
Removes all editor mappings for this mapper.
|
void |
clearEditors()
Removes all editor mappings for this mapper.
|
IParametersEditor |
createParametersEditor(String parametersClassName)
Creates an instance of the parameters editor for a given parameters class name.
|
IEditorDescriptionProvider |
getDescriptionProvider(String parametersClassName)
Gets an object that can provide the UI description to use with a generic editor.
|
void |
removeDescriptionProvider(String className)
Removes a given editor description provider from this mapper.
|
void |
removeEditor(String className)
Removes a given editor from this mapper.
|
void addEditor(ClassInfo editorClass, String parametersClassName)
editorClass - the class information of the editor to add.parametersClassName - the class name of the parameters this editor can edit.
If this class name is already listed, the exiting entry will be replaced by
this one.void addEditor(String editorClassName, String parametersClassName)
addEditor(new ClassInfo(editorClassName)).editorClassName - the class name of the editor to add.parametersClassName - the class name of the parameters this editor can edit.
If this class name is already listed, the exiting entry will be replaced by
this one.void removeEditor(String className)
className - the class name of the editor to remove.void clearEditors()
void addDescriptionProvider(ClassInfo descriptionProviderClass, String parametersClassName)
descriptionProviderClass - the class information of the editor description
provider to add.parametersClassName - the class name of the parameters this editor can edit.
If this class name is already listed, the exiting entry will be replaced by
this one.void addDescriptionProvider(String descriptionProviderClassName, String parametersClassName)
addDescriptionProvider(new ClassInfo(descriptionProviderClassName)).descriptionProviderClassName - the class name of the editor description
provider to add.parametersClassName - the class name of the parameters this editor can edit.
If this class name is already listed, the exiting entry will be replaced by
this one.void removeDescriptionProvider(String className)
className - the class name of the editor description provider to remove.void clearDescriptionProviders()
IParametersEditor createParametersEditor(String parametersClassName)
parametersClassName - the parameters class name to use for lookup.OkapiEditorCreationException - if the editor could not be created.IEditorDescriptionProvider getDescriptionProvider(String parametersClassName)
parametersClassName - the name of the class for which to get the description provider.Copyright © 2022. All rights reserved.