Class ContentLinkExtension

java.lang.Object
io.meeds.social.cms.model.ContentLinkExtension

public class ContentLinkExtension extends Object
  • Constructor Details

    • ContentLinkExtension

      public ContentLinkExtension(String objectType, String titleKey, String icon, String command)
      Builds an extension listed in the insert menu, without a drawer.
      Parameters:
      objectType - the content object type
      titleKey - the i18n key of the type's name
      icon - the type's icon class
      command - 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 type
      titleKey - the i18n key of the type's name
      icon - the type's icon class
      command - the word typed after the slash
      drawer - 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 type
      titleKey - the i18n key of the type's name
      icon - the type's icon class
      command - the word typed after the slash
      drawer - whether a click on a chip opens the type's drawer
      hidden - whether the type is hidden from the insert menu