public interface PreviewOperation
Modifier and Type | Field and Description |
---|---|
static OperationType<PreviewOperation> |
TYPE
Operation providing means to control the preview in the original client.
|
Modifier and Type | Method and Description |
---|---|
void |
perform()
Starts the preview operation as configured.
|
void |
setElement(IDProvider element)
Ensure the preview being shown belongs to the element defined.
|
static final OperationType<PreviewOperation> TYPE
void setElement(@NotNull IDProvider element) throws OperationSetupException
element
- The element to show the preview for.OperationSetupException
- If the given element cannot be previewed for some reason, e.g., the element's type is not supported
or there is no preview defined for the element.void perform()
Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210