diff --git a/net.sf.eclipsecs.ui/icons/add_correction.gif b/net.sf.eclipsecs.ui/icons/add_correction.gif deleted file mode 100644 index 252d7ebcb..000000000 Binary files a/net.sf.eclipsecs.ui/icons/add_correction.gif and /dev/null differ diff --git a/net.sf.eclipsecs.ui/icons/add_correction.png b/net.sf.eclipsecs.ui/icons/add_correction.png new file mode 100644 index 000000000..7a20f4c8e Binary files /dev/null and b/net.sf.eclipsecs.ui/icons/add_correction.png differ diff --git a/net.sf.eclipsecs.ui/icons/add_correction@2x.png b/net.sf.eclipsecs.ui/icons/add_correction@2x.png new file mode 100644 index 000000000..562a8fec3 Binary files /dev/null and b/net.sf.eclipsecs.ui/icons/add_correction@2x.png differ diff --git a/net.sf.eclipsecs.ui/icons/correction_cast.png b/net.sf.eclipsecs.ui/icons/correction_cast.png new file mode 100644 index 000000000..8fed1bce6 Binary files /dev/null and b/net.sf.eclipsecs.ui/icons/correction_cast.png differ diff --git a/net.sf.eclipsecs.ui/icons/correction_cast@2x.png b/net.sf.eclipsecs.ui/icons/correction_cast@2x.png new file mode 100644 index 000000000..7c271a795 Binary files /dev/null and b/net.sf.eclipsecs.ui/icons/correction_cast@2x.png differ diff --git a/net.sf.eclipsecs.ui/icons/correction_change.gif b/net.sf.eclipsecs.ui/icons/correction_change.gif deleted file mode 100644 index 068e18d0f..000000000 Binary files a/net.sf.eclipsecs.ui/icons/correction_change.gif and /dev/null differ diff --git a/net.sf.eclipsecs.ui/icons/correction_change.png b/net.sf.eclipsecs.ui/icons/correction_change.png new file mode 100644 index 000000000..d9a07e503 Binary files /dev/null and b/net.sf.eclipsecs.ui/icons/correction_change.png differ diff --git a/net.sf.eclipsecs.ui/icons/correction_change@2x.png b/net.sf.eclipsecs.ui/icons/correction_change@2x.png new file mode 100644 index 000000000..499afa4a6 Binary files /dev/null and b/net.sf.eclipsecs.ui/icons/correction_change@2x.png differ diff --git a/net.sf.eclipsecs.ui/icons/remove_correction.gif b/net.sf.eclipsecs.ui/icons/remove_correction.gif deleted file mode 100644 index d353b8324..000000000 Binary files a/net.sf.eclipsecs.ui/icons/remove_correction.gif and /dev/null differ diff --git a/net.sf.eclipsecs.ui/icons/remove_correction.png b/net.sf.eclipsecs.ui/icons/remove_correction.png new file mode 100644 index 000000000..018dc33f6 Binary files /dev/null and b/net.sf.eclipsecs.ui/icons/remove_correction.png differ diff --git a/net.sf.eclipsecs.ui/icons/remove_correction@2x.png b/net.sf.eclipsecs.ui/icons/remove_correction@2x.png new file mode 100644 index 000000000..f1d5570a2 Binary files /dev/null and b/net.sf.eclipsecs.ui/icons/remove_correction@2x.png differ diff --git a/net.sf.eclipsecs.ui/src/net/sf/eclipsecs/ui/CheckstyleUIPluginImages.java b/net.sf.eclipsecs.ui/src/net/sf/eclipsecs/ui/CheckstyleUIPluginImages.java index 1589b3e90..c3e8418c2 100644 --- a/net.sf.eclipsecs.ui/src/net/sf/eclipsecs/ui/CheckstyleUIPluginImages.java +++ b/net.sf.eclipsecs.ui/src/net/sf/eclipsecs/ui/CheckstyleUIPluginImages.java @@ -55,13 +55,15 @@ public enum CheckstyleUIPluginImages { .getImageDescriptor(ISharedImages.IMG_LCL_LINKTO_HELP)), /** Image descriptor for the add correction icon. */ CORRECTION_ADD(() -> AbstractUIPlugin.imageDescriptorFromPlugin(CheckstyleUIPlugin.PLUGIN_ID, - "icons/add_correction.gif")), + "icons/add_correction.png")), + CORRECTION_ADD_BRACES(() -> AbstractUIPlugin.imageDescriptorFromPlugin(CheckstyleUIPlugin.PLUGIN_ID, + "icons/correction_cast.png")), /** Image descriptor for the change correction icon. */ CORRECTION_CHANGE(() -> AbstractUIPlugin.imageDescriptorFromPlugin(CheckstyleUIPlugin.PLUGIN_ID, - "icons/correction_change.gif")), + "icons/correction_change.png")), /** Image descriptor for the remove correction icon. */ CORRECTION_REMOVE(() -> AbstractUIPlugin.imageDescriptorFromPlugin(CheckstyleUIPlugin.PLUGIN_ID, - "icons/remove_correction.gif")), + "icons/remove_correction.png")), /** Image descriptor for the tick icon. */ TICK_ICON(() -> AbstractUIPlugin.imageDescriptorFromPlugin(CheckstyleUIPlugin.PLUGIN_ID, "icons/tick.gif")), diff --git a/net.sf.eclipsecs.ui/src/net/sf/eclipsecs/ui/quickfixes/blocks/NeedBracesQuickfix.java b/net.sf.eclipsecs.ui/src/net/sf/eclipsecs/ui/quickfixes/blocks/NeedBracesQuickfix.java index 5792d5e3c..fc1858001 100644 --- a/net.sf.eclipsecs.ui/src/net/sf/eclipsecs/ui/quickfixes/blocks/NeedBracesQuickfix.java +++ b/net.sf.eclipsecs.ui/src/net/sf/eclipsecs/ui/quickfixes/blocks/NeedBracesQuickfix.java @@ -151,6 +151,6 @@ public String getLabel() { @Override public Image getImage() { - return CheckstyleUIPluginImages.CORRECTION_ADD.getImage(); + return CheckstyleUIPluginImages.CORRECTION_ADD_BRACES.getImage(); } }