class StyleActionAdapter implements ListChangeListener<Action>, Observer {

    public void close()
    {
        myAction.iconIdProperty().removeListener(myIconListener);
        myAction.colorProperty().removeListener(myColorListener);
        myAction.getFeatureAction().getActions().removeListener(this);
        unregisterStyleActionChanges();
    }

    public  StyleActionAdapter(SimpleFeatureAction action);

}