eclipse - How do I create a context sensitive help in Run Configurations? -


i have create in run configurations on plugin. same picture.

enter image description here http://i.stack.imgur.com/bu5xl.png

i have searched on many sites include google, or in textbooks, haven't found how it. should ? or have suggestions?

thank in advance.

this done using normal eclipse context system.

you specify context id in org.eclipse.debug.ui.launchconfigurationtabgroups extension point using helpcontextid of launchconfigurationtabgroup

example junit:

<extension      point="org.eclipse.debug.ui.launchconfigurationtabgroups">   <launchconfigurationtabgroup         type="org.eclipse.jdt.junit.launchconfig"         helpcontextid="org.eclipse.jdt.junit.junit_tab_group"         class="org.eclipse.jdt.internal.junit.launcher.junittabgroup"         id="org.eclipse.jdt.junit.launchconfigurationtabgroup.junit">      <launchmode            perspective="org.eclipse.debug.ui.debugperspective"            description="%junittabgroupdescription.debug"            mode="debug">      </launchmode>      <launchmode            description="%junittabgroupdescription.run"            mode="run">      </launchmode>   </launchconfigurationtabgroup> </extension> 

use org.eclipse.help.contexts extension point declare file containing context ids:

<extension point="org.eclipse.help.contexts">     <contexts file="contexts_jdt_junit.xml" plugin="org.eclipse.jdt.junit"/>  </extension> 

and context file contents:

<?xml version="1.0" encoding="utf-8"?> <?nls type="org.eclipse.help.contexts"?> <contexts>     <context id="junit_tab_group">         <description>this launch configuration runs junit tests.</description>         <topic label="using junit" href="gettingstarted/qs-junit.htm"/>     </context> </contexts> 

see eclipse more details.


Comments