Interface IComplexOperationSelection

All Known Implementing Classes:
PanelEditor, TablePanel, TextTableEditor

public interface IComplexOperationSelection
Interface implemented by the owner of the complex operation. It is used to perform the selection in something else than a tree, e.g. the panel editor.
Author:
Christopher Mindus
  • Method Details

    • doComplexOperationSelection

      void doComplexOperationSelection(GProp<?>[] props)
      Performs the selection of the components.
    • isDisposed

      boolean isDisposed()
      Checks if it's doComplexOperationSelection implementor is disposed, and if so doesn't use this interface.
    • isReturningSelectionBeforeOperation

      default boolean isReturningSelectionBeforeOperation()
      Checks if this interface returns the selection before the operation takes place or not.
      Returns:
      false, must be overridden to return the selection before.
    • getSelectionBefore

      default ContainerSelection[] getSelectionBefore(ComplexOperation op)
      Override this method to return the initial selection that is suitable for restoring a selection using doComplexOperationSelection(GProp []).

      Use the method ComplexOperation.newContainerSelection(GProp) to create the array elements.

      Parameters:
      op - The complex operation.
      Returns:
      The selection that can be restored, null for none.