Package com.iizigo.editor.complex
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 SummaryModifier and TypeMethodDescription- void- doComplexOperationSelection- (GProp<?>[] props) Performs the selection of the components.- default ContainerSelection[]Override this method to return the initial selection that is suitable for restoring a selection using- doComplexOperationSelection(GProp []).- booleanChecks if it's doComplexOperationSelection implementor is disposed, and if so doesn't use this interface.- default booleanChecks if this interface returns the selection before the operation takes place or not.
- Method Details- doComplexOperationSelectionPerforms the selection of the components.
- isDisposedboolean isDisposed()Checks if it's doComplexOperationSelection implementor is disposed, and if so doesn't use this interface.
- isReturningSelectionBeforeOperationdefault 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.
 
- getSelectionBeforeOverride 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.