class IdGeneratorEditionDialog implements PropertyEditionPopup {

    void onOK() {
        DataModelerPropertyEditorFieldInfo fieldInfo = (DataModelerPropertyEditorFieldInfo) property;
        fieldInfo.clearCurrentValues();
        String strategy = view.getGeneratorType();
        if (!UIUtil.NOT_SELECTED.equals(strategy)) {
            fieldInfo.setCurrentValue(STRATEGY, strategy);
            fieldInfo.setCurrentValue(GENERATOR, view.getGeneratorName());
        }

        view.hide();
        if (okCommand != null) {
            okCommand.execute();
        }
    }

    @Inject public  IdGeneratorEditionDialog(View view);

}