Package io.jmix.ui.app.bulk.factory
Class BulkEditComponentGenerationStrategy
java.lang.Object
io.jmix.ui.component.factory.AbstractComponentGenerationStrategy
io.jmix.ui.app.bulk.factory.BulkEditComponentGenerationStrategy
- All Implemented Interfaces:
ComponentGenerationStrategy
,org.springframework.core.Ordered
@Component("ui_BulkEditComponentGenerationStrategy")
public class BulkEditComponentGenerationStrategy
extends AbstractComponentGenerationStrategy
implements org.springframework.core.Ordered
-
Field Summary
Fields inherited from class io.jmix.ui.component.factory.AbstractComponentGenerationStrategy
actions, entityFieldCreationSupport, icons, messages, metadata, metadataTools, uiComponents
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionBulkEditComponentGenerationStrategy
(Messages messages, UiComponents uiComponents, EntityFieldCreationSupport entityFieldCreationSupport, Metadata metadata, MetadataTools metadataTools, Icons icons, Actions actions) -
Method Summary
Modifier and TypeMethodDescriptionprotected Field
Creates a component according to the givenComponentGenerationContext
.protected Component
createEntityField
(ComponentGenerationContext context, MetaPropertyPath mpp) protected Component
createStringField
(ComponentGenerationContext context, MetaPropertyPath mpp) int
getOrder()
Methods inherited from class io.jmix.ui.component.factory.AbstractComponentGenerationStrategy
createClassField, createCollectionField, createComponentInternal, createCurrencyField, createDatatypeField, createDatatypeLinkField, createDateField, createEnumField, createFileStorageUploadField, createFileUploadField, createMaskedField, createNumberField, createTimeField, createUuidField, resolveMetaPropertyPath, setLinkFieldAttributes, setValueSource
-
Field Details
-
MAX_TEXTFIELD_STRING_LENGTH
protected static final int MAX_TEXTFIELD_STRING_LENGTH- See Also:
-
-
Constructor Details
-
BulkEditComponentGenerationStrategy
@Autowired public BulkEditComponentGenerationStrategy(Messages messages, UiComponents uiComponents, EntityFieldCreationSupport entityFieldCreationSupport, Metadata metadata, MetadataTools metadataTools, Icons icons, Actions actions)
-
-
Method Details
-
createComponent
Description copied from interface:ComponentGenerationStrategy
Creates a component according to the givenComponentGenerationContext
.- Specified by:
createComponent
in interfaceComponentGenerationStrategy
- Parameters:
context
- the context instance- Returns:
- created component
-
createStringField
- Overrides:
createStringField
in classAbstractComponentGenerationStrategy
-
createBooleanField
- Overrides:
createBooleanField
in classAbstractComponentGenerationStrategy
-
createEntityField
- Overrides:
createEntityField
in classAbstractComponentGenerationStrategy
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
-