RoleModel Software Home    Services    People    Process        More About Us    

Drawlets User's Guide

The best way to understand and use Drawlets is to:

  1. Follow the examples (com.rolemodelsoft.drawlet.examples.*)
  2. Read Patterns for Drawlets.
  3. Read Patterns for Building an Unusually Adaptable Java Framework to understand the philosophy behind the design (note: Drawlets was previously named HotDraw).
  4. Study the Design Overview
  5. Once you've done these, look through the code.

Design Overview

Although there are over 100 classes in the Drawlets framework, you can get a pretty solid understanding of the entire framework by understanding the fundamental roles played by the various classes, plus a few non-obvious design features.

Fundamental Roles

First we'll explain the basic relationships between the most prominent fundamental roles that the classes in Drawlets may play: You may wish to study Figure 1 as you read the following:

Figure 1: Class Diagram for intended use of Drawlets fundamental roles

Common Roles

In addition to the several Fundamental Roles, there are a few prominent Common Roles:

Existing Classes as Roles

Go Back

Copyright © 2002-03 by RoleModel Software, Inc. All rights reserved.