Search in sources :

Example 1 with LongFormType

use of org.camunda.bpm.engine.impl.form.type.LongFormType in project camunda-bpm-platform by camunda.

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());
    }
    if (customFormTypes != null) {
        for (AbstractFormFieldType customFormType : customFormTypes) {
            formTypes.addFormType(customFormType);
        }
    }
}
Also used : FormTypes(org.camunda.bpm.engine.impl.form.type.FormTypes) StringFormType(org.camunda.bpm.engine.impl.form.type.StringFormType) DateFormType(org.camunda.bpm.engine.impl.form.type.DateFormType) AbstractFormFieldType(org.camunda.bpm.engine.impl.form.type.AbstractFormFieldType) LongFormType(org.camunda.bpm.engine.impl.form.type.LongFormType) BooleanFormType(org.camunda.bpm.engine.impl.form.type.BooleanFormType)

Aggregations

AbstractFormFieldType (org.camunda.bpm.engine.impl.form.type.AbstractFormFieldType)1 BooleanFormType (org.camunda.bpm.engine.impl.form.type.BooleanFormType)1 DateFormType (org.camunda.bpm.engine.impl.form.type.DateFormType)1 FormTypes (org.camunda.bpm.engine.impl.form.type.FormTypes)1 LongFormType (org.camunda.bpm.engine.impl.form.type.LongFormType)1 StringFormType (org.camunda.bpm.engine.impl.form.type.StringFormType)1