com.dlsc.flexgantt.command.eventline

## Class DefaultDeleteMultipleEventlineObjectsCommand

- java.lang.Object
- - com.dlsc.flexgantt.command.AbstractCommand
  - - com.dlsc.flexgantt.command.AbstractCompoundCommand<DefaultDeleteEventlineObjectCommand>
    - - com.dlsc.flexgantt.command.eventline.DefaultDeleteMultipleEventlineObjectsCommand

- All Implemented Interfaces:
    ICommand, Serializable

      public class DefaultDeleteMultipleEventlineObjectsCommand
      extends AbstractCompoundCommand<DefaultDeleteEventlineObjectCommand>

  A command that is used to delete several eventline objects from the eventline model at the same time. This command can only be used in situations where the model is an instance of `DefaultEventlineModel` and the eventline objects implement the `IEventlineObject` interface.
  Since:
    1.1
  Version:
    $Revision: 1.7 $
  Author:
    Dirk Lemmermann
  See Also:
    `DefaultEventlineModel.removeEventlineObject(IEventlineObject)`, `IEventlineObject`, `IEditEventlineObjectPolicy.getDeleteCommand(java.util.Collection, com.dlsc.flexgantt.model.eventline.IEventlineModel)`, Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultDeleteMultipleEventlineObjectsCommand(Collection<IEventlineObject> eventlineObjects, DefaultEventlineModel<IEventlineObject> model)` Constructs a new command.

  - ### Method Summary

    - ### Methods inherited from class com.dlsc.flexgantt.command.AbstractCompoundCommand

      `addCommand, executeCommand, getCommand, getCommandCount, isRedoable, isUndoable, redoCommand, removeCommand, setCommands, undoCommand`

    - ### Methods inherited from class com.dlsc.flexgantt.command.AbstractCommand

      `getName, isRelevant, setName`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DefaultDeleteMultipleEventlineObjectsCommand

          public DefaultDeleteMultipleEventlineObjectsCommand(Collection<IEventlineObject> eventlineObjects,
                                                              DefaultEventlineModel<IEventlineObject> model)

      Constructs a new command.
      Parameters:
        `eventlineObjects` - the eventline object that will be deleted
        `model` - the model of which the object is a member
      Since:
        1.0

Copyright © 2006–2020 Dirk Lemmermann Software & Consulting. All rights reserved.