eclipse plugin: Configure the HELP system at startup
This commit is contained in:
parent
306900cdbc
commit
21c0f6bedd
1 changed files with 5 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
|||
package org.wesnoth.product;
|
||||
|
||||
import org.eclipse.ui.IWorkbenchWindow;
|
||||
import org.eclipse.ui.actions.ActionFactory;
|
||||
import org.eclipse.ui.application.IActionBarConfigurer;
|
||||
|
||||
public class WesnothActionBarAdvisor extends WorkbenchActionBuilder
|
||||
|
@ -23,5 +24,9 @@ public class WesnothActionBarAdvisor extends WorkbenchActionBuilder
|
|||
protected void makeActions(IWorkbenchWindow window)
|
||||
{
|
||||
super.makeActions( window );
|
||||
|
||||
// add dynamic help hooks
|
||||
register( ActionFactory.HELP_SEARCH.create( window ) );
|
||||
register( ActionFactory.DYNAMIC_HELP.create( window ) );
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue