diff options
author | Olivier Prouvost | 2016-05-20 09:51:44 +0000 |
---|---|---|
committer | Olivier Prouvost | 2016-05-20 09:51:44 +0000 |
commit | c9527cb369c111c721cdd4ce49ee2affeb407163 (patch) | |
tree | e8f4dc6c92530116f09036af8263f3abff18b43e | |
parent | 290460ed999b136daed3741db4ed8aa624fcb6f3 (diff) | |
download | org.eclipse.e4.tools-c9527cb369c111c721cdd4ce49ee2affeb407163.tar.gz org.eclipse.e4.tools-c9527cb369c111c721cdd4ce49ee2affeb407163.tar.xz org.eclipse.e4.tools-c9527cb369c111c721cdd4ce49ee2affeb407163.zip |
Bug 494101 - The preference spy should be defined as a real spy
Change-Id: I42749ffa90e32f9e8863e5f1ff48a590022de34a
Signed-off-by: Olivier Prouvost <olivier.prouvost@opcoach.com>
3 files changed, 13 insertions, 1 deletions
diff --git a/bundles/org.eclipse.e4.tools.preference.spy/plugin.xml b/bundles/org.eclipse.e4.tools.preference.spy/plugin.xml index 229e0f47..2f2acd0a 100644 --- a/bundles/org.eclipse.e4.tools.preference.spy/plugin.xml +++ b/bundles/org.eclipse.e4.tools.preference.spy/plugin.xml @@ -16,6 +16,14 @@ name="Preference Spy"> </page> </extension> + <extension + point="org.eclipse.e4.tools.spy.spyPart"> + <spyPart + name="Preference Spy" + part="org.eclipse.e4.tools.preference.spy.parts.PreferenceSpyPart" + shortcut="M2+M3+F11"> + </spyPart> + </extension> <!--extension point="org.eclipse.e4.tools.spy.spyPart"> <spyPart diff --git a/bundles/org.eclipse.e4.tools.preference.spy/src/org/eclipse/e4/tools/preference/spy/parts/viewer/PreferenceEntryViewerComparator.java b/bundles/org.eclipse.e4.tools.preference.spy/src/org/eclipse/e4/tools/preference/spy/parts/viewer/PreferenceEntryViewerComparator.java index c6633543..2ac856da 100644 --- a/bundles/org.eclipse.e4.tools.preference.spy/src/org/eclipse/e4/tools/preference/spy/parts/viewer/PreferenceEntryViewerComparator.java +++ b/bundles/org.eclipse.e4.tools.preference.spy/src/org/eclipse/e4/tools/preference/spy/parts/viewer/PreferenceEntryViewerComparator.java @@ -21,7 +21,7 @@ public class PreferenceEntryViewerComparator extends ViewerComparator { public PreferenceEntryViewerComparator() { } - public PreferenceEntryViewerComparator(Comparator<?> comparator) { + public PreferenceEntryViewerComparator(Comparator<? super String> comparator) { super(comparator); } diff --git a/features/org.eclipse.e4.tools.spies.feature/feature.xml b/features/org.eclipse.e4.tools.spies.feature/feature.xml index 981aa87c..3f585059 100644 --- a/features/org.eclipse.e4.tools.spies.feature/feature.xml +++ b/features/org.eclipse.e4.tools.spies.feature/feature.xml @@ -39,4 +39,8 @@ id="org.eclipse.e4.tools.bundle.spy.feature" version="0.0.0"/> + <includes + id="org.eclipse.e4.tools.preference.spy.feature" + version="0.0.0"/> + </feature> |