@Override
            public void setState(State state) {
                super.setState(state);
                updateOutputDirEnabled();
            }
@Override
            public void setState(State state)