/*
* Listener to get expand state changes and store the state in the
* Properties for the Plugins menu.
*/
group.addPropertyChangeListener(new PropertyChangeListener() {
public void propertyChange(final PropertyChangeEvent evt) {
ProgramInfo.getInstance().getSettings().setExpanded(
id + "_" + (String) menu.getAction().getValue(Action.NAME),
group.isExpanded());
}