|
|
@ -619,8 +619,9 @@ public class FormDesigner extends TargetComponent<Form> implements TreeSelection |
|
|
|
if (paraComponent != null && paraComponent.acceptType(XWParameterLayout.class)) { |
|
|
|
if (paraComponent != null && paraComponent.acceptType(XWParameterLayout.class)) { |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
if (this.getSelectionModel().getSelection().getSelectedCreator().getParent() != null |
|
|
|
XCreator creator = this.getSelectionModel().getSelection().getSelectedCreator(); |
|
|
|
&& ((XLayoutContainer) this.getSelectionModel().getSelection().getSelectedCreator().getParent()).acceptType(XWAbsoluteLayout.class)) { |
|
|
|
if (creator != null && creator.getParent() != null |
|
|
|
|
|
|
|
&& ((XLayoutContainer) creator.getParent()).acceptType(XWAbsoluteLayout.class)) { |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|