Package org.opencms.workplace.list
Class CmsListEditResourceAction
- java.lang.Object
-
- org.opencms.workplace.tools.A_CmsHtmlIconButton
-
- org.opencms.workplace.list.A_CmsListAction
-
- org.opencms.workplace.list.CmsListDirectAction
-
- org.opencms.workplace.list.CmsListEditResourceAction
-
- All Implemented Interfaces:
I_CmsListAction
,I_CmsListDirectAction
,org.opencms.workplace.tools.I_CmsHtmlIconButton
public class CmsListEditResourceAction extends CmsListDirectAction
Opens the selected resource in a new window.- Since:
- 6.0.0
-
-
Constructor Summary
Constructors Constructor Description CmsListEditResourceAction(java.lang.String id, java.lang.String resColumnPathId)
Default Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.opencms.i18n.CmsMessageContainer
getHelpText()
java.lang.String
getIconPath()
org.opencms.i18n.CmsMessageContainer
getName()
protected org.opencms.workplace.explorer.CmsResourceUtil
getResourceUtil()
Returns the current result Util.boolean
isVisible()
void
setItem(CmsListItem item)
Sets the current item, should be called before the
method.I_CmsHtmlIconButton.buttonHtml(org.opencms.workplace.CmsWorkplace)
-
Methods inherited from class org.opencms.workplace.list.CmsListDirectAction
buttonHtml, confirmationTextHtml, getColumnForTexts, getItem, helpTextHtml, resolveButtonStyle, resolveHelpText, resolveName, resolveOnClic, setColumnForTexts
-
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, getId, isEnabled, setEnabled, setHelpText, setIconPath, setName, setVisible
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opencms.workplace.tools.I_CmsHtmlIconButton
getId, isEnabled, setEnabled, setHelpText, setIconPath, setName, setVisible
-
Methods inherited from interface org.opencms.workplace.list.I_CmsListAction
buttonHtml, getConfirmationMessage, getListId, getWp, setConfirmationMessage, setListId, setWp
-
-
-
-
Constructor Detail
-
CmsListEditResourceAction
public CmsListEditResourceAction(java.lang.String id, java.lang.String resColumnPathId)
Default Constructor.- Parameters:
id
- the unique idresColumnPathId
- the id of the column with the resource root path
-
-
Method Detail
-
getHelpText
public org.opencms.i18n.CmsMessageContainer getHelpText()
- Specified by:
getHelpText
in interfaceorg.opencms.workplace.tools.I_CmsHtmlIconButton
- Overrides:
getHelpText
in classorg.opencms.workplace.tools.A_CmsHtmlIconButton
- See Also:
I_CmsHtmlIconButton.getHelpText()
-
getIconPath
public java.lang.String getIconPath()
- Specified by:
getIconPath
in interfaceorg.opencms.workplace.tools.I_CmsHtmlIconButton
- Overrides:
getIconPath
in classorg.opencms.workplace.tools.A_CmsHtmlIconButton
- See Also:
I_CmsHtmlIconButton.getIconPath()
-
getName
public org.opencms.i18n.CmsMessageContainer getName()
- Specified by:
getName
in interfaceorg.opencms.workplace.tools.I_CmsHtmlIconButton
- Overrides:
getName
in classorg.opencms.workplace.tools.A_CmsHtmlIconButton
- See Also:
I_CmsHtmlIconButton.getName()
-
isVisible
public boolean isVisible()
- Specified by:
isVisible
in interfaceorg.opencms.workplace.tools.I_CmsHtmlIconButton
- Overrides:
isVisible
in classorg.opencms.workplace.tools.A_CmsHtmlIconButton
- See Also:
I_CmsHtmlIconButton.isVisible()
-
setItem
public void setItem(CmsListItem item)
Description copied from interface:I_CmsListDirectAction
Sets the current item, should be called before the
method.I_CmsHtmlIconButton.buttonHtml(org.opencms.workplace.CmsWorkplace)
- Specified by:
setItem
in interfaceI_CmsListDirectAction
- Overrides:
setItem
in classCmsListDirectAction
- Parameters:
item
- the item- See Also:
I_CmsListDirectAction.setItem(org.opencms.workplace.list.CmsListItem)
-
getResourceUtil
protected org.opencms.workplace.explorer.CmsResourceUtil getResourceUtil()
Returns the current result Util.- Returns:
- the current result Util
-
-