|
|
@ -90,9 +90,6 @@ public class FormCreatorDropTarget extends DropTarget { |
|
|
|
XLayoutContainer container = XCreatorUtils.getHotspotContainer(hoveredComponent); |
|
|
|
XLayoutContainer container = XCreatorUtils.getHotspotContainer(hoveredComponent); |
|
|
|
boolean success = false; |
|
|
|
boolean success = false; |
|
|
|
if (container != null) { |
|
|
|
if (container != null) { |
|
|
|
//XWCardTagLayout 切换添加状态到普通状态
|
|
|
|
|
|
|
|
container.stopAddingState(designer); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 如果是容器,则调用其acceptComponent接受组件
|
|
|
|
// 如果是容器,则调用其acceptComponent接受组件
|
|
|
|
AddingModel model = designer.getAddingModel(); |
|
|
|
AddingModel model = designer.getAddingModel(); |
|
|
|
|
|
|
|
|
|
|
|