Using the Toolbox
The Komodo Toolbox is used to store the following items for quick access:
Items in the Toolbox are persistent from session to session, regardless of
the project.
In a similar manner to the
Project Manager,
you can create virtual folders to organize items within the Toolbox. Folders
are metaphorical; that is, they do not correspond to a directory on disk.
Adding Folders
To add a folder to the Toolbox, right-click in the Toolbox and select
Add New Folder. Alternatively, click the arrow next to the
"Toolbar" text and select Add New Folder from the drop-down list.
If a folder is selected in the Toolbox, the folder will be added beneath
the existing folder.
Using Folders in the Toolbox
Folders are used to organize objects in the Toolbox.
To add a new item, right-click the folder name and select the type of item you
wish to add. To add an existing item, click and drag the item (using the left
mouse button) from either the Toolbox or the
Project Manager
and drop it into the desired folder.
Right-click a folder to access a context menu with the following options:
- Import from File System: see
adding multiple files
to a project for a description of the import options.
- Properties: view and / change the name of a virtual
folder.
- Rename: to change the name of a folder, select this
option and enter a new name.
- Remove: to remove a folder from a project, select this
option.
- Add New Folder: to add a sub-folder to the selected folder,
select this option. You will be prompted to specify a name for the new
folder.
- Add Existing File: to add a file to the selected folder, select
this option.
- Add Existing Remote File: to add files stored on an FTP server
to a folder, select this option. In order to access remote servers, you must
configure access to the server. See
Opening
Remote Files for
information on accessing files stored on remote FTP servers.
- Add New Snippet: to add a code snippet to the current
folder, select this option. See
Snippets for more
information.
- Add New Command: using Komodo's
Run Commands function, you can
create and save command-line interactions. These commands can be stored in
folders using the Add Command menu option. This menu option
will display the Command Properties dialog, which is described
in the Running External Commands
section of the User Guide.
- Add New Dialog: to add a GUI Dialog to the current folder,
select this menu option. See Using the
GUI Builder for information about building dialogs.
- Add New WebService: to add a Web service reference to the
current folder, select this menu option. See
Web Services for more
information.
- Add New Macro: to add a macro to the current folder, select
this option. See Macros for
more informtion.
- Source Code on Contents: a sub-set of Komodo's
Source Code Control functions
can be performed on the files stored within the selected folder. See
Source Code Control for a
description of these options.
Top
Adding Files
Files can be added to the Toolbox by any of the following methods:
- From Windows Explorer: Drag and drop from Windows Explorer
to the Toolbox.
- From the Komodo Editor Pane: Drag and drop from the file
tab at the top of the Komodo Editor Pane to the Toolbox.
- From the Komodo Project Manager Pane: Drag and drop files
from the Project
Manager pane to the Toolbox.
- Toolbox Context Menu: Right-click in the Toolbox area
of Komodo, and select the option Add Existing File or
Add Existing Remote File. See Opening Remote Files
for more information.
- Toolbox Menu: Click the arrow to the right of the
"Toolbox" text label, and select Add Existing File or
Add Existing Remote File. See Opening Remote Files
for more information.
Using Files in the Toolbox
Double-click a file in the Toolbox to open it in the Editor Pane. Alternatively,
right-click a file and select Open File from the context menu.
The following items are also available on the context menu:
- Refresh Status: use this option to refresh the status
of the file. See
File
Setting in the Komodo Preferences for more information.
- Properties: use this option to view the file's properties
and source code control status.
- Remove: use this option to remove the file from the
Toolbox.
- Source Control: access source code control commands from
this submenu. See SCC
Commands for a description of each command.
Top
Adding Snippets
Code Snippets
can be added to the Toolbox by any of the following methods:
- From the Komodo Project Manager Pane: Drag and drop a
snippet from the
Project
Manager pane to the Toolbox.
- Toolbox Context Menu: Right-click in the Toolbox area
of Komodo, and select the option Add New Snippet
- Toolbox Menu: Click the arrow to the right of the
"Toolbox" text label, and select Add New Snippet.
See Code Snippets for
more information about creating snippets.
Using Snippets in the Toolbox
To insert a snippet in the editor pane, double click the snippet. Alternatively,
right-click the snippet and select Insert Snippet from the
context menu.
The following options are also available from the snippet context menu:
- Properties: displays the name and contents of the snippet,
and has preferences for snippet insertion. See
Code Snippets for more
information.
- Key Bindings: is used to configure custom
Key Bindings for the
snippet.
- Rename: is used to change the name of the command.
- Remove: is used to remove the command from the Toolbox.
Top
Adding Commands
Commands
can be added to the Toolbox by any of the following methods:
- From the Komodo Project Manager Pane: Drag and drop a
command from the
Project
Manager pane to the Toolbox.
- Toolbox Context Menu: Right-click in the Toolbox area
of Komodo, and select the option Add New Command
- Toolbox Menu: Click the arrow to the right of the
"Toolbox" text label, and select Add New Command.
See Running External Commands for
more information about creating commands.
Using Commands in the Toolbox
To run a command, double click it in the Toolbox. Alternatively,
right-click the command and select Run from the
context menu.
The following options are also available from the command context menu:
- Properties: displays the name and contents of the command,
and has a variety of run options. See
Running Commands for more
information.
- Key Bindings: is used to configure custom
Key Bindings for the
command.
- Rename: is used to change the name of the command.
- Remove: is used to remove the command from the Toolbox.
Top
Adding Dialogs
Dialogs
can be added to the Toolbox by any of the following methods:
- From the Komodo Project Manager Pane: Drag and drop a
dialog project from the
Project
Manager pane to the Toolbox.
- Toolbox Context Menu: Right-click in the Toolbox area
of Komodo, and select the option Add New Dialog
- Toolbox Menu: Click the arrow to the right of the
"Toolbox" text label, and select Add New Dialog.
See Using the GUI Builder for
more information about creating dialogs.
Using Dialogs in the Toolbox
Dialog Project Files
Double click a dialog project file to load it in the GUI Builder. Alternatively,
right-click the dialog project and select Edit Dialog from the
context menu.
The following options are also available from the command context menu:
- Test: will generate a graphical model of the dialog.
- Refresh Status: use this option to refresh the status
of the file. See
File
Setting in the Komodo Preferences for more information.
- Properties: displays the name and contents of the project
file and a summary of its source control status.
- Remove: is used to remove the dialog from the Toolbox.
- Source Control: access source code control commands for
the dialog project file from from this submenu. See
SCC Commands for a
description of each command.
- Source Code on Contents: access source code control
commands for the files contained in the dialog project file. See
SCC Commands for a
description of each command.
Dialog Files
Double-click a dialog file in the Toolbox to open it in the Editor Pane.Note
that you should not edit the dialog file with the "_ui.lang" name, as
your changes will be overwritten if you edit the dialog. Alternatively,
right-click a file and select Open File from the context menu.
The following items are also available on the context menu:
- Refresh Status: use this option to refresh the status
of the file. See
File
Setting in the Komodo Preferences for more information.
- Properties: use this option to view the file's properties
and source code control status.
- Remove: use this option to remove the file from the
Toolbox.
- Source Control: access source code control commands from
this submenu. See SCC
Commands for a description of each command.
Top
Adding Web Services
Web Services
can be added to the Toolbox by any of the following methods:
- Drag and Drop: drag and drop a WSDL URL from a browser
address bar or editor onto the Toolbox or onto a folder in the Toolbox or
Project.
- From the Komodo Project Manager Pane: Drag and drop a
Web service from the
Project
Manager pane to the Toolbox.
- Toolbox Context Menu: Right-click in the Toolbox area
of Komodo, and select the option Add New WebService
- Toolbox Menu: Click the arrow to the right of the
"Toolbox" text label, and select Add New WebService.
See Web Services for
more information.
Using Web Services in the Toolbox
To insert a web service into the current document, double click it in the
Toolbox.
The following options are also available from the command context menu:
- View WSDL: use this option to load the WSDL XML file in
the Komodo editor pane.
- Edit Service: use this option to edit the bookmark.
See Adding Web Service
Bookmarks for a description of the fields.
- Generate Proxy: use this option to generate a Perl
module from the WSDL. This is only an option when using Web services within
Perl programs.
- Service Help: use this option to display the relevant Web
Services Library page in the Komodo User Guide.
- Remove: select this item to remove the Web service
bookmark from the project or the Toolbox. The bookmark will still be available
in the Web Services Bookmark Manager dialog (Tools | Web Services | Manage
Bookmarks). To permanently delete the bookmark, use the
Web Services Bookmark Manager dialog, as described below.
Top
Adding Macros
Macros
can be added to the Toolbox by any of the following methods:
- From the Komodo Project Manager Pane: Drag and drop a
macro from the
Project
Manager pane to the Toolbox.
- Toolbox Context Menu: Right-click in the Toolbox area
of Komodo, and select the option Add New Macro. You will be
prompted to enter the location of an existing macro file.
- Toolbox Menu: Click the arrow to the right of the
"Toolbox" text label, and select Add New Macro. You will be
prompted to enter the location of an existing macro file.
- Macro Drop-Down Menu: After recording a macro, use the
Tools | Macros | Save to Toolbox command to save the macro
to the Toolbox.
See Macros for
more information.
Using Macros in the Toolbox
Double click a macro in the Toolbox to execute it. Alternatively, right-click
the macro and select Execute Macro from the context menu.
The following options are also available from the context menu:
- Edit Macro: will open the macro in the editor pane. Note
that this version of Komodo does not include an API for macro programming.
- Properties: is used to view the name and file name of the
macro, and to configure
Key Bindings.
- Rename: use this option to change the name of the macro.
- Remove: use this option to remove the macro from the
Toolbox. Note that the macro file will not be deleted.
Top
Adding Links
To add a link to a URL to the Toolbox, select a URL from a browser
address bar or from the editor pane and drag it with the mouse onto the Toolbar.
URLs must have the prefix "http://".
Using Links
Double click a link to open your system's default browser and load the URL.
Alternatively, right-click the link and select Open URL
from the context menu. The following options are also available on the
context menu:
- Rename: change the name of the URL.
- Remove: remove the URL from the Toolbox.
Top
|