ix.ip2
Class AgendaItem
java.lang.Object
|
+--ix.icore.process.PNode
|
+--ix.ip2.AgendaItem
- Direct Known Subclasses:
- ActivityItem, IssueItem
- public abstract class AgendaItem
- extends PNode
An entry in an Agenda.
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
about
protected TaskItem about
comments
protected java.lang.String comments
actions
protected java.util.List actions
reports
protected java.util.List reports
listeners
protected java.util.List listeners
AgendaItem
public AgendaItem(TaskItem about)
AgendaItem
public AgendaItem(AgendaItem parent,
TaskItem about)
getAbout
public TaskItem getAbout()
getPattern
public LList getPattern()
getPatternVars
public java.util.Set getPatternVars()
getUnboundVars
public java.util.Set getUnboundVars()
setPattern
public void setPattern(LList pattern)
getShortDescription
public java.lang.String getShortDescription()
getLevel
public int getLevel()
getParent
public AgendaItem getParent()
getChildren
public java.util.List getChildren()
getStatus
public Status getStatus()
- Overrides:
getStatus
in class PNode
setStatus
public void setStatus(Status status)
- Description copied from class:
PNode
- Changes the node's status and then that of related nodes.
- Overrides:
setStatus
in class PNode
getPriority
public Priority getPriority()
setPriority
public void setPriority(Priority priority)
getComments
public java.lang.String getComments()
setComments
public void setComments(java.lang.String comments)
getActions
public java.util.List getActions()
wantsActionsFrom
public boolean wantsActionsFrom(ItemHandler handler)
- Gives this item its say in whether an item-handler should
be able to give it handler actions.
- See Also:
ItemHandler.appliesTo(AgendaItem item)
addAction
public void addAction(HandlerAction act)
- Add an action to this issue. Note that an action with the same
description may already exist. We regard that as a problem for
the AgendaItemListeners. For example, a user interface might use
the description as a way to identify the action and may not want
any ambiguity.
hasAction
boolean hasAction(HandlerAction act)
findAction
HandlerAction findAction(java.lang.String actionDescription)
actionCanBeTakenNow
boolean actionCanBeTakenNow(HandlerAction act)
wantsReport
boolean wantsReport(Report report)
addReport
void addReport(Report report)
setStatusBasedOn
void setStatusBasedOn(Report report)
getReports
java.util.List getReports()
handleReportBack
void handleReportBack(Status newStatus)
expandOneLevel
void expandOneLevel(Refinement refinement,
MatchEnv env)
addItemListener
void addItemListener(ix.ip2.event.AgendaItemListener listener)
fireStatusChanged
void fireStatusChanged()
firePriorityChanged
void firePriorityChanged()
fireHandlerActionsChanged
void fireHandlerActionsChanged()
fireNewHandlerAction
void fireNewHandlerAction(HandlerAction act)
fireNewReport
void fireNewReport(Report report)
fireAgendaItemEdited
void fireAgendaItemEdited()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object