Package org.opencms.workplace.list
Class CmsListIndependentAction
- java.lang.Object
-
- org.opencms.workplace.tools.A_CmsHtmlIconButton
-
- org.opencms.workplace.list.A_CmsListAction
-
- org.opencms.workplace.list.CmsListIndependentAction
-
- All Implemented Interfaces:
I_CmsListAction
,org.opencms.workplace.tools.I_CmsHtmlIconButton
- Direct Known Subclasses:
A_CmsListIndependentJsAction
,A_CmsListSearchAction
,CmsListDropdownAction
public class CmsListIndependentAction extends A_CmsListAction
Default implementation of a independent action for a html list.- Since:
- 6.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ACTION_EXPLORER_SWITCH_ID
List independent action id constant.
-
Constructor Summary
Constructors Constructor Description CmsListIndependentAction(java.lang.String id)
Default Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
buttonHtml(org.opencms.workplace.CmsWorkplace wp)
static CmsListIndependentAction
getDefaultExplorerSwitchAction()
Returns the default explorer switch action for explorer list dialogs.protected java.lang.String
resolveOnClic(org.opencms.workplace.CmsWorkplace wp)
Help method to resolve the on clic text to use.-
Methods inherited from class org.opencms.workplace.list.A_CmsListAction
buttonHtml, defaultConfirmationHtml, getConfirmationMessage, getListId, getWp, setConfirmationMessage, setListId, setWp
-
Methods inherited from class org.opencms.workplace.tools.A_CmsHtmlIconButton
defaultButtonHtml, defaultButtonHtml, defaultHelpHtml, getHelpText, getIconPath, getId, getName, isEnabled, isVisible, setEnabled, setHelpText, setIconPath, setName, setVisible
-
-
-
-
Field Detail
-
ACTION_EXPLORER_SWITCH_ID
public static final java.lang.String ACTION_EXPLORER_SWITCH_ID
List independent action id constant.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CmsListIndependentAction
public CmsListIndependentAction(java.lang.String id)
Default Constructor.- Parameters:
id
- unique id
-
-
Method Detail
-
resolveOnClic
protected java.lang.String resolveOnClic(org.opencms.workplace.CmsWorkplace wp)
Help method to resolve the on clic text to use.- Parameters:
wp
- the workplace context- Returns:
- the on clic text
-
buttonHtml
public java.lang.String buttonHtml(org.opencms.workplace.CmsWorkplace wp)
- See Also:
I_CmsHtmlIconButton.buttonHtml(CmsWorkplace)
-
getDefaultExplorerSwitchAction
public static CmsListIndependentAction getDefaultExplorerSwitchAction()
Returns the default explorer switch action for explorer list dialogs.- Returns:
- the default explorer switch action
-
-