Jump to content

Installing the VisualAge UML Designer: Difference between revisions

From EDM2
mNo edit summary
Ak120 (talk | contribs)
mNo edit summary
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
By [[Russel Kneebone]]
''By [[Russell Kneebone]]''


The VisualAge UML Designer is distributed as a "goodie" for IBM's VisualAge Smalltalk, and is available for the Windows and OS/2 client components of VAST. In this article it is assumed that a non-programmer has gone through the stand-alone install of VisualAge Smalltalk 6.01 (now that it is free for non-commercial use) and downloaded the UML Designer <tt>.ZIP</tt> file specifically to try the modeling tool. This zip file may be found by pointing your browser at [http://www.software.ibm.com IBM Software], taking the '''"Support & downloads"''' link, then the '''"Downloads & Drivers"''' link and entering UML Designer as the search term. It should return as the first matching link.  
The VisualAge UML Designer is distributed as a "goodie" for IBM's VisualAge Smalltalk, and is available for the Windows and OS/2 client components of VAST. In this article it is assumed that a non-programmer has gone through the stand-alone install of VisualAge Smalltalk 6.01 (now that it is free for non-commercial use) and downloaded the UML Designer <tt>.ZIP</tt> file specifically to try the modelling tool. This zip file may be found by pointing your browser at [http://www.software.ibm.com IBM Software], taking the '''"Support & downloads"''' link, then the '''"Downloads & Drivers"''' link and entering UML Designer as the search term. It should return as the first matching link.  


==Installation==
==Installation==
The page containing the install instructions for this goodie are nearly as daunting and incomprehensible as Smalltalk itself to a non-programmer, so let's take them one by one. However, before we start it might be advisable to take a copy of the <tt>abt.icx</tt> file from the <tt>image601</tt> directory in case the installation fails in some way.
The page containing the install instructions for this goodie are nearly as daunting and incomprehensible as Smalltalk itself to a non-programmer, so let's take them one by one. However, before we start it might be advisable to take a copy of the <tt>abt.icx</tt> file from the <tt>image601</tt> directory in case the installation fails in some way.


Line 22: Line 21:


4.- Ensure that the following config maps have been loaded into the VAST development image If not, load them in the following order:
4.- Ensure that the following config maps have been loaded into the VAST development image If not, load them in the following order:
a. OTIML SGML Support
:a. OTIML SGML Support
b. AbtXmlPrimitive
:b. AbtXmlPrimitive
c. ENVY/Image Print Previewer
:c. ENVY/Image Print Previewer
d. ENVY/Image Drag And Drop
:d. ENVY/Image Drag And Drop
This is where the instructions start to assume a great deal more experience with VAST than we actually have. For a start, go to the Options menu as shown below and choose Full menus.
This is where the instructions start to assume a great deal more experience with VAST than we actually have. For a start, go to the Options menu as shown below and choose Full menus.


[[Image:UML_FullMenus.png|UML Full Menu]]
[[Image:UML_FullMenus.png|centre|frame|UML Full Menu]]


This makes the Configuration maps menu item of the Tools menu visible, as shown here.  
This makes the Configuration maps menu item of the Tools menu visible, as shown here.  


[[Image:UML_ConfigurationMaps.png|UML Configuration Maps]]
[[Image:UML_ConfigurationMaps.png|centre|frame|UML Configuration Maps]]


The Configuration Maps browser is typical of the three column browsers offered throughout VAST. Choosing an item from the list on the left brings up a list in the middle column, and choosing an element from that list brings up items in the right column. In the context of this browser, a configuration map is loaded if an asterisk precedes the application name in the right column. This will not be the case for three of the four configuration maps listed above. To load the map right-click on a selected application and take the load option as shown.
The Configuration Maps browser is typical of the three column browsers offered throughout VAST. Choosing an item from the list on the left brings up a list in the middle column, and choosing an element from that list brings up items in the right column. In the context of this browser, a configuration map is loaded if an asterisk precedes the application name in the right column. This will not be the case for three of the four configuration maps listed above. To load the map right-click on a selected application and take the load option as shown.


[[Image:UML_LoadApplication.png|UML Load Application]]
[[Image:UML_LoadApplication.png|centre|frame|UML Load Application]]


It does no harm to load the last (already loaded) item as well.
It does no harm to load the last (already loaded) item as well.


5.- Swipe and execute the following code from a VAST workspace:  
5.- Swipe and execute the following code from a VAST workspace: <tt>EtTools moveAllRequiredMapsToo: true</tt>
  <tt>EtTools moveAllRequiredMapsToo: true</tt>
Here we see the fact that the tool is written in Smalltalk and is being interpreted from its image coming into play. The System Transcript window is (unexpectedly) able to edit its contents, so the easiest thing to do is position to the end of the last message logged, press enter and then paste the line shown into that window. Then highlight this new line in the System Transcript window and choose execute from the '''Edit''' menu as shown.  
Here we see the fact that the tool is written in Smalltalk and is being interpreted from its image coming into play. The System Transcript window is (unexpectedly) able to edit its contents, so the easiest thing to do is position to the end of the last message logged, press enter and then paste the line shown into that window. Then highlight this new line in the System Transcript window and choose execute from the '''Edit''' menu as shown.  


[[Image:UML_SystemTranscript.png|UML System Transcript]]
[[Image:UML_SystemTranscript.png|centre|frame|UML System Transcript]]


This step ensures that dependencies are handled automatically on the next import.
This step ensures that dependencies are handled automatically on the next import.
Line 52: Line 50:
From the Names menu on the Configuration Maps browser take the Import option as shown and navigate to the manager directory as described. There will only be one <tt>.dat</tt> file in this directory.  
From the Names menu on the Configuration Maps browser take the Import option as shown and navigate to the manager directory as described. There will only be one <tt>.dat</tt> file in this directory.  


[[Image:UML_ImportConfigMap.png|UML Import Config Map]]
[[Image:UML_ImportConfigMap.png|centre|frame|UML Import Config Map]]


The ''''Goodies - UML Designer'''' configuration map should be selectable.
The ''''Goodies - UML Designer'''' configuration map should be selectable.


[[Image:UML_ImportUMLDesigner.png|UML Import UML Designer]]
[[Image:UML_ImportUMLDesigner.png|centre|frame|UML Import UML Designer]]


After much scrolling of the system transcript window the following screen should appear:
After much scrolling of the system transcript window the following screen should appear:


[[Image:UML_ImportedApplication.png|UML Imported Application]]
[[Image:UML_ImportedApplication.png|centre|frame|UML Imported Application]]


7.- Swipe and execute the following code from a VAST workspace:
7.- Swipe and execute the following code from a VAST workspace: <tt>EtTools moveAllRequiredMapsToo: false</tt>
  <tt>EtTools moveAllRequiredMapsToo: false</tt>


See step 5 for the procedures to undo the automatic collection of dependencies on import.
See step 5 for the procedures to undo the automatic collection of dependencies on import.


[[Image:UML_SystemTranscript2.png|UML System Transcript]]
[[Image:UML_SystemTranscript2.png|centre|frame|UML System Transcript]]


8.- Load the '''"Goodie - UML Designer"''' config map with required maps.
8.- Load the '''"Goodie - UML Designer"''' config map with required maps.
Line 73: Line 70:
At this point highlighting the imported goody in the browser shows applications ready to be loaded in the pane immediately beneath the right column of the browser. Select, right-click and '''Load''' as shown.
At this point highlighting the imported goody in the browser shows applications ready to be loaded in the pane immediately beneath the right column of the browser. Select, right-click and '''Load''' as shown.


[[Image:UML_LoadRequiredMaps.png|UML Load Required Maps]]
[[Image:UML_LoadRequiredMaps.png|centre|frame|UML Load Required Maps]]


There will be a message halfway through working this list that can be answered with a Yes.
There will be a message halfway through working this list that can be answered with a Yes.


[[Image:UML_PressYes.png|UML Press Yes]]
[[Image:UML_PressYes.png|centre|frame|UML Press Yes]]


After these steps it is best to exit VAST, saving the image on exit of course, and optionally taking another copy of the image (<tt>abt.icx</tt>) to give a clean UML Designer baseline image.
After these steps it is best to exit VAST, saving the image on exit of course, and optionally taking another copy of the image (<tt>abt.icx</tt>) to give a clean UML Designer baseline image.
Line 83: Line 80:
If you re-enter VAST as this point you will see the new menu on the System Transcript window and the options shown.
If you re-enter VAST as this point you will see the new menu on the System Transcript window and the options shown.


[[Image:UML_TheResult.png|UML The Result]]
[[Image:UML_TheResult.png|centre|frame|UML The Result]]


At this point it is probably best to consult the IBM Redbook [http://publib-b.boulder.ibm.com/Redbooks.nsf/9445fa5b416f6e32852569ae006bb65f/06e3c252ce791745852566580064d6c3?OpenDocument&Highlight=0,SG244997 Using VisualAge UML Designer (SG244997)]. Have fun! But just as a primer, to whet your appetite, here are a few screenshots. The relationship browser is the heart of UML Designer. Shown below is that browser listing some of the examples shipped with the tool.
At this point it is probably best to consult the IBM Redbook [http://www.redbooks.ibm.com/redbooks/4instantiations/sg244997.pdf Using VisualAge UML Designer (SG244997)]. Have fun! But just as a primer, to whet your appetite, here are a few screenshots. The relationship browser is the heart of UML Designer. Shown below is that browser listing some of the examples shipped with the tool.


[[Image:UML_RelationshipBrowser.png|UML Relationship Browser]]
[[Image:UML_RelationshipBrowser.png|centre|frame|UML Relationship Browser]]


Visually, the diagramming tools represent the most impressive screenshots.
Visually, the diagramming tools represent the most impressive screenshots.
Line 93: Line 90:
The use case diagram tool:  
The use case diagram tool:  


[[Image:UML_UseCaseDiagrammer.png|UML Use Case Diagrammer]]
[[Image:UML_UseCaseDiagrammer.png|centre|frame|UML Use Case Diagrammer]]


The sequence diagram tool:
The sequence diagram tool:


[[Image:UML_SequenceDiagrammer.png|UML Sequence Diagrammer]]
[[Image:UML_SequenceDiagrammer.png|centre|frame|UML Sequence Diagrammer]]


And the class diagram tool:  
And the class diagram tool:  


[[Image:UML_ClassDiagrammer.png|UML Class Diagrammer]]
[[Image:UML_ClassDiagrammer.png|centre|frame|UML Class Diagrammer]]


The next installment will attempt to take you through a typical use-case and highlight the advantages offered by this tool in the requirements capture stage of development.
The next instalment will attempt to take you through a typical use-case and highlight the advantages offered by this tool in the requirements capture stage of development.


[[Category:Tools Articles]]
[[Category:OS/2 e-Zine article]]

Latest revision as of 18:44, 26 April 2018

By Russell Kneebone

The VisualAge UML Designer is distributed as a "goodie" for IBM's VisualAge Smalltalk, and is available for the Windows and OS/2 client components of VAST. In this article it is assumed that a non-programmer has gone through the stand-alone install of VisualAge Smalltalk 6.01 (now that it is free for non-commercial use) and downloaded the UML Designer .ZIP file specifically to try the modelling tool. This zip file may be found by pointing your browser at IBM Software, taking the "Support & downloads" link, then the "Downloads & Drivers" link and entering UML Designer as the search term. It should return as the first matching link.

Installation

The page containing the install instructions for this goodie are nearly as daunting and incomprehensible as Smalltalk itself to a non-programmer, so let's take them one by one. However, before we start it might be advisable to take a copy of the abt.icx file from the image601 directory in case the installation fails in some way.

Those steps:

1.- Unzip the downloaded file into the VAST root directory

By the phrase "VAST root directory" IBM means the d:\ibmvast\vast60 or wherever you chose as a target on the original install. The goodies subdirectory should be at the same level as the image601 directory from which you were just advised to copy the image.

2.- Make the <vast>\goodies\UMLDesigner\setup directory the current directory.

In our previous example this would be d:\ibmvast\vast60\goodies\UMLDesigner\setup

3.- Run the appropriate platform-specific setup file, setup_w.bat for Windows or setup_o.cmd for OS/2.

Provided step 1 was performed correctly two messages detailing a number of files copied should result from this command. This command sets up resources for the UML Designer menus, menu items and diagrams

4.- Ensure that the following config maps have been loaded into the VAST development image If not, load them in the following order:

a. OTIML SGML Support
b. AbtXmlPrimitive
c. ENVY/Image Print Previewer
d. ENVY/Image Drag And Drop

This is where the instructions start to assume a great deal more experience with VAST than we actually have. For a start, go to the Options menu as shown below and choose Full menus.

UML Full Menu

This makes the Configuration maps menu item of the Tools menu visible, as shown here.

UML Configuration Maps

The Configuration Maps browser is typical of the three column browsers offered throughout VAST. Choosing an item from the list on the left brings up a list in the middle column, and choosing an element from that list brings up items in the right column. In the context of this browser, a configuration map is loaded if an asterisk precedes the application name in the right column. This will not be the case for three of the four configuration maps listed above. To load the map right-click on a selected application and take the load option as shown.

UML Load Application

It does no harm to load the last (already loaded) item as well.

5.- Swipe and execute the following code from a VAST workspace: EtTools moveAllRequiredMapsToo: true Here we see the fact that the tool is written in Smalltalk and is being interpreted from its image coming into play. The System Transcript window is (unexpectedly) able to edit its contents, so the easiest thing to do is position to the end of the last message logged, press enter and then paste the line shown into that window. Then highlight this new line in the System Transcript window and choose execute from the Edit menu as shown.

UML System Transcript

This step ensures that dependencies are handled automatically on the next import.

6.- Import the 'Goodies - UML Designer' configuration map from the <vast>\goodies\UMLDesigner\manager\uml.dat file.

From the Names menu on the Configuration Maps browser take the Import option as shown and navigate to the manager directory as described. There will only be one .dat file in this directory.

UML Import Config Map

The 'Goodies - UML Designer' configuration map should be selectable.

UML Import UML Designer

After much scrolling of the system transcript window the following screen should appear:

UML Imported Application

7.- Swipe and execute the following code from a VAST workspace: EtTools moveAllRequiredMapsToo: false

See step 5 for the procedures to undo the automatic collection of dependencies on import.

UML System Transcript

8.- Load the "Goodie - UML Designer" config map with required maps.

At this point highlighting the imported goody in the browser shows applications ready to be loaded in the pane immediately beneath the right column of the browser. Select, right-click and Load as shown.

UML Load Required Maps

There will be a message halfway through working this list that can be answered with a Yes.

UML Press Yes

After these steps it is best to exit VAST, saving the image on exit of course, and optionally taking another copy of the image (abt.icx) to give a clean UML Designer baseline image.

If you re-enter VAST as this point you will see the new menu on the System Transcript window and the options shown.

UML The Result

At this point it is probably best to consult the IBM Redbook Using VisualAge UML Designer (SG244997). Have fun! But just as a primer, to whet your appetite, here are a few screenshots. The relationship browser is the heart of UML Designer. Shown below is that browser listing some of the examples shipped with the tool.

UML Relationship Browser

Visually, the diagramming tools represent the most impressive screenshots.

The use case diagram tool:

UML Use Case Diagrammer

The sequence diagram tool:

UML Sequence Diagrammer

And the class diagram tool:

UML Class Diagrammer

The next instalment will attempt to take you through a typical use-case and highlight the advantages offered by this tool in the requirements capture stage of development.