@Component(value="cuba_CustomDatatypesComponentGenerationStrategy") public class CustomDatatypesComponentGenerationStrategy extends AbstractComponentGenerationStrategy implements org.springframework.core.Ordered
DefaultComponentGenerationStrategy creates fields.AbstractComponentGenerationStrategy.InvokeEntityLinkClickHandler| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
dynamicAttributesTools, guiActionSupport, messages, uiComponentsHIGHEST_PRECEDENCE, LOWEST_PRECEDENCEHIGHEST_PLATFORM_PRECEDENCE, LOWEST_PLATFORM_PRECEDENCE| Constructor and Description |
|---|
CustomDatatypesComponentGenerationStrategy(Messages messages,
DynamicAttributesTools dynamicAttributesTools) |
| Modifier and Type | Method and Description |
|---|---|
Component |
createComponent(ComponentGenerationContext context)
Creates a component according to the given
ComponentGenerationContext. |
protected Component |
createCustomDatatypeField(ComponentGenerationContext context,
MetaPropertyPath mpp) |
int |
getOrder() |
void |
setGuiActionSupport(GuiActionSupport guiActionSupport) |
void |
setUiComponents(UiComponents uiComponents) |
createBooleanField, createClassField, createComponentInternal, createCurrencyField, createDatatypeField, createDatatypeLinkField, createDateField, createEntityField, createEnumField, createFileUploadField, createLookupField, createMaskedField, createNumberField, createStringField, createTimeField, createUuidField, getCategoryAttribute, getDynamicAttributesGuiTools, resolveMetaPropertyPath, setCustomDataType, setEditable, setLinkFieldAttributes, setOptionsLoader, setValidators, setValueChangedListeners, setValueSourcepublic static final java.lang.String NAME
@Inject public CustomDatatypesComponentGenerationStrategy(Messages messages, DynamicAttributesTools dynamicAttributesTools)
@Inject public void setUiComponents(UiComponents uiComponents)
@Inject public void setGuiActionSupport(GuiActionSupport guiActionSupport)
@Nullable public Component createComponent(ComponentGenerationContext context)
ComponentGenerationStrategyComponentGenerationContext.createComponent in interface ComponentGenerationStrategycontext - the context instanceprotected Component createCustomDatatypeField(ComponentGenerationContext context, MetaPropertyPath mpp)
public int getOrder()
getOrder in interface org.springframework.core.Ordered