public interface IEditActivityObjectPolicy extends IPolicy
IActivityObject
) extend
timeline objects (ITimelineObject
) with the percentage complete
attribute (0% <= percentage complete <= 100%).IActivityObject
,
DefaultActivityObject
Modifier and Type | Method and Description |
---|---|
ICommand |
getChangePercentageCommand(TimelineObjectPath path,
IGanttChartModel model,
double percentage)
Returns a command object that will perform the actual change of the
percentage complete value.
|
boolean |
isPercentageChangeable(TimelineObjectPath path,
IGanttChartModel model)
Decides whether or not the percentage complete value of the given
activity object can be edited.
|
boolean isPercentageChangeable(TimelineObjectPath path, IGanttChartModel model)
path
- the path to the activity object that gets checked for its
editing abilitymodel
- the data source of the tree node and the activity objectICommand getChangePercentageCommand(TimelineObjectPath path, IGanttChartModel model, double percentage)
path
- the path to the activity object that gets checked for its
editing abilitymodel
- the data source of the tree node and the activity objectpercentage
- Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.