The toolbar makes it easier to use the different Erlang tools - and the user contributions - which are provided. It has a graphical user interface with an icon for each tool. Clicking the icon activates the corresponding tool.
All tools to be included on the toolbar must
have a configuration file containing information about the tool,
for example its start function and help information location.
Configuration files must have the .tool
suffix.
When started, the toolbar automatically checks for *.tool
files in the current path and adds the corresponding tools. For
each ebin
directory found in the path, it will also look
in a priv
directory next to it. This is a feature of the Erlang
file structure.
start() -> ok | already_started
Creates a window containing tool icons.
Returns the current version number of the toolbar.
update() -> ok | {error,not_started}
Makes a search for new tool files in the current path and adds the corresponding tools to the toolbar window.
quit() -> ok | {error,not_started}
create_tool_file() -> ok | {error,not_started}
Starts the GUI used for creating and editing tool files.
add_gs_contribs() -> ok | {error,not_started}
Adds the path to the directory where the GS contributions are situated and add the tools found there, if any.