org.opencms.workplace.tools
Class CmsDefaultToolHandler
java.lang.Object
org.opencms.workplace.tools.A_CmsToolHandler
org.opencms.workplace.tools.CmsDefaultToolHandler
- All Implemented Interfaces:
- I_CmsToolHandler
- Direct Known Subclasses:
- CmsOfflineToolHandler
public class CmsDefaultToolHandler
- extends A_CmsToolHandler
Default admin tool handler.
Always enabled and visible.
- Since:
- 6.0.0
- Version:
- $Revision: 1.16 $
- Author:
- Michael Moossen
|
Method Summary |
boolean |
isEnabled(CmsObject cms)
Returns the state of the admin tool for a given cms context. |
boolean |
isVisible(CmsObject cms)
Returns the visibility flag for a given cms context. |
| Methods inherited from class org.opencms.workplace.tools.A_CmsToolHandler |
getConfirmationMessage, getDisabledHelpText, getGroup, getHelpText, getIconPath, getLink, getName, getParameters, getPath, getPosition, getShortName, getSmallIconPath, setConfirmationMessage, setDisabledHelpText, setGroup, setHelpText, setIconPath, setLink, setName, setParameterString, setPath, setPosition, setShortName, setSmallIconPath, setup, toString |
CmsDefaultToolHandler
public CmsDefaultToolHandler()
isEnabled
public boolean isEnabled(CmsObject cms)
- Description copied from interface:
I_CmsToolHandler
- Returns the state of the admin tool for a given cms context.
- Parameters:
cms - the cms context
- Returns:
true if enabled- See Also:
I_CmsToolHandler.isEnabled(org.opencms.file.CmsObject)
isVisible
public boolean isVisible(CmsObject cms)
- Description copied from interface:
I_CmsToolHandler
- Returns the visibility flag for a given cms context.
- Parameters:
cms - the cms context
- Returns:
true if visible- See Also:
I_CmsToolHandler.isVisible(org.opencms.file.CmsObject)