diff options
author | lparsons | 2004-06-04 18:24:28 +0000 |
---|---|---|
committer | lparsons | 2004-06-04 18:24:28 +0000 |
commit | 6503fc0dd57dd262816889ca12ef8e5603cdce87 (patch) | |
tree | 343b16aad37c1e5df48079c398383232625eb184 /org.eclipse.ui.cheatsheets | |
parent | e1438973702d7ca684f96eb24a6a812ee01f3853 (diff) | |
download | eclipse.platform.ua-6503fc0dd57dd262816889ca12ef8e5603cdce87.tar.gz eclipse.platform.ua-6503fc0dd57dd262816889ca12ef8e5603cdce87.tar.xz eclipse.platform.ua-6503fc0dd57dd262816889ca12ef8e5603cdce87.zip |
Fix for Bug 64837
Diffstat (limited to 'org.eclipse.ui.cheatsheets')
2 files changed, 3 insertions, 3 deletions
diff --git a/org.eclipse.ui.cheatsheets/schema/org.eclipse.ui.cheatsheets.cheatSheetContent.exsd b/org.eclipse.ui.cheatsheets/schema/org.eclipse.ui.cheatsheets.cheatSheetContent.exsd index 8afc0e96a..2f4f168cf 100644 --- a/org.eclipse.ui.cheatsheets/schema/org.eclipse.ui.cheatsheets.cheatSheetContent.exsd +++ b/org.eclipse.ui.cheatsheets/schema/org.eclipse.ui.cheatsheets.cheatSheetContent.exsd @@ -124,8 +124,8 @@ added to the "Other" category. <attribute name="contentFile" type="string"> <annotation> <documentation> - a cheat sheet content file. The content file is an XML file that contains the specifics of the cheat sheet (<a href="cheatSheetContentFileSpec.html">cheat sheet content file format specification)</a>. -The content file is parsed at run time by the cheat sheet framework. Based on the settings in this file, a certain number of steps, actions, descriptions, and help links are shown to the user when the cheat sheet is opened. + the path of a cheat sheet content file. The content file is an XML file that contains the specifics of the cheat sheet (<a href="cheatSheetContentFileSpec.html">cheat sheet content file format specification)</a>. +The content file is parsed at run time by the cheat sheet framework. Based on the settings in this file, a certain number of steps, actions, descriptions, and help links are shown to the user when the cheat sheet is opened. The path is interpreted as relative to the plug-in that declares the extension; the path may include special variables. In particular, use "$nl$" as the first segment of the path to indicate that there are locale-specific translations of the content file in subdirectories below "nl/". For more detail about the specail variables, you can read the Java API document for <a href="../api/org/eclipse/core/runtime/Platform.html#find">Platform.find</a>. </documentation> </annotation> </attribute> diff --git a/org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/views/CheatSheetViewer.java b/org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/views/CheatSheetViewer.java index 30876b423..dc695b0d9 100644 --- a/org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/views/CheatSheetViewer.java +++ b/org.eclipse.ui.cheatsheets/src/org/eclipse/ui/internal/cheatsheets/views/CheatSheetViewer.java @@ -790,7 +790,7 @@ public class CheatSheetViewer implements ICheatSheetViewer { // do nothing } if (bundle != null) { - contentURL = Platform.find(bundle, new Path("$nl$").append(element.getContentFile())); //$NON-NLS-1$ + contentURL = Platform.find(bundle, new Path(element.getContentFile())); } if (contentURL == null) { |