Actions Subtab
The Actions subtab of the Document Type Configuration dialog box contains a sortable table with all the Author mode actions that are configured for the specific framework. Each action has a unique ID, a name, a description, and a shortcut key.
To open the Actions subtab, open the Preferences dialog box , go to Document Type Association, select your framework, use the Duplicate or Extend button to create an extension of the framework (or the Edit button for an already extended framework), click on the Author tab, and then the Actions subtab.
- Export existing actions (
) -
It is possible to export existing actions to use them in other frameworks. Each exported action is extracted from the framework configuration file and exported as an individual XML file.
To export actions, the Storage option in the top part of the Document Type Configuration dialog box must be set to External and the external location must be a subdirectory of your current framework directory.
The
Export action is found by right-clicking an action or a selection of
multiple actions (the
Export button is also located below the table
of actions). If you choose to export a single action, a resulting dialog box will
allow you to select the destination path for the new XML file that contains the
configuration details of the action. If you export multiple actions, they will
automatically be saved as individual XML files inside a newly created folder (it will
have _externalAuthorActions at the end of the folder name) inside your
current framework directory.Result: Exported actions will display the
icon in the first column in the table.Important:The newly created files for the exported actions will not appear on disk until you click OK several times to confirm your changes and exit the Preferences dialog box.Tip:If you want to create a new XML file for an action, there is a document template called Author Actions in the New from templates wizard to help you get started.Note:You can add or edit the action files outside of Oxygen XML Editor Eclipse plugin, but you will need to restart the application each time to reload the changes.For more information, see Creating or Editing Actions Using an Individual XML File for Each Action.
- Open in editor (
) - For exported actions, there is a
Open in editor action in the contextual menu
that will open the file for that action in the main editor. - Create a new action (
) - Use the
New button (located underneath the table of
actions) to open the Action dialog box where you can configure a new
action. - Duplicate an existing action (
) - Use the
Duplicate action (found in the contextual menu and underneath the table
of actions) to duplicate the selected action. - Edit an existing action (
) - Use the
Edit button (found in the contextual menu and underneath the table of
actions) to open the Action dialog box where you can edit the selected
action. - Delete an existing action (
) - Use the
Delete button (found in the contextual menu and
underneath the table of actions) to delete the selected action.