Package com.iizigo.editor.complex
Interface IComplexOperationSelection
- All Known Implementing Classes:
- PanelEditor,- TablePanel,- TextTableEditor
 - public interface IComplexOperationSelectionInterface 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 Summary- All Methods Instance Methods Abstract Methods Default Methods - Modifier and Type - Method - Description - void- doComplexOperationSelection(GProp<?>[] props)Performs the selection of the components.- default ContainerSelection[]- getSelectionBefore(ComplexOperation op)Override this method to return the initial selection that is suitable for restoring a selection using- doComplexOperationSelection(GProp []).- boolean- isDisposed()Checks if it's doComplexOperationSelection implementor is disposed, and if so doesn't use this interface.- default boolean- isReturningSelectionBeforeOperation()Checks if this interface returns the selection before the operation takes place or not.
 
- Method Detail- 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.