public class TemplateSelectorFieldFactory extends SelectFieldFactory<TemplateSelectorDefinition>
TemplateDefinitionAssignment
.select
definition, field, item
Constructor and Description |
---|
TemplateSelectorFieldFactory(TemplateSelectorDefinition definition,
com.vaadin.data.Item relatedFieldItem) |
Modifier and Type | Method and Description |
---|---|
protected Class<?> |
getDefaultFieldType()
Exposed method used by field's factory in order to define a default Field Type (decoupled from the definition).
|
static String |
getI18nTitle(info.magnolia.rendering.template.TemplateDefinition templateDefinition)
Get i18n Template title.
|
List<SelectFieldOptionDefinition> |
getSelectFieldOptionDefinition()
Returns the available templates based on the current node.
|
createDefaultValue, createFieldComponent, createRemoteOptionFilterPredicate, createSelectionField, getDefinitionType, getIconResource, getRemoteOptionsName, getRemoteOptionsValue, setPropertyDataSourceAndDefaultValue
createField, getFieldDefinition, getFieldType, getI18nBasename, getView, initializeTransformer, setComponentProvider, setFieldValidatorFactoryFactory, setI18nContentSupport, setPropertyDataSourceDefaultValue
getMessage, getMessages, getParent, setParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessages, getParent, setParent
public TemplateSelectorFieldFactory(TemplateSelectorDefinition definition, com.vaadin.data.Item relatedFieldItem)
public List<SelectFieldOptionDefinition> getSelectFieldOptionDefinition()
getSelectFieldOptionDefinition
in class SelectFieldFactory<TemplateSelectorDefinition>
protected Class<?> getDefaultFieldType()
AbstractFieldFactory
getDefaultFieldType
in class AbstractFieldFactory<TemplateSelectorDefinition,Object>
public static String getI18nTitle(info.magnolia.rendering.template.TemplateDefinition templateDefinition)
Copyright © 2015 Magnolia International Ltd.. All rights reserved.