public class CdmSectionPart<T> extends SectionPart implements
IPropertyChangeListener {
+ public static String EXPANDED = "expanded";
+ public static String COLLAPSED = "collapsed";
+
private final AbstractFormSection<T> formSection;
/**
@Override
protected void expansionStateChanged(boolean expanded) {
super.expansionStateChanged(expanded);
- PreferencesUtil.setBooleanValue(StoreUtil.getPrefKey(formSection.getClass(), rootInput), expanded);
+ PreferencesUtil.setStringValue(StoreUtil.getPrefKey(formSection.getClass(), rootInput), expanded?EXPANDED:COLLAPSED);
}
}