@Component(value="cuba_DefaultMetaComponentStrategy") public class DefaultComponentGenerationStrategy extends AbstractComponentGenerationStrategy implements org.springframework.core.Ordered
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 |
|---|
DefaultComponentGenerationStrategy(Messages messages,
DynamicAttributesTools dynamicAttributesTools) |
| Modifier and Type | Method and Description |
|---|---|
Component |
createComponent(ComponentGenerationContext context)
Creates a component according to the given
ComponentGenerationContext. |
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 DefaultComponentGenerationStrategy(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 instancepublic int getOrder()
getOrder in interface org.springframework.core.Ordered