Change the order of plug-ins in table of content [message #540709] |
Thu, 17 June 2010 02:59  |
Eclipse User |
|
|
|
Hi,
I create a standalone help system and and use my plug-ins in it.my help system work good,but I have some questions :
1- how can I change the order of showing plug-ins in table of content?
2- how can I change the language of search Header ?
Thanks in advance
Neda
|
|
|
Re: Change the order of plug-ins in table of content [message #540912 is a reply to message #540709] |
Thu, 17 June 2010 11:34   |
Eclipse User |
|
|
|
Here are some answers:
To change the order that the plugins appear in the table of contents, you can use the helpdata.xml file.
First, change your plugin_customization.ini file to include a line like this:
org.eclipse.help/HELP_DATA=helpdata.xml
Then, in the same directory as the plugin_customization.ini file,
create a file called helpdata.xml. You can find an example of the syntax of that file here: http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/ua_help_setup_help_data.htm
I had to try this several times to get it to work, but eventually it did. One important thing that I discovered was that I needed to save helpdata.xml as UTF8, not as ANSI. I've fought through this recently with a standalone help system and finally have it working (on four operating systems and for 5 or 6 different products), so if you get stuck, I'm happy to provide more information.
To change the language of the search header.. Have you downloaded the Eclipse Babel language packs? You'll need those. If you don't have them, please write back and I can give you those instructions too.
|
|
|
|
|
|
|
Re: Change the order of plug-ins in table of content [message #624180 is a reply to message #540709] |
Thu, 17 June 2010 11:34  |
Eclipse User |
|
|
|
Here are some answers:
To change the order that the plugins appear in the table of contents, you can use the helpdata.xml file.
First, change your plugin_customization.ini file to include a line like this:
org.eclipse.help/HELP_DATA=helpdata.xml
Then, in the same directory as the plugin_customization.ini file,
create a file called helpdata.xml. You can find an example of the syntax of that file here: http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/ua_help_setup_help_data.htm
I had to try this several times to get it to work, but eventually it did. One important thing that I discovered was that I needed to save helpdata.xml as UTF8, not as ANSI. I've fought through this recently with a standalone help system and finally have it working (on four operating systems and for 5 or 6 different products), so if you get stuck, I'm happy to provide more information.
To change the language of the search header.. Have you downloaded the Eclipse Babel language packs? You'll need those. If you don't have them, please write back and I can give you those instructions too.
|
|
|
|
|
Re: Change the order of plug-ins in table of content [message #624194 is a reply to message #541264] |
Wed, 23 June 2010 13:39  |
Eclipse User |
|
|
|
Neda wrote on Sat, 19 June 2010 02:13
> Hi,
> I create plugin_customization.ini in my plugin folder,and then create a helpData.xml file ,but nothing change! How can I find more about ordering the books? I don't know where can I place these files.
> can you help?!
Most likely the plugin_customization.ini file is not getting read.
If you place plugin_customization.ini in the same folder as Eclipse and start Eclipse adding the parameter to set the customization preference like this
eclipse -pluginCustomization plugin_customization.ini
you customizations will get read.
You can add a line like this to plugin_customization.ini
org.eclipse.help.base/advanced.viewBackground=yellow
which sets the background of the table of contents to yellow as a way to verify that the customization file is being read.
|
|
|
|
Powered by
FUDForum. Page generated in 0.05252 seconds