mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-02 18:05:39 +00:00
eclipse plugin: Configure the HELP system at startup
This commit is contained in:
parent
306900cdbc
commit
21c0f6bedd
@ -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…
x
Reference in New Issue
Block a user