<ActionMenuSection>
Section:
Class
Required:
No
Value type:
Floating point number
Default:
None
Product:
Creo Elements/Direct Model Manager, Creo Elements/Direct Drawing Manager
Description
Define a new action menu section or reference an existing action menu section.
The default action menu model consists of a set of sections. Each section contains actions that are separated by a menu operator. The default sections are:
Section
Number
Example actions
Actions
1.0
Load, Scan BOM, Export File
Properties
2.0
DB Properties, Table Edit, Change State
Edit
3.0
Cut, Copy, Paste
Permissions
4.0
Reserve, Unreserve
Add Related
5.0
Add New (Part, Thumbnail, Change Note)
Default
6.0
Compare, Subscribe
To define a new action menu section use another floating point number. The sections are ordered by their number. For example, a new section numbered 3.1416 will be placed between the Edit and Permissions sections.
Examples
This example shows how to define a new menu item in an existing action menu section:
<Class extends="DMModel, DMReleaseProcess">
<Name catalog="awm_stda" msg_num="258">MODEL_3D</Name>
<ActionMenuSection>1.0
<Action>com.acme.action.AcmeAction</Action>
</ActionMenuSection>
</Class>
This example shows how to define new menu items in a new action menu section:
<Class extends="DMModel, DMReleaseProcess">
<Name catalog="awm_stda" msg_num="258">MODEL_3D</Name>
<ActionMenuSection>1.5
<Action>com.acme.action.AcmeAction1</Action>
<Action>com.acme.action.AcmeAction1</Action>
</ActionMenuSection>
</Class>
Was this helpful?