Interface IAttributeEditorFactory
-
public interface IAttributeEditorFactory属性编辑窗口的工厂接口 编译器会扫描源代码 生成这个接口的实现类
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IAttributeEditorcreateEditor(String editorCode, boolean reuse)创建编辑器 实现逻辑为 根据列表 依次创建AttributeEditorInfofindByCode(String code)根据代码查找属性编辑器元数据List<AttributeEditorInfo>getEditors()返回系统中所有的属性编辑器
-
-
-
Method Detail
-
createEditor
IAttributeEditor createEditor(String editorCode, boolean reuse)
创建编辑器 实现逻辑为 根据列表 依次创建- Parameters:
editorCode- 编辑器的唯一代码reuse- 是否重用- Returns:
-
getEditors
List<AttributeEditorInfo> getEditors()
返回系统中所有的属性编辑器- Returns:
-
findByCode
AttributeEditorInfo findByCode(String code)
根据代码查找属性编辑器元数据- Parameters:
code-- Returns:
-
-