From afc00237dbe05370e4520cc0405061c020bf5f60 Mon Sep 17 00:00:00 2001 From: Denis Knoepfle Date: Sun, 27 Jul 2014 01:31:20 +0300 Subject: [PATCH] Implement clear cache feature (issue #57) Implemented the feature and made it available in the context menu when at least one project is selected. Currently there is a bug when right-clicking on the project which has not been selected before. This problem is addressed in #63. Change-Id: Ic4c9cc663c06f9d49532f370789dbd762c3d8789 Signed-off-by: Denis Knoepfle --- org.spotter.eclipse.ui/icons/clear-cache.png | Bin 0 -> 609 bytes org.spotter.eclipse.ui/plugin.xml | 13 ++++ .../ui/handlers/ClearCacheHandler.java | 60 ++++++++++++++++++ 3 files changed, 73 insertions(+) create mode 100644 org.spotter.eclipse.ui/icons/clear-cache.png create mode 100644 org.spotter.eclipse.ui/src/org/spotter/eclipse/ui/handlers/ClearCacheHandler.java diff --git a/org.spotter.eclipse.ui/icons/clear-cache.png b/org.spotter.eclipse.ui/icons/clear-cache.png new file mode 100644 index 0000000000000000000000000000000000000000..3527ca4ac03e33c307190217fb5a18d1ec87399c GIT binary patch literal 609 zcmV-n0-pVeP)?Kvbd(3=taxQzRrd7KV)3JE2NhD1Sm3*jS2$qIQ8Lwb&vBnqS2! z&JX9=k8|SEL=+mn()m64-JR|}cS^BXM50GzD_Bn7$adljJNYvnk5{VI>Xz^O7!HRJ zB1F6WlkO2xDGuAV;W!R583(1(ljoYIVIe^*Ap|_nL$}+VCTO*eF&alOO&cNwdjT!EM@+eb#6+kj-Wh1c6+HC~$am1TXNRfBB53 zx7SWGxx4~+)8uIx(48vf5Tc-Y%%h>$%5lmxXjNyCTZKNiX7KO+0?5~juBB)f3$*4@o!v-y@{kBKubkmWe%cchdT!;nTL vWikUOr1%4s`lnOIcY1FVrw{br{3XBuTdp0?{IIKO00000NkvXXu0mjfI>8R# literal 0 HcmV?d00001 diff --git a/org.spotter.eclipse.ui/plugin.xml b/org.spotter.eclipse.ui/plugin.xml index ccd0dd5..0c234d5 100644 --- a/org.spotter.eclipse.ui/plugin.xml +++ b/org.spotter.eclipse.ui/plugin.xml @@ -261,6 +261,12 @@ id="org.spotter.eclipse.ui.commands.run" name="Run"> + + + +