}
- private class ExpandListener implements IExpansionListener{
+ public class ExpandListener implements IExpansionListener{
@Override
public void expansionStateChanging(ExpansionEvent e) {
}
* Adds a custom implementation of IExpansionListener to this section
* which stores the expansion state in the preferences
*/
- private void addExpandListener() {
+ protected void addExpandListener() {
PreferencesUtil.getPreferenceStore().setDefault(getPrefKey(), isExpanded());
setExpanded(PreferencesUtil.getPreferenceStore().getBoolean(getPrefKey()));
addExpansionListener(new ExpandListener());