public class CmsOnlyAdminToolHandler extends A_CmsToolHandler
ARG_PARAM_NAME, ARG_PATH_NAME, ARGS_PROPERTY_DEFINITION, ARGUMENT_SEPARATOR, DEFAULT_DISABLED_HELPTEXT, VALUE_SEPARATOR
构造器和说明 |
---|
CmsOnlyAdminToolHandler() |
限定符和类型 | 方法和说明 |
---|---|
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.
|
getConfirmationMessage, getDisabledHelpText, 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
public boolean isEnabled(CmsObject cms)
I_CmsToolHandler
cms
- the cms contexttrue
if enabledI_CmsToolHandler.isEnabled(org.opencms.file.CmsObject)
public boolean isVisible(CmsObject cms)
I_CmsToolHandler
cms
- the cms contexttrue
if visibleI_CmsToolHandler.isVisible(org.opencms.file.CmsObject)