Product Family: SCORE®
Target CPU: Any
Language: Any
Host: Any
Using the SCORE® GUI, users can easily integrate their own tools. The SCORE® GUI allows
user defined tools to exist at three levels. Tools can be defined (1) as available to all users of
all projects, (2) as available to all users of a particular project only, or (3) as available for a
single user on a single project.
Defining a tool available to all users of all projects
Suppose your company has a tool for handling the configuration management of source code
files (eg. rcs). One of the features of most CM tools is the ability to display the history of information
about the changes that have been made to a particular file (eg. rlog ). To use this tool, we
would like to be able to have a file open in the editor and the tool display the history information for the
file. To define this tool, select Preferences | Tools. When the Tools dialog appears, press the "New"
button. The New Tool dialog is then displayed which requires the following information:
Menu text : Enter the name of the new tool you wish to create. For our example, enter "File History".
Command : Enter the pathname of the new tool. For our example, enter "rlog"
Arguments : Use the Argument text box to enter arguments (if any) to accompany the new tool you
are creating. The SCORE® GUI provides several pre-defined macros that are availble for
passing as arguments to tools. For our example, enter the macro name "&FILE_PATH".
This macro is defined to be the current file path and file name (eg. c:\source\about.h) open
in the editor. See the table below for a complete list of all available macros.
Initial directory : Enter the name of the initial directory where your new tool is to be invoked. For our
example, leave this blank.
Status Bar Text : Enter the text you wish to display on the status bar (if any) when your new tool is selected.
For our example, enter "Display history information for a file".
When finished entering your choices for the New Tool dialog, click OK to implement your changes and exit the dialog.
Now a tool called "File History" appears in the Tools menu available that will display the history information for the currently
selected file open in the editor.
Defining a tool for all users of a particular project
Some tools may only be needed for a particular project, but all users of the project need to be able to use the tool. The project
administrator can define a tool at the project level which will be available for all users of the project. To do this the project
administrator opens the particular project and selects Project | Project Mode. Then select Project | Edit to display the
Edit Project dialog. Select the Tools tab on the Edit Project dialog and the New Tools dialog is displayed. Here the tool
can be defined exactly as stated above and will be listed in the Tools menu. However, this tool will only be available when
the particular project it was defined for is opened by a user.
Defining a tool for one user of a particular project
Users often need to be able to define tools that make getting their work done easier. A user can define a tool for a project that
is only availble for them. By default a project is in user mode. To define a tool for a project, the user would select Project | Edit
to display the Edit Project dialog. Select the Tools tab on the Edit Project dialog and the New Tools dialog is displayed. Here
the tool is defined exactly as stated in the first section above and will be listed in the Tools menu. However, this tool will only
be availble for this user when the project is opened.
Customer Quote:
"You have talented and dedicated people working for you. They are superlative. DRS appreciates their efforts and I personally am most grateful to be working with such an excellent group."