|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectorg.opencms.workplace.tools.A_CmsToolHandler
org.opencms.workplace.tools.CmsDefaultToolHandler
org.opencms.workplace.tools.CmsOfflineToolHandler
public class CmsOfflineToolHandler
This tool handler disables the tool if in online project.
| 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 |
| Constructor Summary | |
|---|---|
CmsOfflineToolHandler()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getDisabledHelpText()
Returns the help text if disabled. |
boolean |
isEnabled(CmsObject cms)
Returns the state of the admin tool for a given cms context. |
| Methods inherited from class org.opencms.workplace.tools.CmsDefaultToolHandler |
|---|
isVisible |
| 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 |
| Constructor Detail |
|---|
public CmsOfflineToolHandler()
| Method Detail |
|---|
public java.lang.String getDisabledHelpText()
I_CmsToolHandler
getDisabledHelpText in interface I_CmsToolHandlergetDisabledHelpText in class A_CmsToolHandlerA_CmsToolHandler.getDisabledHelpText()public boolean isEnabled(CmsObject cms)
I_CmsToolHandler
isEnabled in interface I_CmsToolHandlerisEnabled in class CmsDefaultToolHandlercms - the cms context
true if enabledI_CmsToolHandler.isEnabled(org.opencms.file.CmsObject)
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||