1996 2012 Ericsson AB, All Rights Reserved The contents of this file are subject to the Erlang Public License, Version 1.1, (the "License"); you may not use this file except in compliance with the License. You should have received a copy of the Erlang Public License along with this software. If not, it can be retrieved online at http://www.erlang.org/. Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. The Initial Developer of the Original Code is Ericsson AB. toolbar Gunilla Hugosson 1997-04-21 A toolbar.sgml
toolbar GUI for Starting Tools and User Contributions

The Toolbar application is deprecated and will be removed in R16.

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 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, 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 Start Toolbar

Creates a window containing tool icons.

version() -> string() Return current version number

Returns the current version number of Toolbar.

update() -> ok | {error,not_started} Update Toolbar

Makes a search for new tool files in the current path and adds the corresponding tools to Toolbar window.

quit() -> ok | {error,not_started} Quit Toolbar. create_tool_file() -> ok | {error,not_started} Create tool files

Starts the GUI used for creating and editing tool files.

add_gs_contribs() -> ok | {error,not_started} Add GS contributions

Adds the path to the directory where the GS contributions are situated and add the tools found there, if any.