OpenWindows Developer's Guide: User's Guide
  Search only this book
Download this book in PDF

Adding Devguide to the SPARCworks or ProWorks Environment

C

If you are using SPARCworks or ProWorks, and you want to access Devguide through the SPARCworks or ProWorks Manager, you can add Devguide to the manager as you would any tool. After you do this, the Devguide icon appears on the SPARCworks or ProWorks palette whenever you start up SPARCworks or ProWorks. You do not have to leave the SPARCworks or ProWorks context to use Devguide.
Follow these steps to add Devguide to SPARCworks or ProWorks (see Managing Sparcworks Tools or Managing Proworks Tools for further details):
  1. Select an existing icon.

  2. Duplicate an existing SPARCworks or ProWorks tool by choosing Duplicate Tool from the SPARCworks or ProWorks Edit menu.

    A duplicate of the icon you selected appears on the SPARCworks or ProWorks palette, with a different Icon Name.

  3. Select the new tool icon that appears on the palette.

  4. Choose Selected Tool from the SPARCworks or ProWorks Properties menu.

    The SPARCworks or ProWorks Manager: Tool Icon and Startup Properties popup appears.

  5. Edit the properties of the selected tool.

    a. Change the Tool Name field to Devguide.

b. Change the Command field to
devguide $SUNPRO_SW_TT_ARGS $SUNPRO_SWM_GUI_ARGS
c. Change the Icon File field to

   <$GUIDEHOME>/include/images/guide_32x32.icon  

You must replace <$GUIDEHOME> with the value of $GUIDEHOME for your system.
d. Change the Icon Label field to Devguide.
e. Click SELECT on Apply to apply these changes.

Note - Selecting Apply activates your changes only during the current SPARCworks or ProWorks session. See below.

The SPARCworks or ProWorks Manager: Tool Icon and Startup Properties popup should look something like this now:

Graphic

Figure C-1

with your system value of $GUIDEHOME replacing /net/jans/export/guide/sun4.
f. Select Save As... from the File menu if you want to save the changes that you applied in the previous stop. Choose a new file name so that you don't overwrite the original SPARCworks or ProWorks configuration file.
Saving the file ensures that your changes carry over into your next SPARCworks or ProWorks session. To bring-up the customized file for a new session, type:

  % sparcworks (or proworks) yourfilename &  

You can now open, close, hide, and show Devguide using the Session menu on the SPARCworks or ProWorks palette.