JavaScript Extension Development API for Oracle Visual Builder Cloud Service - Classic Applications

Source: components.dt/js/spi/creators/CreatorType.js

define([], function () {

    'use strict';

    /**
     * Enumeration representing the type of a component creator.
     *
     * @AbcsExtension stable
     * @exports components.dt/js/spi/creators/CreatorType
     * @constructor
     * @private
     * @version 16.3.5
     */
    var CreatorType = function () {
        AbcsLib.throwStaticClassError();
    };

    /**
     * Defines a creator with no UI creating its views with default properties
     * raising no popup or wizard during the create process.
     * <p>Usually all creators implementing {@link components.dt/js/spi/creators/Creator Creator}
     * interface return this type.</p>
     *
     * @AbcsExtension stable
     * @version 16.3.5
     * @static
     * @constant
     * @type {String}
     */
    CreatorType.PLAIN = 'plain';

    /**
     * Defines a creator raising a customizer popup right after the view is
     * created.
     * <p>All creators implementing {@link components.dt/js/spi/creators/PopupCreator PopupCreator}
     * interface return this type.</p>
     *
     * @AbcsExtension stable
     * @version 16.3.5
     * @static
     * @constant
     * @type {String}
     */
    CreatorType.POPUP = 'popup';

    /**
     * Defines a creator raising a wizard during view create process.
     *
     * <p>All creators implementing {@link components.dt/js/spi/creators/WizardCreator WizardCreator}
     * interface return this type.</p>
     *
     * @static
     * @constant
     * @type {String}
     */
    CreatorType.WIZARD = 'wizard';

    /**
     * Used for ABCS internal special creators, not intended to mak public.
     * <p>See {@link components.dt/js/spi/creators/InternalCreator InternalCreator}
     * for more details.</p>
     *
     * @static
     * @constant
     * @type {String}
     */
    CreatorType.INTERNAL = 'internal';

    return CreatorType;
});