mainForm.addTextField( PACKAGE, "Package for generated classes", XForm.FieldType.JAVA_PACKAGE ).setRequired(
true, "Package is required" );
XFormField bindingCombo = mainForm.addComboBox( BINDING, new String[] { "jaxb", "xmlbeans" },
"Binding framework to use" );
XFormTextField cpField = mainForm.addTextField( CLASSPATH, "Classpath to generated xmlbeans for binding",
XForm.FieldType.PROJECT_FILE );
XFormTextField extBindingsField = mainForm.addTextField( EXTERNAL_BINDINGS, "External jaxb binding file(s)",
XForm.FieldType.PROJECT_FILE );
bindingCombo.addComponentEnabler( cpField, "xmlbeans" );
bindingCombo.addComponentEnabler( extBindingsField, "jaxb" );
mainForm.addTextField( PROFILE, "Profile to use for generating artifacts", XForm.FieldType.TEXT );