【发布时间】:2018-12-28 12:22:54
【问题描述】:
我有一个触发 Run(Ctrl + F11)
但我想做比跑步更多的动作。
我想在handler中调用run的命令id
public class CheckCodesHandler extends AbstractHandler{
@Override
public Object execute(ExecutionEvent event) throws ExecutionException {
IWorkbenchWindow window = HandlerUtil.getActiveWorkbenchWindowChecked(event);
/*
* call the commandid = org.eclipse.debug.ui.runLast here?????
* */
return null;
}
}
到目前为止,我只是调用了plugin.xml中的命令id来执行它。
【问题讨论】:
标签: java eclipse plugin.xml