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