public class RoleManagementFieldFactory extends TwinColSelectFieldFactory<RoleManagementFieldDefinition>
select
definition, field, item
Constructor and Description |
---|
RoleManagementFieldFactory(RoleManagementFieldDefinition definition,
com.vaadin.data.Item relatedFieldItem,
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> |
getSelectFieldOptionDefinition()
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, getDefinitionType, getIconResource, getRemoteOptionsName, getRemoteOptionsValue, initializeComparator, setPropertyDataSourceAndDefaultValue
createField, getComponentProvider, getDefaultFieldType, getFieldDefinition, getFieldType, getI18nBasename, getView, initializeConverter, setComponentProvider, setFieldValidatorFactoryFactory, setI18nContentSupport, 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, info.magnolia.objectfactory.ComponentProvider componentProvider)
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> getSelectFieldOptionDefinition()
getSelectFieldOptionDefinition
in class SelectFieldFactory<TwinColSelectFieldDefinition>
protected Transformer<?> initializeTransformer(Class<? extends Transformer<?>> transformerClass)
Transformer
.initializeTransformer
in class TwinColSelectFieldFactory<RoleManagementFieldDefinition>
Copyright © 2015 Magnolia International Ltd.. All rights reserved.