public class RoleManagementFieldFactory extends TwinColSelectFieldFactory<RoleManagementFieldDefinition>
initializeProperty
SelectFieldFactory.DefaultOptionComparator
select
definition, field, item
Constructor and Description |
---|
RoleManagementFieldFactory(RoleManagementFieldDefinition definition,
com.vaadin.data.Item relatedFieldItem,
info.magnolia.objectfactory.ComponentProvider componentProvider)
Deprecated.
|
RoleManagementFieldFactory(RoleManagementFieldDefinition definition,
com.vaadin.data.Item relatedFieldItem,
UiContext uiContext,
I18NAuthoringSupport i18nAuthoringSupport,
info.magnolia.objectfactory.ComponentProvider componentProvider) |
Modifier and Type | Method and Description |
---|---|
protected com.vaadin.ui.AbstractSelect |
createFieldComponent()
Implemented by subclasses to create and initialize the Vaadin Field instance to use.
|
protected com.vaadin.ui.AbstractSelect |
createSelectionField()
Used to initialize the desired subclass of AbstractSelect field component.
|
List<SelectFieldOptionDefinition> |
getOptions()
Returns the available roles with those already assigned marked selected, according to the current node.
|
protected Transformer<?> |
initializeTransformer(Class<? extends Transformer<?>> transformerClass)
Create a new Instance of
Transformer . |
createRemoteOptionFilterPredicate, getConfiguredDefaultValue, getIconResource, getRemoteOptionsName, getRemoteOptionsValue, getSelectFieldOptionDefinition, initializeComparator, setPropertyDataSourceAndDefaultValue
createDefaultValue, createField, createTypedValue, getComponentProvider, getDefaultFieldType, getDefinitionType, getFieldDefinition, getFieldType, getI18nBasename, getLocale, getView, initializeConverter, initializeProperty, setComponentProvider, setFieldValidatorFactoryFactory, setI18nContentSupport, setLocale, setPropertyDataSourceDefaultValue
getMessage, getMessages, getParent, setParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessages, getParent, setParent
@Inject public RoleManagementFieldFactory(RoleManagementFieldDefinition definition, com.vaadin.data.Item relatedFieldItem, UiContext uiContext, I18NAuthoringSupport i18nAuthoringSupport, info.magnolia.objectfactory.ComponentProvider componentProvider)
@Deprecated public RoleManagementFieldFactory(RoleManagementFieldDefinition definition, com.vaadin.data.Item relatedFieldItem, info.magnolia.objectfactory.ComponentProvider componentProvider)
RoleManagementFieldFactory(RoleManagementFieldDefinition, Item, UiContext, I18NAuthoringSupport, ComponentProvider)
instead.protected com.vaadin.ui.AbstractSelect createFieldComponent()
AbstractFieldFactory
createFieldComponent
in class TwinColSelectFieldFactory<RoleManagementFieldDefinition>
protected com.vaadin.ui.AbstractSelect createSelectionField()
SelectFieldFactory
createSelectionField
in class TwinColSelectFieldFactory<RoleManagementFieldDefinition>
public List<SelectFieldOptionDefinition> getOptions()
getOptions
in class SelectFieldFactory<RoleManagementFieldDefinition>
protected Transformer<?> initializeTransformer(Class<? extends Transformer<?>> transformerClass)
Transformer
.initializeTransformer
in class TwinColSelectFieldFactory<RoleManagementFieldDefinition>
Copyright © 2017 Magnolia International Ltd.. All rights reserved.