|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Gantt data source editor Note that the dereferencing is missing.
| Method Summary | |
abstract java.lang.Object |
dsAddActivity(java.lang.Object parent,
java.util.Map properties)
Creates a new activity in the gantt model. |
abstract java.lang.Object |
dsAddConstraint(java.lang.Object fromActivity,
java.lang.Object toActivity,
java.util.Map properties)
Creates a new constraint in the gantt model. |
abstract java.lang.Object |
dsAddReservation(java.lang.Object resource,
java.lang.Object activity,
java.util.Map properties)
Creates a new reservation in the gantt model. |
abstract java.lang.Object |
dsAddResource(java.lang.Object parent,
java.util.Map properties)
Creates a new resource in the gantt model. |
abstract void |
dsRemoveActivity(java.lang.Object activity)
Removes an activity from the gantt model. |
abstract void |
dsRemoveConstraint(java.lang.Object constraint)
Removes a constraint from the gantt model. |
abstract void |
dsRemoveReservation(java.lang.Object reservation)
Removes a reservation from the gantt model. |
abstract void |
dsRemoveResource(java.lang.Object resource)
Removes a resource from the gantt model. |
abstract void |
dsUpdateActivity(java.lang.Object activity,
java.lang.String propertyName,
java.lang.Object propertyValue)
Updates a property of an activity. |
abstract void |
dsUpdateConstraint(java.lang.Object constraint,
java.lang.String propertyName,
java.lang.Object propertyValue)
Updates a property of a constraint. |
abstract void |
dsUpdateReservation(java.lang.Object reservation,
java.lang.String propertyName,
java.lang.Object propertyValue)
Updates a property of a reservation. |
abstract void |
dsUpdateResource(java.lang.Object resource,
java.lang.String propertyName,
java.lang.Object propertyValue)
Updates a property of a resource. |
abstract boolean |
isActivityEditable(java.lang.Object activity)
Returns false if the activity is read-only. |
abstract boolean |
isConstraintEditable(java.lang.Object constraint)
Returns false if the constraint is read-only. |
abstract boolean |
isReservationEditable(java.lang.Object reservation)
Returns false if the reservation is read-only. |
abstract boolean |
isResourceEditable(java.lang.Object resource)
Returns false if the resource is read-only. |
| Methods inherited from interface ilog.ds.IlDataSourceEditor |
dsEndBatch, dsStartBatch, dsUpdateProperty, getDSBatchLevel, isEditable |
| Method Detail |
public boolean isActivityEditable(java.lang.Object activity)
false if the activity is read-only.activity - The activity to test.
public java.lang.Object dsAddActivity(java.lang.Object parent,
java.util.Map properties)
parent - the parent activity to which the new activity is addedproperties - The properties of the activity to createnull if the activity takes a
long time to be created.public void dsRemoveActivity(java.lang.Object activity)
activity - The activity to be removed
public void dsUpdateActivity(java.lang.Object activity,
java.lang.String propertyName,
java.lang.Object propertyValue)
activity - The activity to updatepropertyName - The name of the property to be updatedpropertyValue - The new value of the propertypublic boolean isResourceEditable(java.lang.Object resource)
false if the resource is read-only.resource - The resource to test.
public java.lang.Object dsAddResource(java.lang.Object parent,
java.util.Map properties)
parent - the parent resource to which the new resource is addedproperties - The properties of the resource to createnull if the resource takes a
long time to be created.public void dsRemoveResource(java.lang.Object resource)
resource - The resource to be removed
public void dsUpdateResource(java.lang.Object resource,
java.lang.String propertyName,
java.lang.Object propertyValue)
resource - The resource to updatepropertyName - The name of the property to be updatedpropertyValue - The new value of the propertypublic boolean isConstraintEditable(java.lang.Object constraint)
false if the constraint is read-only.constraint - The constraint to test.
public java.lang.Object dsAddConstraint(java.lang.Object fromActivity,
java.lang.Object toActivity,
java.util.Map properties)
fromActivity - the source or from activity for this constrainttoActivity - the target or to activity for this constraintproperties - The properties of the constraint to createnull if the constraint takes a
long time to be created.public void dsRemoveConstraint(java.lang.Object constraint)
constraint - The constraint to be removed
public void dsUpdateConstraint(java.lang.Object constraint,
java.lang.String propertyName,
java.lang.Object propertyValue)
constraint - The constraint to updatepropertyName - The name of the property to be updatedpropertyValue - The new value of the propertypublic boolean isReservationEditable(java.lang.Object reservation)
false if the reservation is read-only.reservation - The reservation to test.
public java.lang.Object dsAddReservation(java.lang.Object resource,
java.lang.Object activity,
java.util.Map properties)
resource - the resource of this reservationactivity - the activity of this reservationproperties - The properties of the reservation to createnull if the reservation
takes a long time to be created.public void dsRemoveReservation(java.lang.Object reservation)
reservation - The reservation to be removed
public void dsUpdateReservation(java.lang.Object reservation,
java.lang.String propertyName,
java.lang.Object propertyValue)
reservation - The reservation to updatepropertyName - The name of the property to be updatedpropertyValue - The new value of the property
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||