Browse Source

改了一下移动端选项卡里面标题“自适应布局”和“绝对布局”统一为“手机属性”

master
fanglei 8 years ago
parent
commit
3139e70f36
  1. 1
      designer_base/src/com/fr/design/locale/designer_en_US.properties
  2. 3
      designer_base/src/com/fr/design/locale/designer_zh_CN.properties
  3. 1
      designer_base/src/com/fr/design/locale/designer_zh_TW.properties
  4. 6
      designer_form/src/com/fr/design/designer/creator/XCreator.java
  5. 7
      designer_form/src/com/fr/design/designer/creator/XWAbsoluteBodyLayout.java
  6. 8
      designer_form/src/com/fr/design/designer/creator/XWFitLayout.java
  7. 2
      designer_form/src/com/fr/design/designer/properties/BodyAppRelayoutTable.java

1
designer_base/src/com/fr/design/locale/designer_en_US.properties

@ -486,3 +486,4 @@ FR-Designer-DS-Database_Query=DB Query
FR-Designer_Is_Share_DBTableData=Shared data set
FR-Designer_Event=Event
FR-Designer_Properties=Properties
FR-Designer_Properties_Mobile=MobileProperties

3
designer_base/src/com/fr/design/locale/designer_zh_CN.properties

@ -422,7 +422,7 @@ FR-Designer-Website_Url=http\://www.finereport.com/
FR-Designer-BBSLogin_Download-Unlogin-Tip=\u767B\u5F55\u540E\u624D\u80FD\u4E0B\u8F7D
FR-Designer-App_ReLayout=\u624B\u673A\u91CD\u5E03\u5C40
FR-Designer_Mobile-Attr=\u79FB\u52A8\u7AEF\u5C5E\u6027
FR-Designer_Mobile-Vertical=\u7AD6\u5C4F
FR-Designer_Mobile-Vertical=\u7AD6\u5C4FF
FR-Designer_Mobile-Horizontal=\u6A2A\u5C4F
FR-Designer_COMMUNITY=\u793E\u533A
FR-Designer_COMMUNITY_BBS=\u5E06\u8F6F\u8BBA\u575B
@ -490,3 +490,4 @@ FR-Designer-LayerPageReport_Define_PageQuerySQL=\u5B9A\u4E49\u5206\u9875\u67E5\u
FR-Designer_Is_Share_DBTableData=\u5171\u4EAB\u6570\u636E\u96C6
FR-Designer_Event=\u4E8B\u4EF6
FR-Designer_Properties=\u5C5E\u6027
FR-Designer_Properties_Mobile=\u624B\u673A\u5C5E\u6027

1
designer_base/src/com/fr/design/locale/designer_zh_TW.properties

@ -478,3 +478,4 @@ FR-Designer-LayerPageReport_Define_PageQuerySQL=\u5B9A\u7FA9\u5206\u9801\u67E5\u
FR-Designer_Is_Share_DBTableData=\u662F\u5426\u5171\u4EAB\u8CC7\u6599\u96C6
FR-Designer_Properties=\u5C6C\u6027
FR-Designer_Event=\u4E8B\u4EF6
FR-Designer_Properties_Mobile=\u624B\u6A5F\u5C6C\u6027

6
designer_form/src/com/fr/design/designer/creator/XCreator.java

@ -618,10 +618,4 @@ public abstract class XCreator extends JPanel implements XComponent, XCreatorToo
return;
}
/**
* 给子类XWFitLayout和XWAbsoluteBodyLayout提供一个获取标题的方法
*/
public String getTitle() {
return null;
}
}

7
designer_form/src/com/fr/design/designer/creator/XWAbsoluteBodyLayout.java

@ -99,11 +99,4 @@ public class XWAbsoluteBodyLayout extends XWAbsoluteLayout {
initBorderStyle();
}
/**
* 返回一个绝对布局字符串
* @return
*/
public String getTitle() {
return Inter.getLocText("FR-Designer_AbsoluteLayout");
}
}

8
designer_form/src/com/fr/design/designer/creator/XWFitLayout.java

@ -1180,12 +1180,4 @@ public class XWFitLayout extends XLayoutContainer {
return new WidgetPropertyUIProvider[]{ new BodyMobilePropertyUI(this)};
}
/**
* 返回一个自适应布局字符串
* @return
*/
public String getTitle() {
return Inter.getLocText("FR-Designer-Layout_Adaptive_Layout");
}
}

2
designer_form/src/com/fr/design/designer/properties/BodyAppRelayoutTable.java

@ -53,7 +53,7 @@ public class BodyAppRelayoutTable extends AbstractPropertyTable {
FRContext.getLogger().error(e.getMessage());
}
groups.add(new PropertyGroup(new ReportAppPropertyGroupModel(xCreator.getTitle(), xCreator, propertyTableEditor, designer)));
groups.add(new PropertyGroup(new ReportAppPropertyGroupModel(Inter.getLocText("FR-Designer_Properties_Mobile"), xCreator, propertyTableEditor, designer)));
TableModel model = new BeanTableModel();
setModel(model);

Loading…
Cancel
Save