Xcos: update icons for alignement 99/1799/4
Clément DAVID [Mon, 6 Sep 2010 11:51:02 +0000 (13:51 +0200)]
use the 16x16 version of all icons
use http://wiki.inkscape.org/wiki/index.php/Themable_icons and http://tango.freedesktop.org/ArtLibreSet icons

Bug: #7822
Change-Id: I66157e53b64eb717db3221cbf27f98d8b7dd54c5

54 files changed:
scilab/CHANGES_5.3.X
scilab/modules/graph/src/java/org/scilab/modules/graph/actions/SelectAllAction.java
scilab/modules/graph/src/java/org/scilab/modules/graph/actions/ZoomInAction.java
scilab/modules/graph/src/java/org/scilab/modules/graph/actions/ZoomOutAction.java
scilab/modules/graph/src/java/org/scilab/modules/graph/actions/base/DefaultAction.java
scilab/modules/gui/Makefile.am
scilab/modules/gui/Makefile.in
scilab/modules/gui/images/icons/list-add.png [deleted file]
scilab/modules/gui/images/icons/list-remove.png [deleted file]
scilab/modules/gui/images/icons/transform-rotate.png [new file with mode: 0644]
scilab/modules/gui/images/icons/zoom-fit-drawing.png [new file with mode: 0644]
scilab/modules/gui/images/icons/zoom-in.png [new file with mode: 0644]
scilab/modules/gui/images/icons/zoom-out.png [new file with mode: 0644]
scilab/modules/xcos/Makefile.am
scilab/modules/xcos/Makefile.in
scilab/modules/xcos/images/icons/align-horizontal-center.png [new file with mode: 0644]
scilab/modules/xcos/images/icons/align-horizontal-left.png [new file with mode: 0644]
scilab/modules/xcos/images/icons/align-horizontal-right.png [new file with mode: 0644]
scilab/modules/xcos/images/icons/align-vertical-bottom.png [new file with mode: 0644]
scilab/modules/xcos/images/icons/align-vertical-center.png [new file with mode: 0644]
scilab/modules/xcos/images/icons/align-vertical-top.png [new file with mode: 0644]
scilab/modules/xcos/images/icons/color-fill.png [new file with mode: 0644]
scilab/modules/xcos/images/icons/draw-brush.png [new file with mode: 0644]
scilab/modules/xcos/images/icons/go-bottom.png [deleted file]
scilab/modules/xcos/images/icons/go-center.png [deleted file]
scilab/modules/xcos/images/icons/go-first.png [deleted file]
scilab/modules/xcos/images/icons/go-last.png [deleted file]
scilab/modules/xcos/images/icons/go-middle.png [deleted file]
scilab/modules/xcos/images/icons/go-top.png [deleted file]
scilab/modules/xcos/images/icons/object-group.png [new file with mode: 0644]
scilab/modules/xcos/images/icons/preferences-desktop.png [new file with mode: 0644]
scilab/modules/xcos/images/icons/select-by-color.png [new file with mode: 0644]
scilab/modules/xcos/images/icons/transform-flip.png [new file with mode: 0644]
scilab/modules/xcos/images/icons/transform-mirror.png [new file with mode: 0644]
scilab/modules/xcos/images/icons/view-fullscreen.png [deleted file]
scilab/modules/xcos/images/palettes/TEXT_f.png [deleted file]
scilab/modules/xcos/src/java/org/scilab/modules/xcos/actions/FitDiagramToViewAction.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/actions/NormalViewAction.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/actions/SetupAction.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/actions/BlockDocumentationAction.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/actions/BlockParametersAction.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/actions/BorderColorAction.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/actions/EditBlockFormatAction.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/actions/FilledColorAction.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/actions/FlipAction.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/actions/MirrorAction.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/actions/RegionToSuperblockAction.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/actions/RotateAction.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/actions/alignement/AlignBlockActionBottom.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/actions/alignement/AlignBlockActionCenter.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/actions/alignement/AlignBlockActionLeft.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/actions/alignement/AlignBlockActionMiddle.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/actions/alignement/AlignBlockActionRight.java
scilab/modules/xcos/src/java/org/scilab/modules/xcos/block/actions/alignement/AlignBlockActionTop.java

