org.argouml.cognitive.checklist
Class CheckManager

java.lang.Object
  extended byorg.argouml.cognitive.checklist.CheckManager
All Implemented Interfaces:
Serializable

public class CheckManager
extends Object
implements Serializable

The CheckManager keeps track of which Checklists should be presented for a given design material. CheckManager also keeps track of which CheckItem's are checked off for a given design element.

See Also:
Serialized Form

Constructor Summary
CheckManager()
          Constructor.
 
Method Summary
static Checklist getChecklistFor(Object dm)
          Gets the checklist for an element.
static ChecklistStatus getStatusFor(Object dm)
          Get the ChecklistStatus for some object.
static void register(Object dm, Checklist cl)
          Registers a new list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckManager

public CheckManager()
Constructor.

Method Detail

getChecklistFor

public static Checklist getChecklistFor(Object dm)
Gets the checklist for an element.

Parameters:
dm - is the element
Returns:
a checklist

register

public static void register(Object dm,
                            Checklist cl)
Registers a new list. Used when setting up the checklist stuff.

Parameters:
dm - the class for which the Checklist holds
cl - the Checklist

getStatusFor

public static ChecklistStatus getStatusFor(Object dm)
Get the ChecklistStatus for some object. If there is none, then create one.

Parameters:
dm - is the object that we retrieve the checklist for
Returns:
ChecklistStatus, a half filled list.


ArgoUML © 1996-2006ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook