Class CmsEditorContext


  • public class CmsEditorContext
    extends java.lang.Object
    This class can be used by code which uses the Acacia editor to pass additional information to the editor on startup.

    • Constructor Summary

      Constructors 
      Constructor Description
      CmsEditorContext()
      Default constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getHtmlContextInfo()
      Returns the HTML context info.
      java.util.Map<java.lang.String,​java.lang.String> getPublishParameters()
      Gets the additional publish parameters which should be used for the publish functionality in the Acacia editor.
      java.util.Map<java.lang.String,​java.lang.String> getSettingPresets()
      Returns the setting presets.
      void setHtmlContextInfo​(java.lang.String htmlContextInfo)
      Sets the HTML context info.
      void setPublishParameters​(java.util.Map<java.lang.String,​java.lang.String> publishParams)
      Sets the additional publish parameters for the publish functionality in the Acacia editor.
      void setSettingPresets​(java.util.Map<java.lang.String,​java.lang.String> settingPresets)
      Sets the setting presets.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getHtmlContextInfo

        public java.lang.String getHtmlContextInfo()
        Returns the HTML context info.

        Returns:
        the HTML context info
      • getPublishParameters

        public java.util.Map<java.lang.String,​java.lang.String> getPublishParameters()
        Gets the additional publish parameters which should be used for the publish functionality in the Acacia editor.

        Returns:
        the additional publish parameters
      • getSettingPresets

        public java.util.Map<java.lang.String,​java.lang.String> getSettingPresets()
        Returns the setting presets.

        Returns:
        the setting presets
      • setHtmlContextInfo

        public void setHtmlContextInfo​(java.lang.String htmlContextInfo)
        Sets the HTML context info.

        Parameters:
        htmlContextInfo - the HTML context info to set
      • setPublishParameters

        public void setPublishParameters​(java.util.Map<java.lang.String,​java.lang.String> publishParams)
        Sets the additional publish parameters for the publish functionality in the Acacia editor.

        Parameters:
        publishParams - the additional publish parameters
      • setSettingPresets

        public void setSettingPresets​(java.util.Map<java.lang.String,​java.lang.String> settingPresets)
        Sets the setting presets.

        Parameters:
        settingPresets - the setting presets to set