public class TableFieldFactoryImpl<E>
extends java.lang.Object
implements com.vaadin.v7.ui.TableFieldFactory
Modifier and Type | Field and Description |
---|---|
protected io.jmix.core.AccessManager |
accessManager |
protected io.jmix.core.MetadataTools |
metadataTools |
protected UiComponentsGenerator |
uiComponentsGenerator |
protected AbstractTable<?,E> |
webTable |
Constructor and Description |
---|
TableFieldFactoryImpl(AbstractTable<?,E> webTable,
io.jmix.core.AccessManager accessManager,
io.jmix.core.MetadataTools metadataTools,
UiComponentsGenerator uiComponentsGenerator) |
Modifier and Type | Method and Description |
---|---|
protected void |
applyPermissions(Component columnComponent) |
com.vaadin.v7.ui.Field<?> |
createField(com.vaadin.v7.data.Container container,
java.lang.Object itemId,
java.lang.Object propertyId,
com.vaadin.ui.Component uiContext) |
Component |
createField(EntityValueSource valueSource,
java.lang.String property,
org.dom4j.Element xmlDescriptor) |
protected CollectionContainer |
findOptionsContainer(Table.Column columnConf) |
protected com.vaadin.ui.Component |
getComponentImplementation(Component columnComponent) |
protected Options |
getOptions(EntityValueSource valueSource,
java.lang.String property) |
protected AbstractTable<?,E> webTable
protected io.jmix.core.AccessManager accessManager
protected io.jmix.core.MetadataTools metadataTools
protected UiComponentsGenerator uiComponentsGenerator
public TableFieldFactoryImpl(AbstractTable<?,E> webTable, io.jmix.core.AccessManager accessManager, io.jmix.core.MetadataTools metadataTools, UiComponentsGenerator uiComponentsGenerator)
public Component createField(EntityValueSource valueSource, java.lang.String property, org.dom4j.Element xmlDescriptor)
public com.vaadin.v7.ui.Field<?> createField(com.vaadin.v7.data.Container container, java.lang.Object itemId, java.lang.Object propertyId, com.vaadin.ui.Component uiContext)
createField
in interface com.vaadin.v7.ui.TableFieldFactory
protected com.vaadin.ui.Component getComponentImplementation(Component columnComponent)
protected void applyPermissions(Component columnComponent)
@Nullable protected Options getOptions(EntityValueSource valueSource, java.lang.String property)
@Nullable protected CollectionContainer findOptionsContainer(Table.Column columnConf)