forked from fanruan/design
hades
3 years ago
2 changed files with 32 additions and 1 deletions
@ -0,0 +1,30 @@
|
||||
package com.fr.design.parameter; |
||||
|
||||
import com.fr.design.editor.ValueEditorPane; |
||||
import com.fr.stable.ParameterProvider; |
||||
|
||||
/** |
||||
* 与ParameterInputPane区别在于 输入参数不会触发模板修改事件 |
||||
* |
||||
* 适用于参数不需要存储在模板中的场景 |
||||
* |
||||
* @author hades |
||||
* @version 11.0 |
||||
* Created by hades on 2022/5/13 |
||||
*/ |
||||
public class ParameterInputNoneListenerPane extends ParameterInputPane { |
||||
|
||||
public ParameterInputNoneListenerPane(ParameterProvider[] parameters) { |
||||
super(parameters); |
||||
} |
||||
|
||||
public ParameterInputNoneListenerPane(ParameterProvider[] parameters, boolean allowBlank) { |
||||
super(parameters, allowBlank); |
||||
} |
||||
|
||||
@Override |
||||
protected void initTextListener(ValueEditorPane textF) { |
||||
// 这边输入参数 不用联动模板变化激活保存按钮 相关参数并不存储在模板
|
||||
// do nothing
|
||||
} |
||||
} |
Loading…
Reference in new issue