diff options
author | Matthias Becker | 2019-07-12 13:41:19 +0000 |
---|---|---|
committer | Matthias Becker | 2019-07-12 13:41:19 +0000 |
commit | 348336d5082e1ad638a9270bda7b8c6b3236508e (patch) | |
tree | 26097a88a1b1f0253b1d3648d5d02fb143c8e44a | |
parent | e4939735e855f9118d07aa421d734636899610e8 (diff) | |
download | eclipse.platform.ua-348336d5082e1ad638a9270bda7b8c6b3236508e.tar.gz eclipse.platform.ua-348336d5082e1ad638a9270bda7b8c6b3236508e.tar.xz eclipse.platform.ua-348336d5082e1ad638a9270bda7b8c6b3236508e.zip |
Bug 546564 - "Command link" icon in help not high resY20190715-2335Y20190715-0900I20190717-1800I20190716-1800I20190715-1800I20190714-1800I20190713-1800I20190713-1105I20190713-0230I20190712-1800
Change-Id: I47c7b32c029dec151d58ed4d662d302988d657e0
Signed-off-by: Matthias Becker <ma.becker@sap.com>
-rw-r--r-- | org.eclipse.help.webapp/src/org/eclipse/help/internal/webapp/StatusProducer.java | 3 | ||||
-rw-r--r-- | org.eclipse.ua.tests/data/help/performance/search/ua_help_content_command_authoring.htm | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/org.eclipse.help.webapp/src/org/eclipse/help/internal/webapp/StatusProducer.java b/org.eclipse.help.webapp/src/org/eclipse/help/internal/webapp/StatusProducer.java index 9c63cb3b0..71495f970 100644 --- a/org.eclipse.help.webapp/src/org/eclipse/help/internal/webapp/StatusProducer.java +++ b/org.eclipse.help.webapp/src/org/eclipse/help/internal/webapp/StatusProducer.java @@ -308,7 +308,6 @@ public class StatusProducer implements IHelpContentProducer { pageBuffer.append(tab(3)+ "</p>\n"); //$NON-NLS-1$ } else { pageBuffer.append(tab(3)+"<br/><p>\n"); //$NON-NLS-1$ - //pageBuffer.append("<img src=\"PLUGINS_ROOT/org.eclipse.help/command_link.png\"/>"); //$NON-NLS-1$ pageBuffer.append("<a class=\"command-link\"" //$NON-NLS-1$ + " href='javascript:executeCommand(\"org.eclipse.help.ui.ignoreMissingPlaceholders\")'>" //$NON-NLS-1$ + WebappResources.getString("ignoreMissingBooks", locale)+"</a>"); //$NON-NLS-1$ //$NON-NLS-2$ @@ -379,7 +378,7 @@ public class StatusProducer implements IHelpContentProducer { */ private String getActiveLink(Locale locale) { - return "<img src=\"PLUGINS_ROOT/org.eclipse.help/command_link.png\"/>" //$NON-NLS-1$ + return "<img src=\"PLUGINS_ROOT/org.eclipse.help/command_link.svg\"/>" //$NON-NLS-1$ + "<a class=\"command-link\"" //$NON-NLS-1$ + " href='javascript:executeCommand(\"org.eclipse.ui.window.preferences(preferencePageId=org.eclipse.help.ui.contentPreferencePage)\")'>" //$NON-NLS-1$ + WebappResources.getString("remotePreferencesMenuSelect", locale)+"</a>"; //$NON-NLS-1$ //$NON-NLS-2$ diff --git a/org.eclipse.ua.tests/data/help/performance/search/ua_help_content_command_authoring.htm b/org.eclipse.ua.tests/data/help/performance/search/ua_help_content_command_authoring.htm index 97a61689d..0584b330a 100644 --- a/org.eclipse.ua.tests/data/help/performance/search/ua_help_content_command_authoring.htm +++ b/org.eclipse.ua.tests/data/help/performance/search/ua_help_content_command_authoring.htm @@ -49,7 +49,7 @@ our initial example with these two extra features will look like this: </P> <pre><a class="command-link" href='javascript:executeCommand("org.eclipse.ui.help.aboutAction")'> -<img src="PLUGINS_ROOT/org.eclipse.help/command_link.png"> +<img src="PLUGINS_ROOT/org.eclipse.help/command_link.svg"> Open the About dialog</a></pre> <P> |