public abstract class AbstractChainedVocabularyWidgetConverter extends AbstractWidgetDefinitionConverter
Only supports vocabularies with 2 levels for now
Constructor and Description |
---|
AbstractChainedVocabularyWidgetConverter() |
Modifier and Type | Method and Description |
---|---|
protected abstract List<String> |
getAcceptedWidgetNames() |
protected abstract String |
getChildDirectoryName() |
protected abstract String |
getParentDirectoryName() |
WidgetDefinition |
getWidgetDefinition(WidgetDefinition widgetDef,
LayoutConversionContext ctx)
Returns the original widget definition, or a clone if it needs to be changed.
|
protected boolean |
isAccepted(String wType) |
getClonedWidget
public AbstractChainedVocabularyWidgetConverter()
protected boolean isAccepted(String wType)
protected abstract List<String> getAcceptedWidgetNames()
protected abstract String getParentDirectoryName()
protected abstract String getChildDirectoryName()
public WidgetDefinition getWidgetDefinition(WidgetDefinition widgetDef, LayoutConversionContext ctx)
WidgetDefinitionConverter
Copyright © 2015 Nuxeo SA. All rights reserved.