如何在eclipse RCP应用程序中添加两个帮助内容?

时间:2014-02-11 06:22:21

标签: eclipse eclipse-rcp rcp

在我的应用程序中,我想添加两个帮助内容。目前我的帮助书中只有一个内容。要添加一个新的,我已经声明了另一个帮助插件,并尝试将其添加到产品依赖项中。但我的第二次帮助没有出现在帮助手册中。我错过了什么吗? 2内容快照:

enter image description here

我想做这样的事情

对此有任何帮助将不胜感激。

toc.xml文件

<?xml version="1.0" encoding="UTF-8"?>
<?NLS TYPE="org.eclipse.help.toc"?>

<toc label="XXX">
    <topic label="Main Topic"  href="html/maintopic.html"> 
        <topic label="Sub Topic" href="html/subtopic.html"/> 
    </topic>
    <topic label="Main Topic 2"/>
</toc>

1 个答案:

答案 0 :(得分:0)

查看Eclipse帮助插件,他们只使用:

<extension point="org.eclipse.help.toc"> 
   <toc file="toc.xml" primary="true" />
</extension>
每个plugin.xml中的

toc.xml和你的一样。