can i have several eclipse help files/archives into a single eclipse plugin [message #633028] |
Fri, 15 October 2010 07:24 |
xavier locquet vandenberghe Messages: 2 Registered: October 2010 |
Junior Member |
|
|
goal
How can i have several eclipse help files/archives into one single plugin
Background
My current eclipse help system contains a single doc.zip file.
If several help files were required, i was either creating an other plugin with identical structure or i merged the several helps into a single doc.zip and having an enumeration of the several toc in the plugin.xml and the toc.xml
you can find extracts of the file below.
Lately i got several eclipsehelp files. They have their toc inside the archive itself and do not have to be named doc.zip.
Someone working on the infocenter mentionned their preferenceCustomization.
The help archives are dropped into a directory... and if order is important, then the helpData.xml is modified... but that's it.
I tried to modify my existing files so they would reflect the infocenter's one.
unfortunatly without much succcess.
Questions
I was wondering:
- does this preferenceCustomization working for eclipse desktop sdk or is it something reserved to infocenter?
- What are the difference to make something that is working on info center , working on eclipse desktop sdk
- ultimately, the idea is to have several eclipsehelp files in one plugin... is there an other way than preferenceCustomization
Regards,
Xavier
existing working files for the project are found in the directory
eclipse\dropins\plugins\myhelp
doc.zip
myhelptoc.xml
toc.xml
plugin.xml
plugin.xml
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
<extension point="org.eclipse.help.toc">
<toc file="toc.xml" primary="true" />
<toc file="myhelptoc.xml" primary="false" />
</extension>
</plugin>
toc.xml
<?xml version="1.0" encoding="utf-8"?>
<!--Arbortext, Inc., 1988-2004, v.4002-->
<?APT Element gi="toc" attrs="label"?>
<?APT Element gi="link" empty="yes" attrs="toc"?>
<?eclipse version="3.3"?>
<?NLS TYPE="org.eclipse.help.toc"?>
<toc label="My help">
<link toc="myhelptoc.xml"/>
<topic label="some other topic">
<link toc="../an.other.plugin/eclipsehelp/toc.xml"/>
</topic>
</toc>
myhelptoc.xml
<?xml version="1.0" encoding="utf-8"?>
<!--Arbortext, Inc., 1988-2004, v.4002-->
<?APT Element gi="toc" attrs="label"?>
<?APT Element gi="topic" attrs="label href"?>
<?eclipse version="3.0"?><?NLS TYPE="org.eclipse.help.toc"?>
<toc label="My Help">
<topic label="Overview" href="myhelptoc//docs/content0.htm">
<topic label="Description" href="myhelptoc//docs/content1.htm">
...
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04252 seconds