|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.argouml.uml.cognitive.checklist.Init
Registers Checklists for different kinds of model elements. If you add a new checklist, a line must be added here.
CheckManager
Field Summary | |
protected static org.apache.log4j.Logger |
cat
Deprecated. as of 0.15.3. Visibility changed to private. |
Constructor Summary | |
Init()
|
Method Summary | |
private static void |
createChecklists()
Create all check lists. |
static void |
init()
static initializer, register all appropriate critics |
static void |
init(java.util.Locale locale)
Deprecated. as of 0.15.3. use @see #init() |
private static void |
newCheckItem(java.lang.String category,
java.lang.String key,
Checklist checklist)
Creat a check item (an UMLCheckItem) corresponding to the given key. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static org.apache.log4j.Logger cat
Constructor Detail |
public Init()
Method Detail |
public static void init()
public static void init(java.util.Locale locale)
private static void newCheckItem(java.lang.String category, java.lang.String key, Checklist checklist)
category
- to add the item to.key
- to get the localized string.checklist
- to add the item to.private static void createChecklists()
This is the new implementation and a change from the old implementation in that the source code (i.e. this function) contains knowledge on what to check.
The purpose of this is to allow the ArgoUML project to jointly develop the knowledge database and let the internationalizations be just internationalizations.
When adding a new check list or an item to an existing check list you will have to:
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20040316) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |