org.argouml.uml.cognitive
Class UMLToDoItem

java.lang.Object
  |
  +--org.argouml.cognitive.ToDoItem
        |
        +--org.argouml.uml.cognitive.UMLToDoItem
All Implemented Interfaces:
java.io.Serializable

public class UMLToDoItem
extends ToDoItem

UMLToDoItem is the preferred class for newly created ToDoItems within ArgoUML. It knows more about possible designmaterial and can for example highlight offenders when they are ModelElements by finding the according Fig in the current diagram for them.

Since:
0.15.3
See Also:
ToDoItem, Serialized Form

Field Summary
 
Fields inherited from class org.argouml.cognitive.ToDoItem
HIGH_PRIORITY, LOW_PRIORITY, MED_PRIORITY
 
Constructor Summary
UMLToDoItem(Critic c)
           
UMLToDoItem(Critic c, java.lang.Object dm, Designer dsgr)
           
UMLToDoItem(Poster poster, java.lang.String h, int p, java.lang.String d, java.lang.String m)
           
UMLToDoItem(Poster poster, java.lang.String h, int p, java.lang.String d, java.lang.String m, VectorSet offs)
           
 
Method Summary
 void action()
          Action jumps to the diagram containing all or most of the offenders.
 void deselect()
          When a ToDoItem is deselected in the UiToDoList window, unhighlight the "offending" design material's.
 void select()
          When a ToDoItem is selected in the UiToDoList window, highlight the "offending" design material's.
 
Methods inherited from class org.argouml.cognitive.ToDoItem
canFixIt, changed, containsKnowledgeType, equals, fixIt, getClarifier, getDescription, getExpertEmail, getHeadline, getMoreInfoURL, getOffenders, getPoster, getPriority, getProgress, getWizard, setDescription, setHeadline, setMoreInfoURL, setOffenders, setPriority, stillValid, supports, supports, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UMLToDoItem

public UMLToDoItem(Poster poster,
                   java.lang.String h,
                   int p,
                   java.lang.String d,
                   java.lang.String m,
                   VectorSet offs)

UMLToDoItem

public UMLToDoItem(Poster poster,
                   java.lang.String h,
                   int p,
                   java.lang.String d,
                   java.lang.String m)

UMLToDoItem

public UMLToDoItem(Critic c,
                   java.lang.Object dm,
                   Designer dsgr)

UMLToDoItem

public UMLToDoItem(Critic c)
Method Detail

action

public void action()
Action jumps to the diagram containing all or most of the offenders. and calls deselect(), select() around the call to jumpToDiagramShowing(offenderList)

Overrides:
action in class ToDoItem

deselect

public void deselect()
Description copied from class: ToDoItem
When a ToDoItem is deselected in the UiToDoList window, unhighlight the "offending" design material's.

Overrides:
deselect in class ToDoItem

select

public void select()
Description copied from class: ToDoItem
When a ToDoItem is selected in the UiToDoList window, highlight the "offending" design material's.

Overrides:
select in class ToDoItem


ArgoUML © 1996-2004 (20040306)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook