From 50bec817cf9aae1121f41842260d78cc07b55bf0 Mon Sep 17 00:00:00 2001 From: Roberto Orgiu Date: Sun, 17 Apr 2016 08:59:04 +0200 Subject: [PATCH] Adds Proguard mapping icon --- .../google/classyshark/gui/panel/IconSchemes.java | 1 + .../classyshark/gui/panel/toolbar/Toolbar.java | 4 ++-- ClassySharkWS/src/resources/ic_mappings.png | Bin 0 -> 262 bytes 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 ClassySharkWS/src/resources/ic_mappings.png diff --git a/ClassySharkWS/src/com/google/classyshark/gui/panel/IconSchemes.java b/ClassySharkWS/src/com/google/classyshark/gui/panel/IconSchemes.java index 0412b3dd..8a3e2344 100644 --- a/ClassySharkWS/src/com/google/classyshark/gui/panel/IconSchemes.java +++ b/ClassySharkWS/src/com/google/classyshark/gui/panel/IconSchemes.java @@ -12,4 +12,5 @@ public class IconSchemes { public static final String NEXT_ICON_PATH = ROOT_PATH + "ic_next" + EXTENSION; public static final String OPEN_ICON_PATH = ROOT_PATH + "ic_open" + EXTENSION; public static final String EXPORT_ICON_PATH = ROOT_PATH + "ic_export" + EXTENSION; + public static final String MAPPING_ICON_PATH = ROOT_PATH + "ic_mappings" + EXTENSION; } diff --git a/ClassySharkWS/src/com/google/classyshark/gui/panel/toolbar/Toolbar.java b/ClassySharkWS/src/com/google/classyshark/gui/panel/toolbar/Toolbar.java index 3736b457..8bc77d2f 100644 --- a/ClassySharkWS/src/com/google/classyshark/gui/panel/toolbar/Toolbar.java +++ b/ClassySharkWS/src/com/google/classyshark/gui/panel/toolbar/Toolbar.java @@ -202,7 +202,7 @@ public void actionPerformed(ActionEvent e) { private JButton buildMappingsButton() { JButton result = - new JButton(new ImageIcon(getClass().getResource(IconSchemes.EXPORT_ICON_PATH))); + new JButton(new ImageIcon(getClass().getResource(IconSchemes.MAPPING_ICON_PATH))); result.addActionListener(new ActionListener() { @Override @@ -211,7 +211,7 @@ public void actionPerformed(ActionEvent e) { } }); - result.setToolTipText("Mappings"); + result.setToolTipText("Import Proguard mapping file"); result.setBorderPainted(false); result.setEnabled(true); diff --git a/ClassySharkWS/src/resources/ic_mappings.png b/ClassySharkWS/src/resources/ic_mappings.png new file mode 100644 index 0000000000000000000000000000000000000000..3bc5168a3d452f3d9c87a5e61b1972d413ece43e GIT binary patch literal 262 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaM1|%Pp+x`GjY)RhkE(}6TtKSPDj(q%x-L{AsT5Rc<;&u`>CWFW$FVRwgNMB6mi7yH~5 zauRl)E}M8r&fU53QA7P3rpB7NfB(Ked0>6}Yi?uf$#WQF>~+1Qg1xp28Kf*)EOWr8 z$Yk^DyaR!JlhpN%rkvU)lsspzhv)|Om27)Fgg3OVdEP$jl0Z}3`APTo<^FTjlzrjA uzK`XO^sh~Kc_x%FZU~v8fBvrhY34^#rUfnmwlYA+F?hQAxvX