Fix to find supertypes in forms only creating sub DTOs
diff --git a/org.eclipse.scout.sdk/src/org/eclipse/scout/sdk/internal/workspace/dto/DtoUtility.java b/org.eclipse.scout.sdk/src/org/eclipse/scout/sdk/internal/workspace/dto/DtoUtility.java
index fed3499..31bad58 100644
--- a/org.eclipse.scout.sdk/src/org/eclipse/scout/sdk/internal/workspace/dto/DtoUtility.java
+++ b/org.eclipse.scout.sdk/src/org/eclipse/scout/sdk/internal/workspace/dto/DtoUtility.java
@@ -350,7 +350,7 @@
IType declaringType = recursiveDeclaringType.getDeclaringType();
if (declaringType == null) {
// primary type
- if (FormDataAnnotation.isSdkCommandCreate(formDataAnnotation) || FormDataAnnotation.isSdkCommandUse(formDataAnnotation)) {
+ if (FormDataAnnotation.isCreate(formDataAnnotation) || FormDataAnnotation.isSdkCommandUse(formDataAnnotation)) {
return TypeUtility.getTypeBySignature(formDataAnnotation.getFormDataTypeSignature());
}
return null;