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 Summary
Modifier and TypeMethodDescriptionvoid
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 usingdoComplexOperationSelection(GProp [])
.boolean
Checks if it's doComplexOperationSelection implementor is disposed, and if so doesn't use this interface.default boolean
Checks if this interface returns the selection before the operation takes place or not.
Method Details
doComplexOperationSelection
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
Override this method to return the initial selection that is suitable for restoring a selection usingdoComplexOperationSelection(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.