Revision 61ca7567
Added by Katja Luther over 5 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/element/AbstractFormSection.java | ||
---|---|---|
598 | 598 |
|
599 | 599 |
} |
600 | 600 |
|
601 |
private class ExpandListener implements IExpansionListener{
|
|
601 |
public class ExpandListener implements IExpansionListener{
|
|
602 | 602 |
@Override |
603 | 603 |
public void expansionStateChanging(ExpansionEvent e) { |
604 | 604 |
} |
... | ... | |
612 | 612 |
* Adds a custom implementation of IExpansionListener to this section |
613 | 613 |
* which stores the expansion state in the preferences |
614 | 614 |
*/ |
615 |
private void addExpandListener() {
|
|
615 |
protected void addExpandListener() {
|
|
616 | 616 |
PreferencesUtil.getPreferenceStore().setDefault(getPrefKey(), isExpanded()); |
617 | 617 |
setExpanded(PreferencesUtil.getPreferenceStore().getBoolean(getPrefKey())); |
618 | 618 |
addExpansionListener(new ExpandListener()); |
Also available in: Unified diff
smaller changes in AbstractFormSection