Package io.meeds.social.cms.model
Class ContentLinkExtension
java.lang.Object
io.meeds.social.cms.model.ContentLinkExtension
-
Constructor Summary
ConstructorsConstructorDescriptionContentLinkExtension(String objectType, String titleKey, String icon, String command) Builds an extension listed in the insert menu, without a drawer.ContentLinkExtension(String objectType, String titleKey, String icon, String command, boolean drawer) Builds an extension listed in the insert menu.ContentLinkExtension(String objectType, String titleKey, String icon, String command, boolean drawer, boolean hidden) Builds an extension without a private label: its refused or missing chips keep the generic rendering. -
Method Summary
-
Constructor Details
-
ContentLinkExtension
Builds an extension listed in the insert menu, without a drawer.- Parameters:
objectType- the content object typetitleKey- the i18n key of the type's nameicon- the type's icon classcommand- the word typed after the slash
-
ContentLinkExtension
public ContentLinkExtension(String objectType, String titleKey, String icon, String command, boolean drawer) Builds an extension listed in the insert menu.- Parameters:
objectType- the content object typetitleKey- the i18n key of the type's nameicon- the type's icon classcommand- the word typed after the slashdrawer- whether a click on a chip opens the type's drawer
-
ContentLinkExtension
public ContentLinkExtension(String objectType, String titleKey, String icon, String command, boolean drawer, boolean hidden) Builds an extension without a private label: its refused or missing chips keep the generic rendering.- Parameters:
objectType- the content object typetitleKey- the i18n key of the type's nameicon- the type's icon classcommand- the word typed after the slashdrawer- whether a click on a chip opens the type's drawerhidden- whether the type is hidden from the insert menu
-