forked from fanruan/demo-tabledata-redis
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
541 B
21 lines
541 B
6 years ago
|
package com.fr.plugin.db.redis.ui.value;
|
||
|
|
||
|
import com.fr.design.editor.ValueEditorPane;
|
||
|
import com.fr.design.editor.ValueEditorPaneFactory;
|
||
|
import com.fr.design.editor.editor.Editor;
|
||
|
|
||
|
public class IndexValuePaneFactory {
|
||
|
|
||
|
/**
|
||
|
* 创建带编辑器的ValueEditorPane
|
||
|
*
|
||
|
* @return 返回pane
|
||
|
*/
|
||
|
public static ValueEditorPane createValueEditorPane() {
|
||
|
return ValueEditorPaneFactory.createValueEditorPane(new Editor[]{
|
||
|
new IntegerEditor(),
|
||
|
new FormulaEditor()
|
||
|
});
|
||
|
}
|
||
|
}
|