The easiest way to accomplish the first three is to provide an actionSet, added to a new top-level menu and also accessible from its own toolbar.
完成前面三步最容易的方式是提供一个 actionSet ,它被添加到新的顶级菜单中并且可从它自己的工具栏访问。
Add two other actions to the same actionSet with labels "Stops HSQLDB database server" and "Starts HSQLDB database server", providing each with a unique action id and implementation class.
向带有标签“Stops HSQLDB database server” 和“Starts HSQLDB database server”的同一个 actionSet 添加另外两个操作,并为每个操作提供惟一的操作 ID 和实现类。
应用推荐