|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEditCapacityObjectPolicy
A policy that is used for making decisions regarding the editing behaviour of
capacity objects. Capacity objects (ICapacityObject
) extend
the standard timeline objects (ITimelineObject
) with an additional
parameter called capacity used.
ICapacityObject
,
DefaultCapacityObject
Method Summary | |
---|---|
ICommand |
getChangeCapacityCommand(java.lang.Object node,
java.lang.Object capacityObject,
IGanttChartModel model,
double newCapacityUsed)
Returns a command object that will perform the actual change of the capacity used value. |
boolean |
isCapacityChangeable(java.lang.Object node,
java.lang.Object capacityObject,
IGanttChartModel model)
Decides whether or not the capacity used value of the object can be changed. |
Method Detail |
---|
boolean isCapacityChangeable(java.lang.Object node, java.lang.Object capacityObject, IGanttChartModel model)
node
- the tree node that owns the capacity objectcapacityObject
- the capacity object that gets checked for its editing abilitymodel
- the data source of the tree node and the capacity object
ICommand getChangeCapacityCommand(java.lang.Object node, java.lang.Object capacityObject, IGanttChartModel model, double newCapacityUsed)
node
- the tree node that owns the capacity objectcapacityObject
- the capacity object that gets checked for its editing abilitymodel
- the data source of the tree node and the capacity objectnewCapacityUsed
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |