use of com.amalto.workbench.dialogs.ComplexTypeInputDialogR in project tmdm-studio-se by Talend.
the class XSDAddComplexTypeElementAction method openDialog.
private int openDialog() {
XSDSimpleTypeDefinition simpleTypeDefinition = schema.resolveSimpleTypeDefinition(schema.getSchemaForSchemaNamespace(), defaultTypeName);
List<XSDComplexTypeDefinition> types = Util.getComplexTypes(schema);
dialogR = new ComplexTypeInputDialogR(page.getSite().getShell(), Messages._AddCType, modelGroup, schema, types, simpleTypeDefinition, false, false);
dialogR.setBlockOnOpen(true);
int ret = dialogR.open();
return ret;
}
Aggregations