Search in sources :

Example 1 with DoubleFormType

use of org.activiti.engine.impl.form.DoubleFormType in project Activiti by Activiti.

the class ProcessEngineConfigurationImpl method initFormTypes.

protected void initFormTypes() {
    if (formTypes == null) {
        formTypes = new FormTypes();
        formTypes.addFormType(new StringFormType());
        formTypes.addFormType(new LongFormType());
        formTypes.addFormType(new DateFormType("dd/MM/yyyy"));
        formTypes.addFormType(new BooleanFormType());
        formTypes.addFormType(new DoubleFormType());
    }
    if (customFormTypes != null) {
        for (AbstractFormType customFormType : customFormTypes) {
            formTypes.addFormType(customFormType);
        }
    }
}
Also used : FormTypes(org.activiti.engine.impl.form.FormTypes) StringFormType(org.activiti.engine.impl.form.StringFormType) DoubleFormType(org.activiti.engine.impl.form.DoubleFormType) DateFormType(org.activiti.engine.impl.form.DateFormType) AbstractFormType(org.activiti.engine.form.AbstractFormType) LongFormType(org.activiti.engine.impl.form.LongFormType) BooleanFormType(org.activiti.engine.impl.form.BooleanFormType)

Aggregations

AbstractFormType (org.activiti.engine.form.AbstractFormType)1 BooleanFormType (org.activiti.engine.impl.form.BooleanFormType)1 DateFormType (org.activiti.engine.impl.form.DateFormType)1 DoubleFormType (org.activiti.engine.impl.form.DoubleFormType)1 FormTypes (org.activiti.engine.impl.form.FormTypes)1 LongFormType (org.activiti.engine.impl.form.LongFormType)1 StringFormType (org.activiti.engine.impl.form.StringFormType)1