Specifications

Stored in exported
flow
Reference in SwitchStorage model
NameNameIn a private repository (database) controlled by
the third-party application and only accessible
by Switch by name and through the third-party
application
Some applications support multiple storage models for the same property (that is, the property
can be specified as a named repository item or as a file path). Switch configurators can easily
accommodate this by providing multiple property editors for the property.
Selecting a property set
Switch allows a choice between browsing for a file (the first storage model) or selecting from a
list of names (the second and third storage models). Note that there is no way to show a tree
structure; only a linear list of names.
The following table describes the implementation mechanism and the cooperation required from
the third-party application depending on the storage model.
Cooperation required
from application
Implemented throughAction in SwitchStorage model
"Choose file" property
editor
"Choose file" property
editor
Allow the user to browse the
file system for a property set
As a regular file
in the file system
Document the location
of the repository
folder
"Select from library"
property editor with
getLibraryForProperty
entry point that iterates
List all of the appropriate
files in the repository folder
and show them in a dialog
after stripping the filename
extension
In an open
repository as a
regular file
over the repository
folder
Provide a run-time
mechanism to retrieve
"Select from library"
property editor with
Request the list of names
from the third-party
In a private
repository, by
name the list of names on
request
getLibraryForProperty
entry point that
interacts with the
third-party application
application and show them
in a dialog box
Communication requirements
The Switch configurator needs a mechanism to communicate with the third-party application
with the following basic requirements:
Pass on the values of the properties to configure the behavior of an action.
Start an action on some input file(s).
Detect termination of an action.
Locate the output file(s).
Determine success/warning/error status.
350
Enfocus Switch 10