1 用户界面开发——实例说明 ——Creating a Workbench 一、目标 1
1 目标 Showing how to create a workbench to be added to a given workshop
2 显示界面(w orkbench ) Like the workshop, the workbench is an object that gathers the commands to work on the document and arrange them in toolbars and menus
3 命令标签(command header) Command headers are used to make the link between the workbench and the commands
二、CAAAfrGeoCreationWbench 实例说明 2
1 功能 The CAAAfrGeoCreationWbench use case creates a workbench named CAA Geometrical Creation for the CAAGeometry document
Its specifications cover most of the cases you will meet
Two toolbars are provided: The Solids toolbar
It includes five new commands: Cuboid, Sphere, Torus, and Cylinder 1 and 2
The Surfaces toolbar
It includes three new commands: Revolution Surface, Nurbs S