|
|
@ -59,7 +59,7 @@ public class TopXCreators extends JComponent { |
|
|
|
XCreator[] xCreators = selectionModel.getSelection().getSelectedCreators(); |
|
|
|
XCreator[] xCreators = selectionModel.getSelection().getSelectedCreators(); |
|
|
|
for (XCreator creator : xCreators) { |
|
|
|
for (XCreator creator : xCreators) { |
|
|
|
XWCardMainBorderLayout topXMainBorderLayout = XCreatorUtils.getTopXMainBorderLayout(creator); |
|
|
|
XWCardMainBorderLayout topXMainBorderLayout = XCreatorUtils.getTopXMainBorderLayout(creator); |
|
|
|
TopXCreator topXCreator = topXMainBorderLayout == null ? new TopXCreator(creator) : new TopXCreator(topXMainBorderLayout); |
|
|
|
TopXCreator topXCreator = topXMainBorderLayout == null ? new TopXCreator(designer, creator) : new TopXCreator(designer, topXMainBorderLayout); |
|
|
|
add(topXCreator); |
|
|
|
add(topXCreator); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|