|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface that defines methods required on any object that can post a ToDoItem to the Designer's ToDoList. Basically requires that the poster (1) have contact information, (2) be able to snooze and unsnooze itself, and (3) be able to determine if a ToDoItem it posted previously should still be on the Designer's ToDoList.
Currently Critic and Designer implement this interface.
Critic,
Designer| Method Summary | |
boolean |
canFixIt(ToDoItem item)
|
boolean |
containsKnowledgeType(String knowledgeType)
|
String |
expand(String desc,
VectorSet offs)
Customize the description string just before it is displayed. |
void |
fixIt(ToDoItem item,
Object arg)
|
Icon |
getClarifier()
|
String |
getExpertEmail()
Get some contact information on the Poster. |
VectorSet |
getKnowledgeTypes()
|
Vector |
getSupportedDecisions()
|
Vector |
getSupportedGoals()
|
void |
setExpertEmail(String addr)
Update the Poster's contact info. |
void |
snooze()
temporarily disable this Poster. |
boolean |
stillValid(ToDoItem i,
Designer d)
Reply true if the given item should be kept on the Designer's ToDoList, false if it is no longer valid. |
boolean |
supports(Decision d)
|
boolean |
supports(Goal g)
|
void |
unsnooze()
Unsnooze this Poster, it may resume posting without further delay. |
| Method Detail |
public String getExpertEmail()
public void setExpertEmail(String addr)
public boolean stillValid(ToDoItem i,
Designer d)
public boolean supports(Decision d)
public Vector getSupportedDecisions()
public boolean supports(Goal g)
public Vector getSupportedGoals()
public boolean containsKnowledgeType(String knowledgeType)
public VectorSet getKnowledgeTypes()
public String expand(String desc,
VectorSet offs)
public Icon getClarifier()
public void snooze()
public void unsnooze()
public void fixIt(ToDoItem item,
Object arg)
public boolean canFixIt(ToDoItem item)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||