Class AefValueEditorBase

    • Constructor Detail

      • AefValueEditorBase

        public AefValueEditorBase()
    • Method Detail

      • openDialog

        protected <T extends IModel> void openDialog​(IComponent<T> component,
                                                     T model,
                                                     Consumer<T> onSuccessConsumer)
        Creates dialog.
        Parameters:
        component - the dialog component, cannot be null
        model - the model for component, cannot be null
        onSuccessConsumer - the consumer for commit event, cannot be null
      • getModelApi

        protected IModelApi getModelApi()
        Returns the IModelApi instance.
        Returns:
        the IModelApi instance or null if the editor was not initialized.