|
|
|
@ -15,8 +15,9 @@ import javax.swing.JComponent;
|
|
|
|
|
import javax.swing.JPanel; |
|
|
|
|
import javax.swing.JScrollPane; |
|
|
|
|
import java.awt.Dimension; |
|
|
|
|
import java.util.HashMap; |
|
|
|
|
import java.util.Iterator; |
|
|
|
|
import java.util.Map; |
|
|
|
|
import java.util.LinkedHashMap; |
|
|
|
|
|
|
|
|
|
@Open |
|
|
|
|
public abstract class ConditionAttributesPane<T> extends BasicBeanPane<T> { |
|
|
|
@ -27,7 +28,7 @@ public abstract class ConditionAttributesPane<T> extends BasicBeanPane<T> {
|
|
|
|
|
|
|
|
|
|
protected LiteConditionPane liteConditionPane; |
|
|
|
|
|
|
|
|
|
protected java.util.Map<Class, ConditionAttrSingleConditionPane> classPaneMap = new HashMap<Class, ConditionAttrSingleConditionPane>(); |
|
|
|
|
protected Map<Class, ConditionAttrSingleConditionPane> classPaneMap = new LinkedHashMap<>(); |
|
|
|
|
|
|
|
|
|
//可用的Actions.
|
|
|
|
|
protected java.util.List<UpdateAction> useAbleActionList = new java.util.ArrayList<UpdateAction>(); |
|
|
|
@ -70,7 +71,7 @@ public abstract class ConditionAttributesPane<T> extends BasicBeanPane<T> {
|
|
|
|
|
selectedItemScrollPane.setMinimumSize(new Dimension((int) selectedItemScrollPane.getPreferredSize().getWidth(), MIN_HEIGHT)); |
|
|
|
|
propertyChangePane.add(selectedItemScrollPane); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void updateBean(T ob) { |
|
|
|
|
updateMenuDef(); |
|
|
|
|
} |
|
|
|
|