Package org.ametys.cms.contenttype
Class DynamicContentTypeDescriptor
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.cms.contenttype.AbstractContentTypeDescriptor
org.ametys.cms.contenttype.DynamicContentTypeDescriptor
- All Implemented Interfaces:
ContentTypeDescriptor
,LogEnabled
,PluginAware
,Configurable
,Serviceable
This class represents a dynamic content type descriptor
-
Field Summary
Fields inherited from class org.ametys.cms.contenttype.AbstractContentTypeDescriptor
_category, _contentTypesHelper, _contentTypesParserHelper, _cssFiles, _cTypeEP, _dcProvider, _defaultTitle, _description, _iconDecorator, _iconGlyph, _id, _label, _largeIcon, _mediumIcon, _pluginName, _smallIcon, _srcResolver, _superTypeIds
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the default i18n catalog for this content type.getIconPath
(String pluginName) Returns the path for iconsprotected Configuration
getRootConfiguration
(Configuration configuration) Get the root configurationMethods inherited from class org.ametys.cms.contenttype.AbstractContentTypeDescriptor
_configureCSSFiles, _configureIcons, _configureLabels, _configureSuperTypes, configure, getCategory, getCSSFiles, getDefaultTitle, getDescription, getIconDecorator, getIconGlyph, getId, getLabel, getLargeIcon, getMediumIcon, getPluginName, getSmallIcon, getSupertypeIds, service, setPluginInfo
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
DynamicContentTypeDescriptor
public DynamicContentTypeDescriptor()
-
-
Method Details
-
getRootConfiguration
Description copied from class:AbstractContentTypeDescriptor
Get the root configuration- Specified by:
getRootConfiguration
in classAbstractContentTypeDescriptor
- Parameters:
configuration
- The configuration- Returns:
- The main configuration
-
getDefaultCatalog
Description copied from interface:ContentTypeDescriptor
Returns the default i18n catalog for this content type.- Returns:
- the default i18n catalog for this content type.
-
getIconPath
Description copied from interface:ContentTypeDescriptor
Returns the path for icons- Parameters:
pluginName
- the configured plugin- Returns:
- the path for icons
-