|
The ColdFusion Builder Extension Creator wizard guides
you through the process of creating and packaging extensions. The
wizard guides you through creating the Configuration file (IDE_Config.xml)
and Handler files (CFM), specifying metadata elements, adding context
menus, and creating user interfaces. Note: The ColdFusion Builder
Extension Creator wizard is installed only if you selected Install
Extensions while configuring a ColdFusion server. See the Extensions view
for the list of installed extensions.
In the Navigator view, right-click the project in which
you want to create the extension, and select Adobe Extension Builder
> New.
Enter or browse to a location to store the extension. Select
Create Folder With Extension Name to store the extension files in
a folder with the same name as the extension.
Select the Extension Details tab to enter the extension name
and details. You can also specify any license agreement text that
must appear on installing the extension.
Specify menu contributionsSelect the
Menu contributions tab and click Add Menu to specify a context-menu.
A context-menu is a pop-up menu that appears on a right-click action.
Enter the name of the menu and the target view from where
the menu must appear. You can specify the target view as the Navigator
or Project view, RDS view, Outline view, or the CFML editor. Then,
click Save Menu.
To specify menu items, click Add Action.
You
can associate handlers with an action. Handlers display the code
generation operations that are fetched from the server. Specify
the Handler ID and Handler name, and select Show Response to display
the server response. Then, click Save.
Before a handler is called, you can get user inputs. To do
so, click Add Input.
Specify the input variable name, label for the input dialog
box, tooltip, and the input variable type.
You can also specify the pattern against which the user input
is validated, and the error message that appears when the validation
fails.
Select Required to specify the input field as required, and
select Checked to have the check box selected, by default. Then,
click Save.
To specify filters that control the display of the menu,
click Add Filter. You can specify filters at the project, folder,
and file levels.
Specify handlersSelect the Handlers tab
to view details about the installed handlers.
To
specify a new handler, click Add Handler, and enter the necessary
details.
Select Generates Response to get user inputs before calling
the handler.
Specify the title of the input dialog box, and the height
and width in pixels. Then, click Save Handler.
Create an extension installation wizardSelect
the Install Wizards tab to create an installation wizard that guides
you through the extension installation.
Specify the
height and width of the wizard in pixels. You can also associate
a handler with the wizard. Then, click Save.
Specify a title for the wizard, and click Save.
Specify the input variable name, label for the input dialog
box, tooltip, and the input variable type. You can also specify
the pattern against which the user input is validated, and the error
message that appears when the validation fails.
Package the extensionIn the Navigator
view, right-click the ide_config.xml file and the Handler folder that
contains all the Handler CFM files, and select Adobe Extension Builder
> Package. The files are added to a ZIP file.
Browse to a location to store the ZIP file.
|
|
|