public class DefaultSpreadsheetEditPolicy extends AbstractPolicy implements ISpreadsheetEditPolicy
ISpreadsheetEditPolicy
.Constructor and Description |
---|
DefaultSpreadsheetEditPolicy() |
Modifier and Type | Method and Description |
---|---|
ICommand |
getChangeSpreadsheetValueCommand(IGanttChartModel<?,?> model,
Object node,
ISpreadsheet spreadsheet,
ITimeSpan span,
Object value)
Returns a command object that can be used to change the value of a
spreadsheet cell.
|
assertClass
public ICommand getChangeSpreadsheetValueCommand(IGanttChartModel<?,?> model, Object node, ISpreadsheet spreadsheet, ITimeSpan span, Object value)
ISpreadsheetEditPolicy
getChangeSpreadsheetValueCommand
in interface ISpreadsheetEditPolicy
model
- the Gantt chart model of which the spreadsheet is a membernode
- the target tree / Gantt chart nodespreadsheet
- the spreadsheet where the value change takes placespan
- the time span for which the value changedvalue
- the new value for the given time span and tree nodeCopyright © 2006–2016 Dirk Lemmermann Software & Consulting. All rights reserved.