public class DefaultChangeMultipleTimelineObjectsTimeSpanCommand extends AbstractCompoundCommand<DefaultChangeTimelineObjectTimeSpanCommand>
DefaultGanttChartModel and the timeline objects
implements the ITimelineObject interface.IEditTimelineObjectPolicy,
IEditTimelineObjectPolicy.getChangeTimeSpansCommand(com.dlsc.flexgantt.model.gantt.IGanttChartModel,
List, List, int),
ITimelineObject.setTimeSpan(ITimeSpan),
DefaultGanttChartModel.setTimeSpan(ITimelineObject, ITimeSpan),
Serialized Form| Constructor and Description |
|---|
DefaultChangeMultipleTimelineObjectsTimeSpanCommand(DefaultGanttChartModel model,
List<TimelineObjectPath> timelineObjects,
List<ITimeSpan> timeSpans,
int dropAction)
Constructs a new command.
|
addCommand, executeCommand, getCommand, getCommandCount, isRedoable, isUndoable, redoCommand, removeCommand, setCommands, undoCommandgetName, isRelevant, setNamepublic DefaultChangeMultipleTimelineObjectsTimeSpanCommand(DefaultGanttChartModel model, List<TimelineObjectPath> timelineObjects, List<ITimeSpan> timeSpans, int dropAction)
timelineObjects - the timeline objects that will be modified by the commandmodel - the model from which the timeline object originatedtimeSpans - the new time spans that will be assgined to the timeline
objectsdropAction - the type of drop performed by the user (possible values are
defined in DnDConstants)Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.