index 3c01a0c..abaae0b 100644 (file)
@@ -6,6 +6,8 @@ Xcos:
 
 * Include all the old-scicos palettes on the binary version.
 
+* bug 7822 fixed - Xcos menu bar was larger than the Scilab one.
+
 * bug 7922 fixed - The Automotive Suspension demo did not work.
 
 * bugs 7931, 7933, 7934 fixed - Some artifacts were visible on diagrams such as wrong links and block names.
index 9903cfa..6fed0d3 100644 (file)
@@ -29,7 +29,7 @@ public final class SelectAllAction extends OneBlockDependantAction {
        /** Name of the action */
        public static final String NAME = ScilabGraphMessages.SELECT_ALL;
        /** Icon name of the action */
-       public static final String SMALL_ICON = "";
+       public static final String SMALL_ICON = "edit-select-all.png";
        /** Mnemonic key of the action */
        public static final int MNEMONIC_KEY = KeyEvent.VK_A;
        /** Accelerator key for the action */
index 687e917..445b9a6 100644 (file)
@@ -36,7 +36,7 @@ public class ZoomInAction extends DefaultAction {
        /** Name of the action */
        public static final String NAME = ScilabGraphMessages.ZOOM_IN;
        /** Icon name of the action */
-       public static final String SMALL_ICON = "list-add.png";
+       public static final String SMALL_ICON = "zoom-in.png";
        /** Mnemonic key of the action */
        public static final int MNEMONIC_KEY = KeyEvent.VK_PLUS;
        /** Accelerator key for the action */
index eb8eb1a..0686d4b 100644 (file)
@@ -38,7 +38,7 @@ public class ZoomOutAction extends DefaultAction implements ActionListener {
        /** Name of the action */
        public static final String NAME = ScilabGraphMessages.ZOOM_OUT;
        /** Icon name of the action */
-       public static final String SMALL_ICON = "list-remove.png";
+       public static final String SMALL_ICON = "zoom-out.png";
        /** Mnemonic key of the action */
        public static final int MNEMONIC_KEY = KeyEvent.VK_MINUS;
        /** Accelerator key for the action */
index e72ab16..49c8bce 100644 (file)
@@ -99,8 +99,16 @@ public abstract class DefaultAction extends CallBack {
                        /*
                         * Getting icon from the registered icon path
                         */
-                       final String iconName = (String) getClass().getField("SMALL_ICON").get(null);
+                       String iconName = (String) getClass().getField("SMALL_ICON").get(null);
                        if (iconName != null && !iconName.isEmpty()) {
+                               // TODO: manage icons according to http://live.gnome.org/ThemableAppSpecificIcons
+                               
+                               // add default extension of no-one set
+                               if (iconName.lastIndexOf('.') == -1) {
+                                       iconName = iconName + ".png";
+                               }
+                               
+                               // get the existing icon path
                                for (String path : ICON_PATH) {
                                        if (new File(path + iconName).isFile()) {
                                                icon = path + iconName;
index 2afa0cd..1c2899f 100644 (file)
@@ -283,9 +283,12 @@ libscigui_la_sci_gateway_DATA = sci_gateway/gui_gateway.xml
 
 #### gui : icons files ####
 libscigui_la_iconsdir=$(mydatadir)/
-nobase_libscigui_la_icons_DATA = images/icons/aboutscilab.png \
+nobase_libscigui_la_icons_DATA = images/icons/32x32/apps/accessories-text-editor.png \
+images/icons/32x32/apps/utilities-system-monitor.png \
+images/icons/aboutscilab.png \
 images/icons/accessories-text-editor.png \
 images/icons/applications-system.png \
+images/icons/check-icon.png \
 images/icons/close-tab.png \
 images/icons/datatips.png \
 images/icons/document-new.png \
@@ -306,9 +309,8 @@ images/icons/edit-undo.png \
 images/icons/emblem-readonly.png \
 images/icons/folder.png \
 images/icons/format-text-bold.png \
+images/icons/graphic-window.png \
 images/icons/help-browser.png \
-images/icons/list-add.png \
-images/icons/list-remove.png \
 images/icons/media-floppy.png \
 images/icons/media-playback-start.png \
 images/icons/original-view.png \
@@ -320,15 +322,16 @@ images/icons/rotate.png \
 images/icons/scilab_close_active.png \
 images/icons/scilab_close_default.png \
 images/icons/scilab.png \
+images/icons/transform-rotate.png \
 images/icons/undock_active.png \
 images/icons/undock_default.png \
 images/icons/utilities-system-monitor.png \
 images/icons/window-new.png \
 images/icons/zoom-area-cursor.png \
 images/icons/zoom-area.png \
-images/icons/32x32/apps/accessories-text-editor.png \
-images/icons/32x32/apps/utilities-system-monitor.png \
-images/icons/graphic-window.png
+images/icons/zoom-fit-drawing.png \
+images/icons/zoom-in.png \
+images/icons/zoom-out.png
 
 if GUI
 USEANT=1
index 22046a9..974ee23 100644 (file)
@@ -829,9 +829,12 @@ libscigui_la_sci_gateway_DATA = sci_gateway/gui_gateway.xml
 
 #### gui : icons files ####
 libscigui_la_iconsdir = $(mydatadir)/
-nobase_libscigui_la_icons_DATA = images/icons/aboutscilab.png \
+nobase_libscigui_la_icons_DATA = images/icons/32x32/apps/accessories-text-editor.png \
+images/icons/32x32/apps/utilities-system-monitor.png \
+images/icons/aboutscilab.png \
 images/icons/accessories-text-editor.png \
 images/icons/applications-system.png \
+images/icons/check-icon.png \
 images/icons/close-tab.png \
 images/icons/datatips.png \
 images/icons/document-new.png \
@@ -852,9 +855,8 @@ images/icons/edit-undo.png \
 images/icons/emblem-readonly.png \
 images/icons/folder.png \
 images/icons/format-text-bold.png \
+images/icons/graphic-window.png \
 images/icons/help-browser.png \
-images/icons/list-add.png \
-images/icons/list-remove.png \
 images/icons/media-floppy.png \
 images/icons/media-playback-start.png \
 images/icons/original-view.png \
@@ -866,15 +868,16 @@ images/icons/rotate.png \
 images/icons/scilab_close_active.png \
 images/icons/scilab_close_default.png \
 images/icons/scilab.png \
+images/icons/transform-rotate.png \
 images/icons/undock_active.png \
 images/icons/undock_default.png \
 images/icons/utilities-system-monitor.png \
 images/icons/window-new.png \
 images/icons/zoom-area-cursor.png \
 images/icons/zoom-area.png \
-images/icons/32x32/apps/accessories-text-editor.png \
-images/icons/32x32/apps/utilities-system-monitor.png \
-images/icons/graphic-window.png
+images/icons/zoom-fit-drawing.png \
+images/icons/zoom-in.png \
+images/icons/zoom-out.png
 
 @GUI_TRUE@USEANT = 1
 all: $(BUILT_SOURCES)
diff --git a/scilab/modules/gui/images/icons/list-add.png b/scilab/modules/gui/images/icons/list-add.png
deleted file mode 100644 (file)
index 306d3d8..0000000
Binary files a/scilab/modules/gui/images/icons/list-add.png and /dev/null differ
diff --git a/scilab/modules/gui/images/icons/list-remove.png b/scilab/modules/gui/images/icons/list-remove.png
deleted file mode 100644 (file)
index 45e5c2a..0000000
Binary files a/scilab/modules/gui/images/icons/list-remove.png and /dev/null differ
diff --git a/scilab/modules/gui/images/icons/transform-rotate.png b/scilab/modules/gui/images/icons/transform-rotate.png
new file mode 100644 (file)
index 0000000..60ab412
Binary files /dev/null and b/scilab/modules/gui/images/icons/transform-rotate.png differ
diff --git a/scilab/modules/gui/images/icons/zoom-fit-drawing.png b/scilab/modules/gui/images/icons/zoom-fit-drawing.png
new file mode 100644 (file)
index 0000000..bab8f9a
Binary files /dev/null and b/scilab/modules/gui/images/icons/zoom-fit-drawing.png differ
diff --git a/scilab/modules/gui/images/icons/zoom-in.png b/scilab/modules/gui/images/icons/zoom-in.png
new file mode 100644 (file)
index 0000000..741414b
Binary files /dev/null and b/scilab/modules/gui/images/icons/zoom-in.png differ
diff --git a/scilab/modules/gui/images/icons/zoom-out.png b/scilab/modules/gui/images/icons/zoom-out.png
new file mode 100644 (file)
index 0000000..8201fd3
Binary files /dev/null and b/scilab/modules/gui/images/icons/zoom-out.png differ
index 0fef650..dd993be 100644 (file)
@@ -127,7 +127,7 @@ libscixcos_la_sci_gateway_DATA = sci_gateway/xcos_gateway.xml
 #### xcos : images files ####
 #
 # Generated with:
-#   $ find images/ -type f -printf "%p \\ \n" -name *.svg -or -name *.gif -or -name *.jpg -or -name *.png -not -name *_pal.jpg -not -name gui |sort |awk '{sub(/[ \t]+$/, "")};1' |awk '$0 !~ /gui/{print;}' |awk '$0 !~ /_pal.jpg/{print;}'
+#   $ find images/ -type f -printf "%p \\\\\n" -name *.svg -or -name *.gif -or -name *.jpg -or -name *.png -not -name *_pal.jpg -not -name gui |sort |awk '$0 !~ /gui/{print;}' |awk '$0 !~ /_pal.jpg/{print;}'
 libscixcos_la_imagesdir=$(mydatadir)/
 nobase_libscixcos_la_images_DATA = images/blocks/3DSCOPE.svg \
 images/blocks/ANDBLK.svg \
@@ -174,14 +174,20 @@ images/blocks/SWITCH.svg \
 images/blocks/VanneReglante.svg \
 images/blocks/VariableResistor.svg \
 images/blocks/VoltageSensor.svg \
-images/icons/go-bottom.png \
-images/icons/go-center.png \
-images/icons/go-first.png \
-images/icons/go-last.png \
-images/icons/go-middle.png \
-images/icons/go-top.png \
+images/icons/align-horizontal-center.png \
+images/icons/align-horizontal-left.png \
+images/icons/align-horizontal-right.png \
+images/icons/align-vertical-bottom.png \
+images/icons/align-vertical-center.png \
+images/icons/align-vertical-top.png \
+images/icons/color-fill.png \
+images/icons/draw-brush.png \
+images/icons/object-group.png \
+images/icons/preferences-desktop.png \
 images/icons/process-stop.png \
-images/icons/view-fullscreen.png \
+images/icons/select-by-color.png \
+images/icons/transform-flip.png \
+images/icons/transform-mirror.png \
 images/palettes/ABS_VALUE.png \
 images/palettes/AFFICH_m.png \
 images/palettes/ANDBLK.png \
index 1d500ae..2eccc6a 100644 (file)
@@ -532,7 +532,7 @@ libscixcos_la_sci_gateway_DATA = sci_gateway/xcos_gateway.xml
 #### xcos : images files ####
 #
 # Generated with:
-#   $ find images/ -type f -printf "%p \\ \n" -name *.svg -or -name *.gif -or -name *.jpg -or -name *.png -not -name *_pal.jpg -not -name gui |sort |awk '{sub(/[ \t]+$/, "")};1' |awk '$0 !~ /gui/{print;}' |awk '$0 !~ /_pal.jpg/{print;}'
+#   $ find images/ -type f -printf "%p \\\\\n" -name *.svg -or -name *.gif -or -name *.jpg -or -name *.png -not -name *_pal.jpg -not -name gui |sort |awk '$0 !~ /gui/{print;}' |awk '$0 !~ /_pal.jpg/{print;}'
 libscixcos_la_imagesdir = $(mydatadir)/
 nobase_libscixcos_la_images_DATA = images/blocks/3DSCOPE.svg \
 images/blocks/ANDBLK.svg \
@@ -579,14 +579,20 @@ images/blocks/SWITCH.svg \
 images/blocks/VanneReglante.svg \
 images/blocks/VariableResistor.svg \
 images/blocks/VoltageSensor.svg \
-images/icons/go-bottom.png \
-images/icons/go-center.png \
-images/icons/go-first.png \
-images/icons/go-last.png \
-images/icons/go-middle.png \
-images/icons/go-top.png \
+images/icons/align-horizontal-center.png \
+images/icons/align-horizontal-left.png \
+images/icons/align-horizontal-right.png \
+images/icons/align-vertical-bottom.png \
+images/icons/align-vertical-center.png \
+images/icons/align-vertical-top.png \
+images/icons/color-fill.png \
+images/icons/draw-brush.png \
+images/icons/object-group.png \
+images/icons/preferences-desktop.png \
 images/icons/process-stop.png \
-images/icons/view-fullscreen.png \
+images/icons/select-by-color.png \
+images/icons/transform-flip.png \
+images/icons/transform-mirror.png \
 images/palettes/ABS_VALUE.png \
 images/palettes/AFFICH_m.png \
 images/palettes/ANDBLK.png \
diff --git a/scilab/modules/xcos/images/icons/align-horizontal-center.png b/scilab/modules/xcos/images/icons/align-horizontal-center.png
new file mode 100644 (file)
index 0000000..39cff58
Binary files /dev/null and b/scilab/modules/xcos/images/icons/align-horizontal-center.png differ
diff --git a/scilab/modules/xcos/images/icons/align-horizontal-left.png b/scilab/modules/xcos/images/icons/align-horizontal-left.png
new file mode 100644 (file)
index 0000000..9148679
Binary files /dev/null and b/scilab/modules/xcos/images/icons/align-horizontal-left.png differ
diff --git a/scilab/modules/xcos/images/icons/align-horizontal-right.png b/scilab/modules/xcos/images/icons/align-horizontal-right.png
new file mode 100644 (file)
index 0000000..0893f7e
Binary files /dev/null and b/scilab/modules/xcos/images/icons/align-horizontal-right.png differ
diff --git a/scilab/modules/xcos/images/icons/align-vertical-bottom.png b/scilab/modules/xcos/images/icons/align-vertical-bottom.png
new file mode 100644 (file)
index 0000000..b1eff63
Binary files /dev/null and b/scilab/modules/xcos/images/icons/align-vertical-bottom.png differ
diff --git a/scilab/modules/xcos/images/icons/align-vertical-center.png b/scilab/modules/xcos/images/icons/align-vertical-center.png
new file mode 100644 (file)
index 0000000..6f0d2f8
Binary files /dev/null and b/scilab/modules/xcos/images/icons/align-vertical-center.png differ
diff --git a/scilab/modules/xcos/images/icons/align-vertical-top.png b/scilab/modules/xcos/images/icons/align-vertical-top.png
new file mode 100644 (file)
index 0000000..8e4bb09
Binary files /dev/null and b/scilab/modules/xcos/images/icons/align-vertical-top.png differ
diff --git a/scilab/modules/xcos/images/icons/color-fill.png b/scilab/modules/xcos/images/icons/color-fill.png
new file mode 100644 (file)
index 0000000..e0389db
Binary files /dev/null and b/scilab/modules/xcos/images/icons/color-fill.png differ
diff --git a/scilab/modules/xcos/images/icons/draw-brush.png b/scilab/modules/xcos/images/icons/draw-brush.png
new file mode 100644 (file)
index 0000000..4bb955f
Binary files /dev/null and b/scilab/modules/xcos/images/icons/draw-brush.png differ
diff --git a/scilab/modules/xcos/images/icons/go-bottom.png b/scilab/modules/xcos/images/icons/go-bottom.png
deleted file mode 100644 (file)
index 2c5a803..0000000
Binary files a/scilab/modules/xcos/images/icons/go-bottom.png and /dev/null differ
diff --git a/scilab/modules/xcos/images/icons/go-center.png b/scilab/modules/xcos/images/icons/go-center.png
deleted file mode 100644 (file)
index 6a44975..0000000
Binary files a/scilab/modules/xcos/images/icons/go-center.png and /dev/null differ
diff --git a/scilab/modules/xcos/images/icons/go-first.png b/scilab/modules/xcos/images/icons/go-first.png
deleted file mode 100644 (file)
index 9c15c09..0000000
Binary files a/scilab/modules/xcos/images/icons/go-first.png and /dev/null differ
diff --git a/scilab/modules/xcos/images/icons/go-last.png b/scilab/modules/xcos/images/icons/go-last.png
deleted file mode 100644 (file)
index 6e904ef..0000000
Binary files a/scilab/modules/xcos/images/icons/go-last.png and /dev/null differ
diff --git a/scilab/modules/xcos/images/icons/go-middle.png b/scilab/modules/xcos/images/icons/go-middle.png
deleted file mode 100644 (file)
index 69c775d..0000000
Binary files a/scilab/modules/xcos/images/icons/go-middle.png and /dev/null differ
diff --git a/scilab/modules/xcos/images/icons/go-top.png b/scilab/modules/xcos/images/icons/go-top.png
deleted file mode 100644 (file)
index 70f2c99..0000000
Binary files a/scilab/modules/xcos/images/icons/go-top.png and /dev/null differ
diff --git a/scilab/modules/xcos/images/icons/object-group.png b/scilab/modules/xcos/images/icons/object-group.png
new file mode 100644 (file)
index 0000000..35c6be3
Binary files /dev/null and b/scilab/modules/xcos/images/icons/object-group.png differ
diff --git a/scilab/modules/xcos/images/icons/preferences-desktop.png b/scilab/modules/xcos/images/icons/preferences-desktop.png
new file mode 100644 (file)
index 0000000..68f916c
Binary files /dev/null and b/scilab/modules/xcos/images/icons/preferences-desktop.png differ
diff --git a/scilab/modules/xcos/images/icons/select-by-color.png b/scilab/modules/xcos/images/icons/select-by-color.png
new file mode 100644 (file)
index 0000000..8c3ac14
Binary files /dev/null and b/scilab/modules/xcos/images/icons/select-by-color.png differ
diff --git a/scilab/modules/xcos/images/icons/transform-flip.png b/scilab/modules/xcos/images/icons/transform-flip.png
new file mode 100644 (file)
index 0000000..2676528
Binary files /dev/null and b/scilab/modules/xcos/images/icons/transform-flip.png differ
diff --git a/scilab/modules/xcos/images/icons/transform-mirror.png b/scilab/modules/xcos/images/icons/transform-mirror.png
new file mode 100644 (file)
index 0000000..6dbbb5e
Binary files /dev/null and b/scilab/modules/xcos/images/icons/transform-mirror.png differ
diff --git a/scilab/modules/xcos/images/icons/view-fullscreen.png b/scilab/modules/xcos/images/icons/view-fullscreen.png
deleted file mode 100644 (file)
index ffdabd4..0000000
Binary files a/scilab/modules/xcos/images/icons/view-fullscreen.png and /dev/null differ
diff --git a/scilab/modules/xcos/images/palettes/TEXT_f.png b/scilab/modules/xcos/images/palettes/TEXT_f.png
deleted file mode 100644 (file)
index b1f284c..0000000
Binary files a/scilab/modules/xcos/images/palettes/TEXT_f.png and /dev/null differ
index b41e93d..a8487cb 100644 (file)
@@ -29,7 +29,7 @@ public final class FitDiagramToViewAction extends OneBlockDependantAction {
        /** Name of the action */
        public static final String NAME = XcosMessages.FIT_DIAGRAM_TO_VIEW;
        /** Icon name of the action */
-       public static final String SMALL_ICON = "view-fullscreen.png";
+       public static final String SMALL_ICON = "zoom-fit-drawing";
        /** Mnemonic key of the action */
        public static final int MNEMONIC_KEY = 0;
        /** Accelerator key for the action */
index 87a0eff..8716394 100644 (file)
@@ -27,7 +27,7 @@ public final class NormalViewAction extends DefaultAction {
        /** Name of the action */
        public static final String NAME = XcosMessages.NORMAL_100;
        /** Icon name of the action */
-       public static final String SMALL_ICON = "";
+       public static final String SMALL_ICON = "zoom-original";
        /** Mnemonic key of the action */
        public static final int MNEMONIC_KEY = 0;
        /** Accelerator key for the action */
index acc5773..3db635b 100644 (file)
@@ -28,7 +28,7 @@ public class SetupAction extends SimulationNotRunningAction {
        /** Name of the action */
        public static final String NAME = XcosMessages.SETUP;
        /** Icon name of the action */
-       public static final String SMALL_ICON = "";
+       public static final String SMALL_ICON = "preferences-desktop.png";
        /** Mnemonic key of the action */
        public static final int MNEMONIC_KEY = 0;
        /** Accelerator key for the action */
index 113903f..2b51241 100644 (file)
@@ -32,7 +32,7 @@ public final class BlockDocumentationAction extends VertexSelectionDependantActi
        /** Name of the action */
        public static final String NAME = XcosMessages.BLOCK_DOCUMENTATION;
        /** Icon name of the action */
-       public static final String SMALL_ICON = "";
+       public static final String SMALL_ICON = "help-browser.png";
        /** Mnemonic key of the action */
        public static final int MNEMONIC_KEY = 0;
        /** Accelerator key for the action */
index 27d255e..b654da1 100644 (file)
@@ -31,7 +31,7 @@ public class BlockParametersAction extends VertexSelectionDependantAction {
        /** Name of the action */
        public static final String NAME = XcosMessages.BLOCK_PARAMETERS;
        /** Icon name of the action */
-       public static final String SMALL_ICON = "";
+       public static final String SMALL_ICON = "applications-system.png";
        /** Mnemonic key of the action */
        public static final int MNEMONIC_KEY = KeyEvent.VK_B;
        /** Accelerator key for the action */
index d00bd24..9c8c6c0 100644 (file)
@@ -37,7 +37,7 @@ public final class BorderColorAction extends VertexSelectionDependantAction {
        /** Name of the action */
        public static final String NAME = XcosMessages.BORDER_COLOR;
        /** Icon name of the action */
-       public static final String SMALL_ICON = "";
+       public static final String SMALL_ICON = "draw-brush.png";
        /** Mnemonic key of the action */
        public static final int MNEMONIC_KEY = 0;
        /** Accelerator key for the action */
index e7cf3bd..3aea5e1 100644 (file)
@@ -49,7 +49,7 @@ public class EditBlockFormatAction extends DefaultAction {
        /**
         * Icon of the action
         */
-       public static final String SMALL_ICON = "";
+       public static final String SMALL_ICON = "select-by-color.png";
        /**
         * Mnemonic key for the action
         */
index 8491a0a..b3997bc 100644 (file)
@@ -37,7 +37,7 @@ public final class FilledColorAction extends VertexSelectionDependantAction {
        /** Name of the action */
        public static final String NAME = XcosMessages.FILL_COLOR;
        /** Icon name of the action */
-       public static final String SMALL_ICON = "";
+       public static final String SMALL_ICON = "color-fill.png";
        /** Mnemonic key of the action */
        public static final int MNEMONIC_KEY = 0;
        /** Accelerator key for the action */
index 3e70988..f7af85b 100644 (file)
@@ -31,7 +31,7 @@ public class FlipAction extends VertexSelectionDependantAction {
        /** Name of the action */
        public static final String NAME = XcosMessages.FLIP;
        /** Icon name of the action */
-       public static final String SMALL_ICON = "";
+       public static final String SMALL_ICON = "transform-flip.png";
        /** Mnemonic key of the action */
        public static final int MNEMONIC_KEY = KeyEvent.VK_F;
        /** Accelerator key for the action */
index c30c529..d64de1b 100644 (file)
@@ -30,7 +30,7 @@ public class MirrorAction extends VertexSelectionDependantAction {
        /** Name of the action */
        public static final String NAME = XcosMessages.MIRROR;
        /** Icon name of the action */
-       public static final String SMALL_ICON = "";
+       public static final String SMALL_ICON = "transform-mirror.png";
        /** Mnemonic key of the action */
        public static final int MNEMONIC_KEY = KeyEvent.VK_M;
        /** Accelerator key for the action */
index 2ea413d..5fc5ecb 100644 (file)
@@ -71,7 +71,7 @@ public final class RegionToSuperblockAction extends VertexSelectionDependantActi
        /** Name of the action */
        public static final String NAME = XcosMessages.REGION_TO_SUPERBLOCK;
        /** Icon name of the action */
-       public static final String SMALL_ICON = "";
+       public static final String SMALL_ICON = "object-group.png";
        /** Mnemonic key of the action */
        public static final int MNEMONIC_KEY = 0;
        /** Accelerator key for the action */
index 326f5f1..b4a2bdb 100644 (file)
@@ -31,7 +31,7 @@ public class RotateAction extends VertexSelectionDependantAction {
        /** Name of the action */
        public static final String NAME = XcosMessages.ROTATE;
        /** Icon name of the action */
-       public static final String SMALL_ICON = "";
+       public static final String SMALL_ICON = "transform-rotate.png";
        /** Mnemonic key of the action */
        public static final int MNEMONIC_KEY = KeyEvent.VK_R;
        /** Accelerator key for the action */
index bcc3c26..0420841 100644 (file)
@@ -24,7 +24,7 @@ public final class AlignBlockActionBottom extends AlignBlockAction {
        /** Name of the action */
        public static final String NAME = XcosMessages.ALIGN_BOTTOM;
        /** Icon name of the action */
-       public static final String SMALL_ICON = "go-bottom.png";
+       public static final String SMALL_ICON = "align-vertical-bottom.png";
        /** Mnemonic key of the action */
        public static final int MNEMONIC_KEY = 0;
        /** Accelerator key for the action */
index a4b4123..43bbc50 100644 (file)
@@ -24,7 +24,7 @@ public final class AlignBlockActionCenter extends AlignBlockAction {
        /** Name of the action */
        public static final String NAME = XcosMessages.ALIGN_CENTER;
        /** Icon name of the action */
-       public static final String SMALL_ICON = "go-center.png";
+       public static final String SMALL_ICON = "align-horizontal-center.png";
        /** Mnemonic key of the action */
        public static final int MNEMONIC_KEY = 0;
        /** Accelerator key for the action */
index db253ed..89549bb 100644 (file)
@@ -24,7 +24,7 @@ public final class AlignBlockActionLeft extends AlignBlockAction {
        /** Name of the action */
        public static final String NAME = XcosMessages.ALIGN_LEFT;
        /** Icon name of the action */
-       public static final String SMALL_ICON = "go-first.png";
+       public static final String SMALL_ICON = "align-horizontal-left.png";
        /** Mnemonic key of the action */
        public static final int MNEMONIC_KEY = 0;
        /** Accelerator key for the action */
index 104afff..5b84395 100644 (file)
@@ -24,7 +24,7 @@ public final class AlignBlockActionMiddle extends AlignBlockAction {
        /** Name of the action */
        public static final String NAME = XcosMessages.ALIGN_MIDDLE;
        /** Icon name of the action */
-       public static final String SMALL_ICON = "go-middle.png";
+       public static final String SMALL_ICON = "align-vertical-center.png";
        /** Mnemonic key of the action */
        public static final int MNEMONIC_KEY = 0;
        /** Accelerator key for the action */
index 976f105..35f3fa4 100644 (file)
@@ -24,7 +24,7 @@ public final class AlignBlockActionRight extends AlignBlockAction {
        /** Name of the action */
        public static final String NAME = XcosMessages.ALIGN_RIGHT;
        /** Icon name of the action */
-       public static final String SMALL_ICON = "go-last.png";
+       public static final String SMALL_ICON = "align-horizontal-right.png";
        /** Mnemonic key of the action */
        public static final int MNEMONIC_KEY = 0;
        /** Accelerator key for the action */
index c61eb40..db463d3 100644 (file)
@@ -24,7 +24,7 @@ public final class AlignBlockActionTop extends AlignBlockAction {
        /** Name of the action */
        public static final String NAME = XcosMessages.ALIGN_TOP;
        /** Icon name of the action */
-       public static final String SMALL_ICON = "go-top.png";
+       public static final String SMALL_ICON = "align-vertical-top.png";
        /** Mnemonic key of the action */
        public static final int MNEMONIC_KEY = 0;
        /** Accelerator key for the action */