该ConsoleView
视图工具栏创建这样的:
protected void configureToolBar(IToolBarManager mgr) {
mgr.add(new Separator(IConsoleConstants.LAUNCH_GROUP));
mgr.add(new Separator(IConsoleConstants.OUTPUT_GROUP));
mgr.add(new Separator("fixedGroup"));
...
因此,您的before值可能应该IConsoleConstants.LAUNCH_GROUP
是launchGroup
:
/**
* Menu group identifier for the console view context menu and toolbar, for actions pertaining to
* launching (value <code>"launchGroup"</code>).
*/
public static final String LAUNCH_GROUP = "launchGroup";
/**
* Menu group identifier for the console view context menu and toolbar, for actions pertaining to
* console output. (value<code>"outputGroup"</code>).
*/
public static final String OUTPUT_GROUP = "outputGroup";
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句