Rename internal SpiesPlugin class to SpiesConstant to avoid confusing it
with an activator

Bug 502839 changed it from activator to a a simple class. Lets rename it
and change to interface to make its usage clear.


Change-Id: Idb0ebf0acba4bafb3297b429e466aa074d794888
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/180763
Reviewed-by: Marc-André Laperle <malaperle@gmail.com>
diff --git a/bundles/org.eclipse.swt.tools.spies/src/org/eclipse/swt/tools/internal/SpiesPlugin.java b/bundles/org.eclipse.swt.tools.spies/src/org/eclipse/swt/tools/internal/SpiesConstants.java
similarity index 86%
rename from bundles/org.eclipse.swt.tools.spies/src/org/eclipse/swt/tools/internal/SpiesPlugin.java
rename to bundles/org.eclipse.swt.tools.spies/src/org/eclipse/swt/tools/internal/SpiesConstants.java
index d1f7add..17839ee 100644
--- a/bundles/org.eclipse.swt.tools.spies/src/org/eclipse/swt/tools/internal/SpiesPlugin.java
+++ b/bundles/org.eclipse.swt.tools.spies/src/org/eclipse/swt/tools/internal/SpiesConstants.java
@@ -12,9 +12,11 @@
 package org.eclipse.swt.tools.internal;
 
 /**
- * Class containing constants pertaining to the Spies plug-in.
+ * Interface containing constants for the Spies plug-in.
+ * 
  */
-public final class SpiesPlugin {
+
+public interface SpiesConstants {
 	/**
 	 * Identifies the spies plug-in.
 	 */
diff --git a/bundles/org.eclipse.swt.tools.spies/src/org/eclipse/swt/tools/views/SpyView.java b/bundles/org.eclipse.swt.tools.spies/src/org/eclipse/swt/tools/views/SpyView.java
index b05dd63..e1ccca3 100644
--- a/bundles/org.eclipse.swt.tools.spies/src/org/eclipse/swt/tools/views/SpyView.java
+++ b/bundles/org.eclipse.swt.tools.spies/src/org/eclipse/swt/tools/views/SpyView.java
@@ -37,7 +37,7 @@
 	static final int TIMEOUT = 100;
 
 	private static final ImageDescriptor SPY_IMAGE_DESCRIPTOR = ImageDescriptor.createFromURL(
-			FileLocator.find(Platform.getBundle(SpiesPlugin.PLUGIN_ID), new Path("icons/spy.png"), null));
+			FileLocator.find(Platform.getBundle(SpiesConstants.PLUGIN_ID), new Path("icons/spy.png"), null));
 	/**
 	 * This is a callback that will allow us
 	 * to create the viewer and initialize it.