Class EditSelectionCommandHandler

    • Constructor Detail

      • EditSelectionCommandHandler

        public EditSelectionCommandHandler​(SelectionLayer selectionLayer)
        Creates a command handler that performs the edit checks on the SelectionLayer.
        Parameters:
        selectionLayer - The SelectionLayer to retrieve the current selection.
      • EditSelectionCommandHandler

        public EditSelectionCommandHandler​(SelectionLayer selectionLayer,
                                           IUniqueIndexLayer upperLayer)
        Creates a command handler that performs the edit checks based on the given upper layer. Needed for example if the upper layer adds information that is needed for checks, e.g. a tree layer.
        Parameters:
        selectionLayer - The SelectionLayer to retrieve the current selection.
        upperLayer - The layer on top of the given SelectionLayer to which the selection should be converted to. Can be null which causes the resulting selected cells to be related to the SelectionLayer.
        Since:
        1.6