New, File, Directory, Wizard
A creatable is created with a New
, File
,
Directory
or Wizard
element.
Attribute | Options | |
---|---|---|
index |
Index of the creatable in a category. | New , File , Directory ,
Wizard |
name |
Creatable name (internal id). Required. | New , File , Directory ,
Wizard |
action |
See action attribute. Required for New and
Wizard creatables. |
New , File , Directory ,
Wizard |
actionLabel |
Label of the creatable when used as an action. | New , File , Directory ,
Wizard |
icon |
Creatable icon found. | New , File , Directory ,
Wizard |
extension |
Extension of the file to be created by the creatable. | New , Wizard , File |
copy |
Copies file(s) before opening. If used, user is asked to choose file path and name when executing the creatable. |
File , Directory |
isTemplate |
Specifies if file(s) should be opened using the template listed in the source attribute. | File , Directory |
source |
Path of source directory or source file used as the model for new file. Required. | File , Directory |
masterFile |
Specifies the master file (The name of a file in the directory). |
Directory |
open |
List of files to open. This should specify files in the directory. | Directory |
nameLabel |
Label used in the File >> New dialog for the field where the user enters the name that will be given to the master file. | Directory |
Syntax
<Creatables>
<Category attributes >
<Category attributes >
<New attributes />
<File attributes />
<Directory attributes />
<Wizard attributes />
</Category>
</Category>
</Creatables>
Example: Managed Form File Type
<Creatables version="1.0">
<Category index="5" label="Design (MDA)" name="MDA" icon="document_4ba" >
<Category index="40" label="Managed Code" name="ManagedCode">
<Wizard index="10"
name="FDModuleForm"
action="FDNew"
label="Module Form from Database (4fdm)"
icon="document_4fdm"
description="Create an empty module in Form Designer"
extension="4fdm" />
</Category>
</Category>
</Creatables>