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
Constructor Summary |
UMLToDoItem(Critic c)
|
UMLToDoItem(Critic c,
java.lang.Object dm,
Designer dsgr)
|
UMLToDoItem(Critic c,
org.tigris.gef.util.VectorSet offs,
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,
org.tigris.gef.util.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 |
UMLToDoItem
public UMLToDoItem(Poster poster,
java.lang.String h,
int p,
java.lang.String d,
java.lang.String m,
org.tigris.gef.util.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,
org.tigris.gef.util.VectorSet offs,
Designer dsgr)
UMLToDoItem
public UMLToDoItem(Critic c)
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