Class CmsElementContentToolHandler
- java.lang.Object
-
- org.opencms.workplace.tools.A_CmsToolHandler
-
- org.opencms.workplace.tools.CmsDefaultToolHandler
-
- org.opencms.workplace.tools.CmsOfflineToolHandler
-
- org.opencms.workplace.tools.content.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
-
-
Constructor Summary
Constructors Constructor Description CmsElementContentToolHandler()
-
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.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
-
-
-
-
Constructor Detail
-
CmsElementContentToolHandler
public CmsElementContentToolHandler()
-
-
Method Detail
-
isEnabled
public boolean isEnabled(org.opencms.file.CmsObject cms)
- Specified by:
isEnabled
in interfaceorg.opencms.workplace.tools.I_CmsToolHandler
- Overrides:
isEnabled
in classorg.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 interfaceorg.opencms.workplace.tools.I_CmsToolHandler
- Overrides:
isVisible
in classorg.opencms.workplace.tools.CmsDefaultToolHandler
- See Also:
I_CmsToolHandler.isVisible(org.opencms.file.CmsObject)
-
-