public static final class GanttModelUtil.FindByIDActivityVisitor extends java.lang.Object implements GanttModelUtil.HasCancelled, GanttModelUtil.IlvActivityVisitor
| Constructor and Description |
|---|
FindByIDActivityVisitor(java.lang.String id)
Creates a new Visitor that will find an activity based on its ID
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancel the visiting
|
ilog.views.gantt.IlvActivity |
getActivity()
Returns the Activity for the given ID, or null, if it was not found.
|
boolean |
isCancelled()
Returns true if the visiting should stop
|
void |
visit(ilog.views.gantt.IlvActivity item,
ilog.views.gantt.IlvGanttModel model,
GanttModelUtil.HasCancelled state)
Visit an activity of the given chart and pass an instance of the 'state' as well.
|
public FindByIDActivityVisitor(java.lang.String id)
id - public boolean isCancelled()
GanttModelUtil.HasCancelledisCancelled in interface GanttModelUtil.HasCancelledpublic void visit(ilog.views.gantt.IlvActivity item,
ilog.views.gantt.IlvGanttModel model,
GanttModelUtil.HasCancelled state)
GanttModelUtil.IlvActivityVisitorVoid type.visit in interface GanttModelUtil.IlvActivityVisitoritem - IlvActivity to visitmodel - IlvGanttModel that owns the itemstate - optional stateful data that might be of interest to the visitorpublic void cancel()
GanttModelUtil.HasCancelledcancel in interface GanttModelUtil.HasCancelledpublic ilog.views.gantt.IlvActivity getActivity()