|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEditActivityObjectPolicy
A policy that is used for making decisions regarding the editing behaviour of
activity objects. Activity objects (IActivityObject
) extend
timeline objects (ITimelineObject
) with the percentage complete
attribute (0% <= percentage complete <= 100%).
IActivityObject
,
DefaultActivityObject
Method Summary | |
---|---|
ICommand |
getChangePercentageCommand(java.lang.Object node,
java.lang.Object activityObject,
IGanttChartModel model,
double percentage)
Returns a command object that will perform the actual change of the percentage complete value. |
boolean |
isPercentageChangeable(java.lang.Object node,
java.lang.Object activityObject,
IGanttChartModel model)
Decides whether or not the percentage complete value of the given activity object can be edited. |
Method Detail |
---|
boolean isPercentageChangeable(java.lang.Object node, java.lang.Object activityObject, IGanttChartModel model)
node
- the tree node that owns the capacity objectactivityObject
- the activity object that gets checked for its editing abilitymodel
- the data source of the tree node and the activity object
ICommand getChangePercentageCommand(java.lang.Object node, java.lang.Object activityObject, IGanttChartModel model, double percentage)
node
- the tree node that owns the capacity objectactivityObject
- the activity object that gets checked for its editing abilitymodel
- the data source of the tree node and the activity objectpercentage
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |