Download Tool Support for Introductory Software Engineering Education
Transcript
Figure 20 – The popup menu of a class in BlueJ. 5.2.1 UML style class diagrams The main display of BlueJ is a simplified UML diagram of the classes in the system. Each class is displayed as an icon with different styles of shading to indicate compilation status and with UML stereotypes to indicate different class types such as “«abstract»”, “«interface»” or “«applet»”. There are two different relationships between classes that are shown on the diagram. Inheritance relationships are shown with a solid lined arrow and references between classes are shown as dashed lines. The relationships can be specified by interacting with the diagram (which creates the corresponding relationship in the source) or can be specified by editing the source (which automatically reflects back in the diagram). Figure 19 shows the main display of BlueJ. Each of the classes displayed has a popup menu (selected by right clicking on the class – shown in Figure 20) that can be used to compile the class, open the source editor (double-clicking on the class is a short cut to this operation), remove the class 97