| United States-English |
|
|
|
![]() |
Common Desktop Environment: Advanced User's and System Administrator's Guide > Chapter 4 Registering
an ApplicationStep 4: Creating the Actions and Data Types for the Application |
|
Actions and data types provide a user interface for the application.
Typical applications require the following action and data type definitions:
For an introduction to how actions and data types are used in the desktop, see Chapter 8 “Introduction to Actions and Data Types” Actions and data types are defined in configuration files. The only naming requirement for files containing action and data type definitions is that they must have a .dt suffix. By convention, you may want to name the file action_name.dt or application_name.dt. Place files containing actions and data types under the application root in the directory:
The default language is C. You can create action and data type definitions for an application in either of two ways:
This procedure uses the Create Action utility to create an action and data types for the application. For more information about Create Action, use its online help or see Chapter 9 “Creating Actions and Data Types Using Create Action”
Action and data type definition files must follow the naming convention name.dt. You can place all your action and data type definitions in one file or distribute them among multiple files. For each file, use a file name that system administrators will easily connect with your application. Action and data type names must be one word (no embedded spaces). You can use an underscore character. By convention, the first letter of the action or data type name is capitalized. Do not use an existing action name or file name. Use a name that advanced users and system administrators will easily connect with your application. If you want the application's icon labeled with a different name than the action name, include a LABEL field in the action definition. For more information about creating actions and data types, see: |
||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||