public interface IEditCapacityObjectPolicy extends IPolicy
ICapacityObject) extend
the standard timeline objects (ITimelineObject) with an additional
parameter called capacity used.ICapacityObject,
DefaultCapacityObject| Modifier and Type | Method and Description |
|---|---|
ICommand |
getChangeCapacityCommand(TimelineObjectPath path,
IGanttChartModel model,
double newCapacityUsed)
Returns a command object that will perform the actual change of the
capacity used value.
|
boolean |
isCapacityChangeable(TimelineObjectPath path,
IGanttChartModel model)
Decides whether or not the capacity used value of the object can
be changed.
|
boolean isCapacityChangeable(TimelineObjectPath path, IGanttChartModel model)
path - the path to the capacity object that gets checked for its
editing abilitymodel - the data source of the tree node and the capacity objectICommand getChangeCapacityCommand(TimelineObjectPath path, IGanttChartModel model, double newCapacityUsed)
path - the path to the capacity object that gets checked for its
editing abilitymodel - the data source of the tree node and the capacity objectnewCapacityUsed - Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.