public class RoleManagementFieldFactory extends TwinColSelectFieldFactory<RoleManagementFieldDefinition>
initializeProperty
SelectFieldFactory.DefaultOptionComparator
select
definition, field, item
Constructor and Description |
---|
RoleManagementFieldFactory(RoleManagementFieldDefinition definition,
com.vaadin.v7.data.Item relatedFieldItem,
info.magnolia.objectfactory.ComponentProvider componentProvider)
Deprecated.
|
RoleManagementFieldFactory(RoleManagementFieldDefinition definition,
com.vaadin.v7.data.Item relatedFieldItem,
UiContext uiContext,
I18NAuthoringSupport i18nAuthoringSupport,
info.magnolia.objectfactory.ComponentProvider componentProvider) |
Modifier and Type | Method and Description |
---|---|
protected com.vaadin.v7.ui.AbstractSelect |
createFieldComponent()
Implemented by subclasses to create and initialize the Vaadin Field instance to use.
|
protected com.vaadin.v7.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 . |
createDefaultValue, createRemoteOptionFilterPredicate, getConfiguredDefaultValue, getIconResource, getRemoteOptionsName, getRemoteOptionsValue, getSelectFieldOptionDefinition, initializeComparator
createField, createTypedValue, getComponentProvider, getDefaultFieldType, getDefinitionType, getFieldDefinition, getFieldType, getI18nBasename, getLocale, getView, initializeConverter, initializeProperty, isMessageKey, setComponentProvider, setFieldValidatorFactoryFactory, setI18nContentSupport, setLocale, setPropertyDataSourceAndDefaultValue, 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.v7.data.Item relatedFieldItem, UiContext uiContext, I18NAuthoringSupport i18nAuthoringSupport, info.magnolia.objectfactory.ComponentProvider componentProvider)
@Deprecated public RoleManagementFieldFactory(RoleManagementFieldDefinition definition, com.vaadin.v7.data.Item relatedFieldItem, info.magnolia.objectfactory.ComponentProvider componentProvider)
RoleManagementFieldFactory(RoleManagementFieldDefinition, Item, UiContext, I18NAuthoringSupport, ComponentProvider)
instead.protected com.vaadin.v7.ui.AbstractSelect createFieldComponent()
AbstractFieldFactory
createFieldComponent
in class TwinColSelectFieldFactory<RoleManagementFieldDefinition>
protected com.vaadin.v7.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 © 2019 Magnolia International Ltd.. All rights reserved.