public interface DisplayElementOperation
Modifier and Type | Interface and Description |
---|---|
static interface |
DisplayElementOperation.ClientSpecificConfigurator
Marker for client specific configurators, providing means to define client depending settings.
|
Modifier and Type | Field and Description |
---|---|
static OperationType<DisplayElementOperation> |
TYPE
Operation providing means to display an element in the client.
|
Modifier and Type | Method and Description |
---|---|
<C extends DisplayElementOperation.ClientSpecificConfigurator> |
getConfigurator(Class<C> configuratorType)
Provides an instance of a configurator as requested by the given type.
|
void |
perform(IDProvider element)
Perform this operation wrt. the given element.
|
void |
setLanguage(Language language)
Defines the language to be displayed.
|
static final OperationType<DisplayElementOperation> TYPE
void setLanguage(Language language)
language
- The display language.@NotNull <C extends DisplayElementOperation.ClientSpecificConfigurator> C getConfigurator(Class<C> configuratorType) throws IllegalArgumentException
C
- The formal configurator type.configuratorType
- The type of configurator to get access to.IllegalArgumentException
- If the requested type is not supported.void perform(@NotNull IDProvider element) throws OperationSetupException
element
- The element to be displayed.OperationSetupException
- If the operation cannot be performed with the given setup.Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500