|
|
@ -259,11 +259,11 @@ public class MobileWidgetTable extends JTable { |
|
|
|
|
|
|
|
|
|
|
|
// 选择的控件有两种类型,一种是WLayout,代表容器,一种是Widget,代表控件
|
|
|
|
// 选择的控件有两种类型,一种是WLayout,代表容器,一种是Widget,代表控件
|
|
|
|
if (selectedModel.acceptType(WSortLayout.class)) { |
|
|
|
if (selectedModel.acceptType(WSortLayout.class)) { |
|
|
|
List<String> strings = ((WSortLayout)selectedModel).getOrderedMobileWidgetList(); |
|
|
|
List<String> mobileWidgetLists = ((WSortLayout)selectedModel).getOrderedMobileWidgetList(); |
|
|
|
String[][] widgetName = new String[strings.size() + 1][1]; |
|
|
|
String[][] widgetName = new String[mobileWidgetLists.size() + 1][1]; |
|
|
|
widgetName[0][0] = Inter.getLocText("FR-Designer_WidgetOrder"); |
|
|
|
widgetName[0][0] = Inter.getLocText("FR-Designer_WidgetOrder"); |
|
|
|
for (int i = 0; i < strings.size(); i++) { |
|
|
|
for (int i = 0; i < mobileWidgetLists.size(); i++) { |
|
|
|
widgetName[i + 1][0] = strings.get(i); |
|
|
|
widgetName[i + 1][0] = mobileWidgetLists.get(i); |
|
|
|
} |
|
|
|
} |
|
|
|
return widgetName; |
|
|
|
return widgetName; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|