class SimpleFeatureActionGroupAdapter implements ListChangeListener<SimpleFeatureAction> {

    public void close()
    {
        myGroup.groupNameProperty().removeListener(myNameListener);
        myGroup.getActions().removeListener(this);
        for (Pair<FilterActionAdapter, StyleActionAdapter> adapters : myAdapters.values())
        {
            adapters.getFirstObject().close();
            adapters.getSecondObject().close();
        }
    }

    public  SimpleFeatureActionGroupAdapter(SimpleFeatureActionGroup group);

}