public abstract class AbstractComponentGenerationStrategy extends java.lang.Object implements ComponentGenerationStrategy
Modifier and Type | Field and Description |
---|---|
protected Actions |
actions |
protected EntityFieldCreationSupport |
entityFieldCreationSupport |
protected Icons |
icons |
protected io.jmix.core.Messages |
messages |
protected io.jmix.core.Metadata |
metadata |
protected io.jmix.core.MetadataTools |
metadataTools |
protected UiComponents |
uiComponents |
Constructor and Description |
---|
AbstractComponentGenerationStrategy(io.jmix.core.Messages messages,
UiComponents uiComponents,
EntityFieldCreationSupport entityFieldCreationSupport,
io.jmix.core.Metadata metadata,
io.jmix.core.MetadataTools metadataTools,
Icons icons,
Actions actions) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createComponent
protected io.jmix.core.Messages messages
protected UiComponents uiComponents
protected EntityFieldCreationSupport entityFieldCreationSupport
protected io.jmix.core.Metadata metadata
protected io.jmix.core.MetadataTools metadataTools
protected Icons icons
protected Actions actions
public AbstractComponentGenerationStrategy(io.jmix.core.Messages messages, UiComponents uiComponents, EntityFieldCreationSupport entityFieldCreationSupport, io.jmix.core.Metadata metadata, io.jmix.core.MetadataTools metadataTools, Icons icons, Actions actions)
@Nullable protected Component createComponentInternal(ComponentGenerationContext context)
protected Component createClassField(ComponentGenerationContext context, io.jmix.core.metamodel.model.MetaPropertyPath mpp)
@Nullable protected Component createDatatypeField(ComponentGenerationContext context, io.jmix.core.metamodel.model.MetaPropertyPath mpp)
protected Component createDatatypeLinkField(ComponentGenerationContext context)
protected Field createEnumField(ComponentGenerationContext context)
protected Component createMaskedField(ComponentGenerationContext context)
protected Component createStringField(ComponentGenerationContext context, io.jmix.core.metamodel.model.MetaPropertyPath mpp)
protected Field createUuidField(ComponentGenerationContext context)
protected Field createBooleanField(ComponentGenerationContext context)
protected Component createDateField(ComponentGenerationContext context)
protected Component createTimeField(ComponentGenerationContext context)
protected Field createNumberField(ComponentGenerationContext context)
@Nullable protected Field createCurrencyField(ComponentGenerationContext context, io.jmix.core.metamodel.model.MetaPropertyPath mpp)
protected Field createFileUploadField(ComponentGenerationContext context)
protected Field createFileStorageUploadField(ComponentGenerationContext context)
protected Component createEntityField(ComponentGenerationContext context, io.jmix.core.metamodel.model.MetaPropertyPath mpp)
protected Component createCollectionField(ComponentGenerationContext context, io.jmix.core.metamodel.model.MetaPropertyPath mpp)
protected void setLinkFieldAttributes(EntityLinkField linkField, ComponentGenerationContext context)
@Nullable protected io.jmix.core.metamodel.model.MetaPropertyPath resolveMetaPropertyPath(io.jmix.core.metamodel.model.MetaClass metaClass, java.lang.String property)
protected void setValueSource(Field field, ComponentGenerationContext context)