public class DefaultEditLayerPolicy extends AbstractPolicy implements IEditLayerPolicy
Layer.| Constructor and Description |
|---|
DefaultEditLayerPolicy() |
| Modifier and Type | Method and Description |
|---|---|
ICommand |
getAddLayerCommand(ILayer layer,
IGanttChartModel model)
Returns the command used to add a layer to a model.
|
ICommand |
getRemoveLayerCommand(ILayer layer,
IGanttChartModel model)
Returns the command used to remove a layer from a model.
|
assertClasspublic ICommand getAddLayerCommand(ILayer layer, IGanttChartModel model)
IEditLayerPolicygetAddLayerCommand in interface IEditLayerPolicylayer - the layer to addmodel - the model to which the layer will be addedpublic ICommand getRemoveLayerCommand(ILayer layer, IGanttChartModel model)
IEditLayerPolicygetRemoveLayerCommand in interface IEditLayerPolicylayer - the layer to removemodel - the model from which the layer will be removedCopyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.