diff options
author | Dani Megert | 2013-06-20 09:40:48 +0000 |
---|---|---|
committer | Dani Megert | 2013-06-20 09:40:48 +0000 |
commit | 335fd0095533316269b1612c609047707597621d (patch) | |
tree | c7bb8073596f9fed27d0e7ef68dd05dae2682e12 /org.eclipse.help.ui | |
parent | 664586f53615478997b7d98a7a6b8c3198c15e4f (diff) | |
download | eclipse.platform.ua-335fd0095533316269b1612c609047707597621d.tar.gz eclipse.platform.ua-335fd0095533316269b1612c609047707597621d.tar.xz eclipse.platform.ua-335fd0095533316269b1612c609047707597621d.zip |
Fixed bug 408899: [Help] Extenders of help.base.activitySupport see a warning regarding "localScopeCheckbox" although that element is unused
Diffstat (limited to 'org.eclipse.help.ui')
4 files changed, 12 insertions, 21 deletions
diff --git a/org.eclipse.help.ui/META-INF/MANIFEST.MF b/org.eclipse.help.ui/META-INF/MANIFEST.MF index 2c14fc06e..dc4b9cae1 100644 --- a/org.eclipse.help.ui/META-INF/MANIFEST.MF +++ b/org.eclipse.help.ui/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %help_system_plugin_name Bundle-SymbolicName: org.eclipse.help.ui; singleton:=true -Bundle-Version: 4.0.0.qualifier +Bundle-Version: 4.0.100.qualifier Bundle-Activator: org.eclipse.help.ui.internal.HelpUIPlugin Bundle-Vendor: %providerName Bundle-Localization: plugin diff --git a/org.eclipse.help.ui/pom.xml b/org.eclipse.help.ui/pom.xml index 9f9a913b2..ee9421054 100644 --- a/org.eclipse.help.ui/pom.xml +++ b/org.eclipse.help.ui/pom.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - Copyright (c) 2012 Eclipse Foundation. + Copyright (c) 2012, 2013 Eclipse Foundation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Distribution License v1.0 which accompanies this distribution, and is available at @@ -18,6 +18,6 @@ </parent> <groupId>org.eclipse.help</groupId> <artifactId>org.eclipse.help.ui</artifactId> - <version>4.0.0-SNAPSHOT</version> + <version>4.0.100-SNAPSHOT</version> <packaging>eclipse-plugin</packaging> </project> diff --git a/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/HelpActivitySupport.java b/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/HelpActivitySupport.java index f538a3240..25341f0af 100644 --- a/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/HelpActivitySupport.java +++ b/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/HelpActivitySupport.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2011 IBM Corporation and others. + * Copyright (c) 2000, 2013 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -14,20 +14,23 @@ package org.eclipse.help.ui.internal; import java.util.HashSet; import java.util.Set; +import org.osgi.service.prefs.BackingStoreException; + +import org.eclipse.help.internal.HelpPlugin; +import org.eclipse.help.internal.base.HelpBasePlugin; +import org.eclipse.help.internal.base.IHelpActivitySupport; +import org.eclipse.help.internal.toc.Toc; + import org.eclipse.core.runtime.IConfigurationElement; import org.eclipse.core.runtime.IProduct; import org.eclipse.core.runtime.Platform; import org.eclipse.core.runtime.preferences.IEclipsePreferences; import org.eclipse.core.runtime.preferences.InstanceScope; -import org.eclipse.help.internal.HelpPlugin; -import org.eclipse.help.internal.base.HelpBasePlugin; -import org.eclipse.help.internal.base.IHelpActivitySupport; -import org.eclipse.help.internal.toc.Toc; + import org.eclipse.ui.IWorkbench; import org.eclipse.ui.PlatformUI; import org.eclipse.ui.activities.IIdentifier; import org.eclipse.ui.activities.IWorkbenchActivitySupport; -import org.osgi.service.prefs.BackingStoreException; /** * Wrapper for eclipse ui activity support @@ -82,14 +85,6 @@ public class HelpActivitySupport implements IHelpActivitySupport { return child.getValue(); return null; } - public String getLocalScopeCheckboxLabel() { - if (config==null) - return null; - IConfigurationElement child = getChild("localScopeCheckbox"); //$NON-NLS-1$ - if (child!=null) - return child.getValue(); - return null; - } public boolean needsLiveHelp(boolean embedded) { getDocumentMessage(embedded); return needsLiveHelp; @@ -295,7 +290,4 @@ public class HelpActivitySupport implements IHelpActivitySupport { public boolean getDocumentMessageUsesLiveHelp(boolean embedded) { return activityDescriptor.needsLiveHelp(embedded); } - public String getLocalScopeCheckboxLabel() { - return activityDescriptor.getLocalScopeCheckboxLabel(); - } } diff --git a/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/Messages.properties b/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/Messages.properties index 8d5ddd316..3bf5ad4a2 100644 --- a/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/Messages.properties +++ b/org.eclipse.help.ui/src/org/eclipse/help/ui/internal/Messages.properties @@ -174,7 +174,6 @@ InfoCenterPage_invalidURL=Invalid URL InfoCenterPage_tocError=Error while loading table of contents WebSearchPage_label=&URL template: WebSearchPage_info=You can capture the URL template by copying the web query from the browser address field and replacing the search word with {expression}. -LocalHelpPage_capabilityFiltering_name= &Include results about disabled capabilities RootScopePage_masterButton=&Enable search engine RootScopePage_name=Na&me: RootScopePage_desc=Descri&ption: |