| United States-English |
|
|
|
![]() |
HP Visual User Environment 3.0 User's Guide > Chapter 19 Introduction to Actions and FiletypesGeneral Action and Filetype Concepts |
|
In many cases, Create Action will easily integrate your application into HP VUE. However, the action and filetype database provides additional functionality. To take full advantage of its features, it is helpful to understand some basic concepts. You can use these concepts to design how the application will be integrated into HP VUE. Actions replace command lines. Actions provide a visual representation of a command. The action definition specifies the command to be executed when the action is invoked, and connects the command with a visual representation (an icon). That icon becomes a graphical user interface for the command. Filetypes connect applications with their data. A filetype provides both a visual and behavioral distinction for data files:
Actions can be used different ways. Once you've created an action for an application, you can set up your environment to start the application from:
Actions and filetypes have scope. Scope defines who can create and use actions and filetype:
Actions are network transparent. Actions let you start an application exactly the same way regardless of where in the network it resides:
Before writing filetypes and actions, there are some design issues to consider. Defining the scope. The scope of the action is determined by the database in which it is defined:
Connecting applications with data. If an application uses data files, you may want to create a filetype for the application. At the very least, the filetype can provide a unique icon in File Manager. The next thing you need to know is whether or not the application can be started with a file argument. This depends on the syntax of the command to start the application. For example, Text Editor can be started with an empty tablet or with a file argument.
Some applications require that data be loaded into the application after the application is started. In this case, no file argument is allowed on the command line. Commands without file arguments. You can provide these behaviors:
Commands with file arguments. You can provide these behaviors:
|
|||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||