The wizard for the ActionButton template allows you to easily create a button, an action, an event handler, and the code for calling a method and triggering an event.
You have completed all steps described under View Templates.
To create a button using the ActionButton template, proceed as follows:
1. Choose the option ActionButton. Enter a name for the template or use the default.
2. Choose Next. In the next window, you define the button label, an action, and the events. You can either use the default name or enter a new one. The names for the label, action, and event, can be assigned independently.
3. Choose Next to proceed to the wizard window for defining the methods and plugs. By setting the Fire Plug flag, you define the firing of the plug.
4. Close the wizard by choosing Finish and save your changes by choosing Save all Metadata.