diff --git a/designer_base/src/com/fr/design/actions/server/PlatformManagerAction.java b/designer_base/src/com/fr/design/actions/server/PlatformManagerAction.java index 4448c10249..f8f1cd655e 100644 --- a/designer_base/src/com/fr/design/actions/server/PlatformManagerAction.java +++ b/designer_base/src/com/fr/design/actions/server/PlatformManagerAction.java @@ -15,7 +15,7 @@ public class PlatformManagerAction extends UpdateAction { this.setMenuKeySet(PLATEFORM_MANAGER); this.setName(getMenuKeySet().getMenuKeySetName()); this.setMnemonic(getMenuKeySet().getMnemonic()); - this.setSmallIcon(BaseUtils.readIcon("/com/fr/web/images/platform/platform_16_16.png")); + this.setSmallIcon(BaseUtils.readIcon("/com/fr/design/images/server/platform_16_16.png")); } /** diff --git a/designer_base/src/com/fr/design/gui/controlpane/JListControlPane.java b/designer_base/src/com/fr/design/gui/controlpane/JListControlPane.java index 83cf7a50d3..bccff1ad78 100644 --- a/designer_base/src/com/fr/design/gui/controlpane/JListControlPane.java +++ b/designer_base/src/com/fr/design/gui/controlpane/JListControlPane.java @@ -451,7 +451,7 @@ public abstract class JListControlPane extends JControlPane { this.setName(Inter.getLocText("FR-Action_Copy")); this.setMnemonic('C'); this.setSmallIcon(BaseUtils - .readIcon("/com/fr/base/images/cell/control/copy.png")); + .readIcon("/com/fr/design/images/m_edit/copy.png")); } @Override diff --git a/designer_base/src/com/fr/design/gui/controlpane/UIListControlPane.java b/designer_base/src/com/fr/design/gui/controlpane/UIListControlPane.java index f1cd5f8740..c5e12fa69c 100644 --- a/designer_base/src/com/fr/design/gui/controlpane/UIListControlPane.java +++ b/designer_base/src/com/fr/design/gui/controlpane/UIListControlPane.java @@ -601,7 +601,7 @@ public abstract class UIListControlPane extends UIControlPane { this.setName(Inter.getLocText("FR-Action_Copy")); this.setMnemonic('C'); this.setSmallIcon(BaseUtils - .readIcon("/com/fr/base/images/cell/control/copy.png")); + .readIcon("/com/fr/design/images/m_edit/copy.png")); } @Override diff --git a/designer_base/src/com/fr/design/gui/core/WidgetOption.java b/designer_base/src/com/fr/design/gui/core/WidgetOption.java index e6326aa252..c7cff45afa 100644 --- a/designer_base/src/com/fr/design/gui/core/WidgetOption.java +++ b/designer_base/src/com/fr/design/gui/core/WidgetOption.java @@ -127,27 +127,27 @@ public abstract class WidgetOption implements Serializable { } public static final WidgetOption DATEEDITOR = WidgetOptionFactory.createByWidgetClass(Inter.getLocText(new String[]{"Date", "Widget"}), - BaseUtils.readIcon("/com/fr/web/images/form/resources/date_16.png"), + BaseUtils.readIcon("/com/fr/design/images/buttonicon/widget/date_16.png"), DateEditor.class); public static final WidgetOption TREE = WidgetOptionFactory.createByWidgetClass(Inter.getLocText("Form-View_Tree"), - BaseUtils.readIcon("/com/fr/web/images/form/resources/tree_16.png"), TreeEditor.class); + BaseUtils.readIcon("/com/fr/design/images/buttonicon/widget/tree_16.png"), TreeEditor.class); - public static final WidgetOption TREECOMBOBOX = WidgetOptionFactory.createByWidgetClass(Inter.getLocText("FR-Designer_Tree-ComboBox"), BaseUtils.readIcon("/com/fr/web/images/form/resources/comboboxtree.png"), + public static final WidgetOption TREECOMBOBOX = WidgetOptionFactory.createByWidgetClass(Inter.getLocText("FR-Designer_Tree-ComboBox"), BaseUtils.readIcon("/com/fr/design/images/buttonicon/widget/comboboxtree.png"), TreeComboBoxEditor.class); public static final WidgetOption CHECKBOXGROUP = WidgetOptionFactory.createByWidgetClass( - Inter.getLocText(new String[]{"Form-CheckBoxGroup", "Widget"}), BaseUtils.readIcon("/com/fr/web/images/form/resources/checkbox_group_16.png"), CheckBoxGroup.class); + Inter.getLocText(new String[]{"Form-CheckBoxGroup", "Widget"}), BaseUtils.readIcon("/com/fr/design/images/buttonicon/widget/checkbox_group_16.png"), CheckBoxGroup.class); public static final WidgetOption RADIOGROUP = WidgetOptionFactory.createByWidgetClass( - Inter.getLocText(new String[]{"Form-RadioGroup", "Widget"}), BaseUtils.readIcon("/com/fr/web/images/form/resources/button_group_16.png"), + Inter.getLocText(new String[]{"Form-RadioGroup", "Widget"}), BaseUtils.readIcon("/com/fr/design/images/buttonicon/widget/button_group_16.png"), RadioGroup.class); public static final WidgetOption NUMBEREDITOR = WidgetOptionFactory.createByWidgetClass( - Inter.getLocText(new String[]{"Number", "Widget"}), BaseUtils.readIcon("/com/fr/web/images/form/resources/number_field_16.png"), NumberEditor.class); + Inter.getLocText(new String[]{"Number", "Widget"}), BaseUtils.readIcon("/com/fr/design/images/buttonicon/widget/number_field_16.png"), NumberEditor.class); public static final WidgetOption LABEL = WidgetOptionFactory.createByWidgetClass( - Inter.getLocText(new String[]{"Label", "Widget"}), BaseUtils.readIcon("/com/fr/web/images/form/resources/label_16.png"), + Inter.getLocText(new String[]{"Label", "Widget"}), BaseUtils.readIcon("/com/fr/design/images/buttonicon/widget/label_16.png"), Label.class); public static final WidgetOption BUTTON = WidgetOptionFactory.createByWidgetClass( @@ -155,23 +155,23 @@ public abstract class WidgetOption implements Serializable { Button.class); public static final WidgetOption FREEBUTTON = WidgetOptionFactory.createByWidgetClass( - Inter.getLocText(new String[]{"Form-Button", "Widget"}), BaseUtils.readIcon("/com/fr/web/images/form/resources/button_16.png"), + Inter.getLocText(new String[]{"Form-Button", "Widget"}), BaseUtils.readIcon("/com/fr/design/images/buttonicon/widget/button_16.png"), FreeButton.class); public static final WidgetOption MULTI_FILEEDITOR = WidgetOptionFactory.createByWidgetClass( - Inter.getLocText(new String[]{"File", "Widget"}), BaseUtils.readIcon("/com/fr/web/images/form/resources/files_up.png"), + Inter.getLocText(new String[]{"File", "Widget"}), BaseUtils.readIcon("/com/fr/design/images/buttonicon/widget/files_up.png"), MultiFileEditor.class); public static final WidgetOption COMBOBOX = WidgetOptionFactory.createByWidgetClass( - Inter.getLocText(new String[]{"Form-ComboBox", "Widget"}), BaseUtils.readIcon("/com/fr/web/images/form/resources/combo_box_16.png"), + Inter.getLocText(new String[]{"Form-ComboBox", "Widget"}), BaseUtils.readIcon("/com/fr/design/images/buttonicon/widget/combo_box_16.png"), ComboBox.class); public static final WidgetOption COMBOCHECKBOX = WidgetOptionFactory.createByWidgetClass( - Inter.getLocText(new String[]{"Form-ComboCheckBox", "Widget"}), BaseUtils.readIcon("/com/fr/web/images/form/resources/combo_check_16.png"), + Inter.getLocText(new String[]{"Form-ComboCheckBox", "Widget"}), BaseUtils.readIcon("/com/fr/design/images/buttonicon/widget/combo_check_16.png"), ComboCheckBox.class); public static final WidgetOption CHECKBOX = WidgetOptionFactory.createByWidgetClass( - Inter.getLocText(new String[]{"Form-CheckBox", "Widget"}), BaseUtils.readIcon("/com/fr/web/images/form/resources/check_box_16.png"), + Inter.getLocText(new String[]{"Form-CheckBox", "Widget"}), BaseUtils.readIcon("/com/fr/design/images/buttonicon/widget/check_box_16.png"), CheckBox.class); public static final WidgetOption LIST = WidgetOptionFactory.createByWidgetClass( @@ -183,16 +183,16 @@ public abstract class WidgetOption implements Serializable { TableTree.class); public static final WidgetOption TEXTEDITOR = WidgetOptionFactory.createByWidgetClass(Inter.getLocText(new String[]{"Text", "Widget"}) - , BaseUtils.readIcon("/com/fr/web/images/form/resources/text_field_16.png"), + , BaseUtils.readIcon("/com/fr/design/images/buttonicon/widget/text_field_16.png"), TextEditor.class); public static final WidgetOption TEXTAREA = WidgetOptionFactory.createByWidgetClass( - Inter.getLocText(new String[]{"Form-TextArea", "Widget"}), BaseUtils.readIcon("/com/fr/web/images/form/resources/text_area_16.png"), + Inter.getLocText(new String[]{"Form-TextArea", "Widget"}), BaseUtils.readIcon("/com/fr/design/images/buttonicon/widget/text_area_16.png"), TextArea.class); public static final WidgetOption PASSWORD = WidgetOptionFactory.createByWidgetClass( Inter.getLocText(new String[]{"Form-Password", "Widget"}), - BaseUtils.readIcon("/com/fr/web/images/form/resources/password_field_16.png"), Password.class); + BaseUtils.readIcon("/com/fr/design/images/buttonicon/widget/password_field_16.png"), Password.class); public static final WidgetOption IFRAMEDITOR = WidgetOptionFactory.createByWidgetClass(Inter.getLocText("FR-Designer_Form-Iframe"), BaseUtils.readIcon("/com/fr/web/images/form/resources/iframe_16.png"), IframeEditor.class); diff --git a/designer_base/src/com/fr/design/images/buttonicon/card_layout_16.png b/designer_base/src/com/fr/design/images/buttonicon/card_layout_16.png new file mode 100644 index 0000000000..1b9a5df8fa Binary files /dev/null and b/designer_base/src/com/fr/design/images/buttonicon/card_layout_16.png differ diff --git a/designer_base/src/com/fr/design/images/buttonicon/layout_absolute_new.png b/designer_base/src/com/fr/design/images/buttonicon/layout_absolute_new.png new file mode 100644 index 0000000000..66ea68149c Binary files /dev/null and b/designer_base/src/com/fr/design/images/buttonicon/layout_absolute_new.png differ diff --git a/designer_base/src/com/fr/design/images/buttonicon/list_pressed.png b/designer_base/src/com/fr/design/images/buttonicon/list_pressed.png index de264df1ed..9914c24d3f 100644 Binary files a/designer_base/src/com/fr/design/images/buttonicon/list_pressed.png and b/designer_base/src/com/fr/design/images/buttonicon/list_pressed.png differ diff --git a/designer_base/src/com/fr/design/images/buttonicon/new_form3.png b/designer_base/src/com/fr/design/images/buttonicon/new_form3.png new file mode 100644 index 0000000000..cbf9e82c6d Binary files /dev/null and b/designer_base/src/com/fr/design/images/buttonicon/new_form3.png differ diff --git a/designer_base/src/com/fr/design/images/buttonicon/report_16.png b/designer_base/src/com/fr/design/images/buttonicon/report_16.png new file mode 100644 index 0000000000..4a2b136cd7 Binary files /dev/null and b/designer_base/src/com/fr/design/images/buttonicon/report_16.png differ diff --git a/designer_base/src/com/fr/design/images/buttonicon/widget/button_16.png b/designer_base/src/com/fr/design/images/buttonicon/widget/button_16.png new file mode 100644 index 0000000000..4c293a7001 Binary files /dev/null and b/designer_base/src/com/fr/design/images/buttonicon/widget/button_16.png differ diff --git a/designer_base/src/com/fr/design/images/buttonicon/widget/button_group_16.png b/designer_base/src/com/fr/design/images/buttonicon/widget/button_group_16.png new file mode 100644 index 0000000000..1f2f8d7158 Binary files /dev/null and b/designer_base/src/com/fr/design/images/buttonicon/widget/button_group_16.png differ diff --git a/designer_base/src/com/fr/design/images/buttonicon/widget/check_box_16.png b/designer_base/src/com/fr/design/images/buttonicon/widget/check_box_16.png new file mode 100644 index 0000000000..1c505d3a5f Binary files /dev/null and b/designer_base/src/com/fr/design/images/buttonicon/widget/check_box_16.png differ diff --git a/designer_base/src/com/fr/design/images/buttonicon/widget/checkbox_group_16.png b/designer_base/src/com/fr/design/images/buttonicon/widget/checkbox_group_16.png new file mode 100644 index 0000000000..17cd1fcde6 Binary files /dev/null and b/designer_base/src/com/fr/design/images/buttonicon/widget/checkbox_group_16.png differ diff --git a/designer_base/src/com/fr/design/images/buttonicon/widget/combo_box_16.png b/designer_base/src/com/fr/design/images/buttonicon/widget/combo_box_16.png new file mode 100644 index 0000000000..4554959ff3 Binary files /dev/null and b/designer_base/src/com/fr/design/images/buttonicon/widget/combo_box_16.png differ diff --git a/designer_base/src/com/fr/design/images/buttonicon/widget/combo_check_16.png b/designer_base/src/com/fr/design/images/buttonicon/widget/combo_check_16.png new file mode 100644 index 0000000000..71380190ab Binary files /dev/null and b/designer_base/src/com/fr/design/images/buttonicon/widget/combo_check_16.png differ diff --git a/designer_base/src/com/fr/design/images/buttonicon/widget/comboboxtree.png b/designer_base/src/com/fr/design/images/buttonicon/widget/comboboxtree.png new file mode 100644 index 0000000000..8d0db5c314 Binary files /dev/null and b/designer_base/src/com/fr/design/images/buttonicon/widget/comboboxtree.png differ diff --git a/designer_base/src/com/fr/design/images/buttonicon/widget/date_16.png b/designer_base/src/com/fr/design/images/buttonicon/widget/date_16.png new file mode 100644 index 0000000000..1603e56980 Binary files /dev/null and b/designer_base/src/com/fr/design/images/buttonicon/widget/date_16.png differ diff --git a/designer_base/src/com/fr/design/images/buttonicon/widget/files_up.png b/designer_base/src/com/fr/design/images/buttonicon/widget/files_up.png new file mode 100644 index 0000000000..6b5ee56b9c Binary files /dev/null and b/designer_base/src/com/fr/design/images/buttonicon/widget/files_up.png differ diff --git a/designer_base/src/com/fr/design/images/buttonicon/widget/label_16.png b/designer_base/src/com/fr/design/images/buttonicon/widget/label_16.png new file mode 100644 index 0000000000..023406cd8c Binary files /dev/null and b/designer_base/src/com/fr/design/images/buttonicon/widget/label_16.png differ diff --git a/designer_base/src/com/fr/design/images/buttonicon/widget/number_field_16.png b/designer_base/src/com/fr/design/images/buttonicon/widget/number_field_16.png new file mode 100644 index 0000000000..19b688df43 Binary files /dev/null and b/designer_base/src/com/fr/design/images/buttonicon/widget/number_field_16.png differ diff --git a/designer_base/src/com/fr/design/images/buttonicon/widget/password_field_16.png b/designer_base/src/com/fr/design/images/buttonicon/widget/password_field_16.png new file mode 100644 index 0000000000..e6bc297723 Binary files /dev/null and b/designer_base/src/com/fr/design/images/buttonicon/widget/password_field_16.png differ diff --git a/designer_base/src/com/fr/design/images/buttonicon/widget/text_area_16.png b/designer_base/src/com/fr/design/images/buttonicon/widget/text_area_16.png new file mode 100644 index 0000000000..4b57472dc2 Binary files /dev/null and b/designer_base/src/com/fr/design/images/buttonicon/widget/text_area_16.png differ diff --git a/designer_base/src/com/fr/design/images/buttonicon/widget/text_field_16.png b/designer_base/src/com/fr/design/images/buttonicon/widget/text_field_16.png new file mode 100644 index 0000000000..553a908460 Binary files /dev/null and b/designer_base/src/com/fr/design/images/buttonicon/widget/text_field_16.png differ diff --git a/designer_base/src/com/fr/design/images/buttonicon/widget/tree_16.png b/designer_base/src/com/fr/design/images/buttonicon/widget/tree_16.png new file mode 100644 index 0000000000..5e442d2d82 Binary files /dev/null and b/designer_base/src/com/fr/design/images/buttonicon/widget/tree_16.png differ diff --git a/designer_base/src/com/fr/design/images/control/sortAsc.png b/designer_base/src/com/fr/design/images/control/sortAsc.png index a5be47df3b..9fcdee421e 100644 Binary files a/designer_base/src/com/fr/design/images/control/sortAsc.png and b/designer_base/src/com/fr/design/images/control/sortAsc.png differ diff --git a/designer_base/src/com/fr/design/images/data/source/dataDictionary.png b/designer_base/src/com/fr/design/images/data/source/dataDictionary.png index 2f0fc8c870..516d368b27 100644 Binary files a/designer_base/src/com/fr/design/images/data/source/dataDictionary.png and b/designer_base/src/com/fr/design/images/data/source/dataDictionary.png differ diff --git a/designer_base/src/com/fr/design/images/expand/cellAttr.gif b/designer_base/src/com/fr/design/images/expand/cellAttr.gif index ce34c2b300..1211f79850 100644 Binary files a/designer_base/src/com/fr/design/images/expand/cellAttr.gif and b/designer_base/src/com/fr/design/images/expand/cellAttr.gif differ diff --git a/designer_base/src/com/fr/design/images/gui/color/foreground.png b/designer_base/src/com/fr/design/images/gui/color/foreground.png index 1803c11179..faac2e1ace 100644 Binary files a/designer_base/src/com/fr/design/images/gui/color/foreground.png and b/designer_base/src/com/fr/design/images/gui/color/foreground.png differ diff --git a/designer_base/src/com/fr/design/images/gui/color/foreground2.png b/designer_base/src/com/fr/design/images/gui/color/foreground2.png new file mode 100644 index 0000000000..1803c11179 Binary files /dev/null and b/designer_base/src/com/fr/design/images/gui/color/foreground2.png differ diff --git a/designer_base/src/com/fr/design/images/lookandfeel/FileIcon.png b/designer_base/src/com/fr/design/images/lookandfeel/FileIcon.png index 7b797d4ee6..fcaca10b7a 100644 Binary files a/designer_base/src/com/fr/design/images/lookandfeel/FileIcon.png and b/designer_base/src/com/fr/design/images/lookandfeel/FileIcon.png differ diff --git a/designer_base/src/com/fr/design/images/m_edit/redo.png b/designer_base/src/com/fr/design/images/m_edit/redo.png index d9225f68b3..f6b77b4f47 100644 Binary files a/designer_base/src/com/fr/design/images/m_edit/redo.png and b/designer_base/src/com/fr/design/images/m_edit/redo.png differ diff --git a/designer_base/src/com/fr/design/images/m_edit/undo.png b/designer_base/src/com/fr/design/images/m_edit/undo.png index 2276c3384b..f86a17441d 100644 Binary files a/designer_base/src/com/fr/design/images/m_edit/undo.png and b/designer_base/src/com/fr/design/images/m_edit/undo.png differ diff --git a/designer_base/src/com/fr/design/images/m_file/excel.png b/designer_base/src/com/fr/design/images/m_file/excel.png index c327467639..7e04e70730 100644 Binary files a/designer_base/src/com/fr/design/images/m_file/excel.png and b/designer_base/src/com/fr/design/images/m_file/excel.png differ diff --git a/designer_base/src/com/fr/design/images/m_file/export.png b/designer_base/src/com/fr/design/images/m_file/export.png index f0908eae2a..c56ee44199 100644 Binary files a/designer_base/src/com/fr/design/images/m_file/export.png and b/designer_base/src/com/fr/design/images/m_file/export.png differ diff --git a/designer_base/src/com/fr/design/images/m_file/pageSetup.png b/designer_base/src/com/fr/design/images/m_file/pageSetup.png index 7e9788f89b..06fa9dd287 100644 Binary files a/designer_base/src/com/fr/design/images/m_file/pageSetup.png and b/designer_base/src/com/fr/design/images/m_file/pageSetup.png differ diff --git a/designer_base/src/com/fr/design/images/m_file/save.png b/designer_base/src/com/fr/design/images/m_file/save.png index 92c3333755..1db40d0b40 100644 Binary files a/designer_base/src/com/fr/design/images/m_file/save.png and b/designer_base/src/com/fr/design/images/m_file/save.png differ diff --git a/designer_base/src/com/fr/design/images/m_format/cellAttr.png b/designer_base/src/com/fr/design/images/m_format/cellAttr.png index 9243c13435..5cd5db7165 100644 Binary files a/designer_base/src/com/fr/design/images/m_format/cellAttr.png and b/designer_base/src/com/fr/design/images/m_format/cellAttr.png differ diff --git a/designer_base/src/com/fr/design/images/m_format/highlight.png b/designer_base/src/com/fr/design/images/m_format/highlight.png index 7491cb9c23..14ff765e43 100644 Binary files a/designer_base/src/com/fr/design/images/m_format/highlight.png and b/designer_base/src/com/fr/design/images/m_format/highlight.png differ diff --git a/designer_base/src/com/fr/design/images/m_insert/chart.png b/designer_base/src/com/fr/design/images/m_insert/chart.png index 504ca94847..c6de0fe5e0 100644 Binary files a/designer_base/src/com/fr/design/images/m_insert/chart.png and b/designer_base/src/com/fr/design/images/m_insert/chart.png differ diff --git a/designer_base/src/com/fr/design/images/m_insert/float.png b/designer_base/src/com/fr/design/images/m_insert/float.png index 48d5ee59c7..a84c636d34 100644 Binary files a/designer_base/src/com/fr/design/images/m_insert/float.png and b/designer_base/src/com/fr/design/images/m_insert/float.png differ diff --git a/designer_base/src/com/fr/design/images/m_insert/floatPop.png b/designer_base/src/com/fr/design/images/m_insert/floatPop.png index 91600bd0ff..46dca4f871 100644 Binary files a/designer_base/src/com/fr/design/images/m_insert/floatPop.png and b/designer_base/src/com/fr/design/images/m_insert/floatPop.png differ diff --git a/designer_base/src/com/fr/design/images/m_insert/hyperLink.png b/designer_base/src/com/fr/design/images/m_insert/hyperLink.png index a23db4f76a..b81a666d5a 100644 Binary files a/designer_base/src/com/fr/design/images/m_insert/hyperLink.png and b/designer_base/src/com/fr/design/images/m_insert/hyperLink.png differ diff --git a/designer_base/src/com/fr/design/images/m_insert/insertRow.png b/designer_base/src/com/fr/design/images/m_insert/insertRow.png index 9b681aa70b..680879833c 100644 Binary files a/designer_base/src/com/fr/design/images/m_insert/insertRow.png and b/designer_base/src/com/fr/design/images/m_insert/insertRow.png differ diff --git a/designer_base/src/com/fr/design/images/m_insert/subReport.png b/designer_base/src/com/fr/design/images/m_insert/subReport.png index 6b999b0ff0..89d3df9ca0 100644 Binary files a/designer_base/src/com/fr/design/images/m_insert/subReport.png and b/designer_base/src/com/fr/design/images/m_insert/subReport.png differ diff --git a/designer_base/src/com/fr/design/images/m_report/allow_authority_edit.png b/designer_base/src/com/fr/design/images/m_report/allow_authority_edit.png index 86932458f8..b6053b72cf 100644 Binary files a/designer_base/src/com/fr/design/images/m_report/allow_authority_edit.png and b/designer_base/src/com/fr/design/images/m_report/allow_authority_edit.png differ diff --git a/designer_base/src/com/fr/design/images/m_report/exportAttr.png b/designer_base/src/com/fr/design/images/m_report/exportAttr.png index f0908eae2a..c56ee44199 100644 Binary files a/designer_base/src/com/fr/design/images/m_report/exportAttr.png and b/designer_base/src/com/fr/design/images/m_report/exportAttr.png differ diff --git a/designer_base/src/com/fr/design/images/m_report/p.png b/designer_base/src/com/fr/design/images/m_report/p.png index 1256e9fd1d..d944f88d20 100644 Binary files a/designer_base/src/com/fr/design/images/m_report/p.png and b/designer_base/src/com/fr/design/images/m_report/p.png differ diff --git a/designer_base/src/com/fr/design/images/m_report/reportEngineAttr.png b/designer_base/src/com/fr/design/images/m_report/reportEngineAttr.png index 4ffcaba050..7d1389bfd7 100644 Binary files a/designer_base/src/com/fr/design/images/m_report/reportEngineAttr.png and b/designer_base/src/com/fr/design/images/m_report/reportEngineAttr.png differ diff --git a/designer_base/src/com/fr/design/images/m_web/datasource.png b/designer_base/src/com/fr/design/images/m_web/datasource.png index 4b8bd89ab4..2ff090e33d 100644 Binary files a/designer_base/src/com/fr/design/images/m_web/datasource.png and b/designer_base/src/com/fr/design/images/m_web/datasource.png differ diff --git a/designer_base/src/com/fr/design/images/m_web/edit.png b/designer_base/src/com/fr/design/images/m_web/edit.png index a6b49911d9..8af26fa1e8 100644 Binary files a/designer_base/src/com/fr/design/images/m_web/edit.png and b/designer_base/src/com/fr/design/images/m_web/edit.png differ diff --git a/designer_base/src/com/fr/design/images/m_web/function.png b/designer_base/src/com/fr/design/images/m_web/function.png index 5b85a0c7a5..5f8119e09d 100644 Binary files a/designer_base/src/com/fr/design/images/m_web/function.png and b/designer_base/src/com/fr/design/images/m_web/function.png differ diff --git a/designer_base/src/com/fr/design/images/m_web/style.png b/designer_base/src/com/fr/design/images/m_web/style.png index 2f42e1e4ca..e000c81b7c 100644 Binary files a/designer_base/src/com/fr/design/images/m_web/style.png and b/designer_base/src/com/fr/design/images/m_web/style.png differ diff --git a/designer_base/src/com/fr/design/images/server/platform_16_16.png b/designer_base/src/com/fr/design/images/server/platform_16_16.png new file mode 100644 index 0000000000..3c3c808339 Binary files /dev/null and b/designer_base/src/com/fr/design/images/server/platform_16_16.png differ diff --git a/designer_form/src/com/fr/design/form/images/delete icon.png b/designer_form/src/com/fr/design/form/images/delete icon.png index 398c5db5c5..6fb2baac51 100644 Binary files a/designer_form/src/com/fr/design/form/images/delete icon.png and b/designer_form/src/com/fr/design/form/images/delete icon.png differ diff --git a/designer_form/src/com/fr/design/form/images/download icon.png b/designer_form/src/com/fr/design/form/images/download icon.png index 68ff09ac4f..b4cf81713f 100644 Binary files a/designer_form/src/com/fr/design/form/images/download icon.png and b/designer_form/src/com/fr/design/form/images/download icon.png differ diff --git a/designer_form/src/com/fr/design/form/images/install icon.png b/designer_form/src/com/fr/design/form/images/install icon.png index 37877a62c3..5cd5db7165 100644 Binary files a/designer_form/src/com/fr/design/form/images/install icon.png and b/designer_form/src/com/fr/design/form/images/install icon.png differ diff --git a/designer_form/src/com/fr/design/form/images/refresh.png b/designer_form/src/com/fr/design/form/images/refresh.png index d0efaf0482..3a5ef7368f 100644 Binary files a/designer_form/src/com/fr/design/form/images/refresh.png and b/designer_form/src/com/fr/design/form/images/refresh.png differ diff --git a/designer_form/src/com/fr/design/gui/core/FormWidgetOption.java b/designer_form/src/com/fr/design/gui/core/FormWidgetOption.java index b3fa73a26d..1569700601 100644 --- a/designer_form/src/com/fr/design/gui/core/FormWidgetOption.java +++ b/designer_form/src/com/fr/design/gui/core/FormWidgetOption.java @@ -1 +1,107 @@ -package com.fr.design.gui.core; import javax.swing.Icon; import com.fr.base.BaseUtils; import com.fr.form.ui.ElementCaseEditor; import com.fr.form.ui.Widget; import com.fr.form.ui.container.WAbsoluteLayout; import com.fr.form.ui.container.WBorderLayout; import com.fr.form.ui.container.WCardLayout; import com.fr.form.ui.container.WFitLayout; import com.fr.form.ui.container.WHorizontalBoxLayout; import com.fr.form.ui.container.WParameterLayout; import com.fr.form.ui.container.WVerticalBoxLayout; import com.fr.general.Inter; /** * Author : Shockway * Date: 13-6-17 * Time: 上午10:40 */ public class FormWidgetOption extends WidgetOption { /** * 返回名字 * @return 名字 */ @Override public String optionName() { return null; } /** * 返回图标 * @return 图标 */ @Override public Icon optionIcon() { return null; } /** * 组件类 * @return 类 */ @Override public Class widgetClass() { return null; } /** * 返回组件 * @return 控件 */ @Override public Widget createWidget() { return null; } /* * 表单容器 */ public static WidgetOption[] getFormContainerInstance() { return new WidgetOption[] { ABSOLUTELAYOUTCONTAINER, BORDERLAYOUTCONTAINER, HORIZONTALBOXLAYOUTCONTAINER, VERTICALBOXLAYOUTCONTAINER, CARDLAYOUTCONTAINER, FITLAYOUTCONTAINER }; } /** * 表单工具栏上的布局 * @return 控件 */ public static WidgetOption[] getFormLayoutInstance() { return new WidgetOption[] {CARDLAYOUTCONTAINER, ABSOLUTELAYOUTCONTAINER}; } public static final WidgetOption ABSOLUTELAYOUTCONTAINER = WidgetOptionFactory.createByWidgetClass(Inter .getLocText("FR-Designer_Layout_Block_Absolute"), BaseUtils.readIcon("/com/fr/web/images/form/resources/layout_absolute_new.png"), WAbsoluteLayout.class); public static final WidgetOption BORDERLAYOUTCONTAINER = WidgetOptionFactory.createByWidgetClass(Inter .getLocText("FR-Designer_BorderLayout"), BaseUtils.readIcon("/com/fr/web/images/form/resources/layout_border.png"), WBorderLayout.class); public static final WidgetOption CARDLAYOUTCONTAINER = WidgetOptionFactory.createByWidgetClass(Inter .getLocText("FR-Designer_Layout_Block_Tab"), BaseUtils.readIcon("/com/fr/web/images/form/resources/card_layout_16.png"), WCardLayout.class); public static final WidgetOption HORIZONTALBOXLAYOUTCONTAINER = WidgetOptionFactory.createByWidgetClass(Inter .getLocText("FR-Designer_Layout-HBox"), BaseUtils.readIcon("/com/fr/web/images/form/resources/boxlayout_h_16.png"), WHorizontalBoxLayout.class); public static final WidgetOption VERTICALBOXLAYOUTCONTAINER = WidgetOptionFactory.createByWidgetClass(Inter .getLocText("FR-Designer_VerticalBoxLayout"), BaseUtils.readIcon("/com/fr/web/images/form/resources/boxlayout_v_16.png"), WVerticalBoxLayout.class); public static final WidgetOption FITLAYOUTCONTAINER = WidgetOptionFactory.createByWidgetClass(Inter.getLocText("FR-Designer-Layout_Adaptive_Layout"), BaseUtils.readIcon("/com/fr/web/images/form/resources/boxlayout_v_16.png"), WFitLayout.class); public static final WidgetOption PARAMETERCONTAINER = WidgetOptionFactory.createByWidgetClass(Inter .getLocText("FR-Designer_Para-Body"), BaseUtils.readIcon("/com/fr/web/images/form/resources/layout_parameter.png"), WParameterLayout.class); public static final WidgetOption ELEMENTCASE = WidgetOptionFactory.createByWidgetClass(Inter .getLocText("FR-Designer_Form-Report"), BaseUtils.readIcon("/com/fr/web/images/form/resources/report_16.png"), ElementCaseEditor.class); } \ No newline at end of file +package com.fr.design.gui.core; + +import javax.swing.Icon; + +import com.fr.base.BaseUtils; +import com.fr.form.ui.ElementCaseEditor; +import com.fr.form.ui.Widget; +import com.fr.form.ui.container.WAbsoluteLayout; +import com.fr.form.ui.container.WBorderLayout; +import com.fr.form.ui.container.WCardLayout; +import com.fr.form.ui.container.WFitLayout; +import com.fr.form.ui.container.WHorizontalBoxLayout; +import com.fr.form.ui.container.WParameterLayout; +import com.fr.form.ui.container.WVerticalBoxLayout; +import com.fr.general.Inter; + +/** + * Author : Shockway + * Date: 13-6-17 + * Time: 上午10:40 + */ +public class FormWidgetOption extends WidgetOption { + + /** + * 返回名字 + * @return 名字 + */ + @Override + public String optionName() { + return null; + } + + /** + * 返回图标 + * @return 图标 + */ + @Override + public Icon optionIcon() { + return null; + } + + /** + * 组件类 + * @return 类 + */ + @Override + public Class widgetClass() { + return null; + } + + /** + * 返回组件 + * @return 控件 + */ + @Override + public Widget createWidget() { + return null; + } + + /* + * 表单容器 + */ + public static WidgetOption[] getFormContainerInstance() { + return new WidgetOption[] { ABSOLUTELAYOUTCONTAINER, BORDERLAYOUTCONTAINER, HORIZONTALBOXLAYOUTCONTAINER, VERTICALBOXLAYOUTCONTAINER, + CARDLAYOUTCONTAINER, FITLAYOUTCONTAINER }; + } + + /** + * 表单工具栏上的布局 + * @return 控件 + */ + public static WidgetOption[] getFormLayoutInstance() { + return new WidgetOption[] {CARDLAYOUTCONTAINER, ABSOLUTELAYOUTCONTAINER}; + } + + public static final WidgetOption ABSOLUTELAYOUTCONTAINER = WidgetOptionFactory.createByWidgetClass(Inter + .getLocText("FR-Designer_Layout_Block_Absolute"), BaseUtils.readIcon("/com/fr/design/images/buttonicon/layout_absolute_new.png"), + WAbsoluteLayout.class); + + public static final WidgetOption BORDERLAYOUTCONTAINER = WidgetOptionFactory.createByWidgetClass(Inter + .getLocText("FR-Designer_BorderLayout"), BaseUtils.readIcon("/com/fr/web/images/form/resources/layout_border.png"), + WBorderLayout.class); + + public static final WidgetOption CARDLAYOUTCONTAINER = WidgetOptionFactory.createByWidgetClass(Inter + .getLocText("FR-Designer_Layout_Block_Tab"), BaseUtils.readIcon("/com/fr/design/images/buttonicon/card_layout_16.png"), + WCardLayout.class); + + public static final WidgetOption HORIZONTALBOXLAYOUTCONTAINER = WidgetOptionFactory.createByWidgetClass(Inter + .getLocText("FR-Designer_Layout-HBox"), BaseUtils.readIcon("/com/fr/web/images/form/resources/boxlayout_h_16.png"), + WHorizontalBoxLayout.class); + + public static final WidgetOption VERTICALBOXLAYOUTCONTAINER = WidgetOptionFactory.createByWidgetClass(Inter + .getLocText("FR-Designer_VerticalBoxLayout"), BaseUtils.readIcon("/com/fr/web/images/form/resources/boxlayout_v_16.png"), + WVerticalBoxLayout.class); + + public static final WidgetOption FITLAYOUTCONTAINER = WidgetOptionFactory.createByWidgetClass(Inter.getLocText("FR-Designer-Layout_Adaptive_Layout"), + BaseUtils.readIcon("/com/fr/web/images/form/resources/boxlayout_v_16.png"), + WFitLayout.class); + + public static final WidgetOption PARAMETERCONTAINER = WidgetOptionFactory.createByWidgetClass(Inter + .getLocText("FR-Designer_Para-Body"), BaseUtils.readIcon("/com/fr/web/images/form/resources/layout_parameter.png"), + WParameterLayout.class); + + public static final WidgetOption ELEMENTCASE = WidgetOptionFactory.createByWidgetClass(Inter + .getLocText("FR-Designer_Form-Report"), BaseUtils.readIcon("/com/fr/design/images/buttonicon/report_16.png"), + ElementCaseEditor.class); +} \ No newline at end of file diff --git a/designer_form/src/com/fr/design/mainframe/actions/NewFormAction.java b/designer_form/src/com/fr/design/mainframe/actions/NewFormAction.java index 78b17d4b3d..dfcc8805c2 100644 --- a/designer_form/src/com/fr/design/mainframe/actions/NewFormAction.java +++ b/designer_form/src/com/fr/design/mainframe/actions/NewFormAction.java @@ -22,7 +22,7 @@ public class NewFormAction extends UpdateAction { this.setMenuKeySet(NEW_FORM); this.setName(getMenuKeySet().getMenuKeySetName()); this.setMnemonic(getMenuKeySet().getMnemonic()); - this.setSmallIcon(BaseUtils.readIcon("/com/fr/web/images/form/new_form3.png")); + this.setSmallIcon(BaseUtils.readIcon("/com/fr/design/images/buttonicon/new_form3.png")); this.setAccelerator(getMenuKeySet().getKeyStroke()); }