Class CmsElementContentToolHandler

  • All Implemented Interfaces:
    org.opencms.workplace.tools.I_CmsToolHandler

    public class CmsElementContentToolHandler
    extends org.opencms.workplace.tools.CmsOfflineToolHandler
    Element content tool handler that hides the element tools if the current user has not the needed privileges.

    Since:
    6.0.0
    • Field Summary

      • Fields inherited from class org.opencms.workplace.tools.A_CmsToolHandler

        ARG_PARAM_NAME, ARG_PATH_NAME, ARGS_PROPERTY_DEFINITION, ARGUMENT_SEPARATOR, DEFAULT_DISABLED_HELPTEXT, VALUE_SEPARATOR
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isEnabled​(org.opencms.file.CmsObject cms)  
      boolean isVisible​(org.opencms.file.CmsObject cms)  
      • Methods inherited from class org.opencms.workplace.tools.CmsOfflineToolHandler

        getDisabledHelpText
      • Methods inherited from class org.opencms.workplace.tools.A_CmsToolHandler

        getConfirmationMessage, getGroup, getHelpText, getIconPath, getLink, getName, getParameters, getPath, getPosition, getShortName, getSmallIconPath, isEnabled, isVisible, setConfirmationMessage, setDisabledHelpText, setGroup, setHelpText, setIconPath, setLink, setLink, setName, setParameters, setParameterString, setPath, setPosition, setShortName, setSmallIconPath, setup, toString
      • Methods inherited from class java.lang.Object

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

      • isEnabled

        public boolean isEnabled​(org.opencms.file.CmsObject cms)
        Specified by:
        isEnabled in interface org.opencms.workplace.tools.I_CmsToolHandler
        Overrides:
        isEnabled in class org.opencms.workplace.tools.CmsOfflineToolHandler
        See Also:
        I_CmsToolHandler.isEnabled(org.opencms.file.CmsObject)
      • isVisible

        public boolean isVisible​(org.opencms.file.CmsObject cms)
        Specified by:
        isVisible in interface org.opencms.workplace.tools.I_CmsToolHandler
        Overrides:
        isVisible in class org.opencms.workplace.tools.CmsDefaultToolHandler
        See Also:
        I_CmsToolHandler.isVisible(org.opencms.file.CmsObject)