return values;
}
protected XFormDialog buildDialog(Interface modelItem) {
XFormDialogBuilder builder = XFormFactory.createDialogBuilder(messages.get("Dialog.Title"));
XForm mainForm = builder.createForm(messages.get("Dialog.Basic.Label"));
addWSDLFields(mainForm, modelItem);
mainForm.addTextField(OUTPUT, messages.get("Dialog.Basic.Output"), XForm.FieldType.PROJECT_FOLDER);
mainForm.addCheckBox(SERVER_SIDE, messages.get("Dialog.Basic.ServerSide"));
mainForm.addCheckBox(ALL, messages.get("Dialog.Basic.All"));
mainForm.addComboBox(DEPLOY_SCOPE, new String[]{"none", "Application", "Session", "Request"},
messages.get("Axis1XWSDL2JavaAction.Dialog.Basic.AddScope"));
mainForm.addComboBox(SKELETON_DEPLOY, new String[]{"none", "true", "false"},
messages.get("Dialog.Basic.DeploySkeleton"));
mainForm.addCheckBox(NO_IMPORTS, messages.get("Dialog.Basic.NoImports"));
mainForm.addCheckBox(NO_WRAPPED, messages.get("Dialog.Basic.NoWrapped"));
mainForm.addCheckBox(TEST_CASE, messages.get("Dialog.Basic.TestCase"));
mainForm.addCheckBox(HELPER_GEN, messages.get("Dialog.Basic.HelperGen"));
mainForm.addCheckBox(WRAP_ARRAYS, messages.get("Dialog.Basic.WrapArrays"));
XForm advForm = builder.createForm(messages.get("Dialog.Advanced.Label"));
advForm.addComboBox(TYPE_MAPPING_VERSION, new String[]{"1.2", "1.1"},
messages.get("Dialog.Advanced.TypeMappingVersion"));
advForm.addTextField(IMPLCLASS, messages.get("Dialog.Advanced.ImplClass"), XForm.FieldType.JAVA_CLASS);
advForm.addTextField(FACTORY, messages.get("Dialog.Advanced.Factory"), XForm.FieldType.JAVA_CLASS);
advForm.addTextField(PACKAGE, messages.get("Dialog.Advanced.Package"), XForm.FieldType.JAVA_PACKAGE);
advForm.addNameSpaceTable(NAMESPACE_MAPPING, modelItem);
advForm.addTextField(USERNAME, messages.get("Dialog.Advanced.Username"), XForm.FieldType.TEXT);
advForm.addTextField(PASSWORD, messages.get("Dialog.Advanced.Password"), XForm.FieldType.PASSWORD);
buildArgsForm(builder, true, "WSDL2Java"); //$NON-NLS-1$
return builder.buildDialog(buildDefaultActions(HelpUrls.AXIS1X_HELP_URL, modelItem),
messages.get("Dialog.Description"), UISupport.TOOL_ICON);
}