Class CmsListEditResourceAction

java.lang.Object
org.opencms.workplace.tools.A_CmsHtmlIconButton
All Implemented Interfaces:
I_CmsListAction, I_CmsListDirectAction, org.opencms.workplace.tools.I_CmsHtmlIconButton

Opens the selected resource in a new window.

Since:
6.0.0
  • Constructor Details

    • CmsListEditResourceAction

      public CmsListEditResourceAction(String id, String resColumnPathId)
      Default Constructor.

      Parameters:
      id - the unique id
      resColumnPathId - the id of the column with the resource root path
  • Method Details

    • getHelpText

      public org.opencms.i18n.CmsMessageContainer getHelpText()
      Specified by:
      getHelpText in interface org.opencms.workplace.tools.I_CmsHtmlIconButton
      Overrides:
      getHelpText in class org.opencms.workplace.tools.A_CmsHtmlIconButton
      See Also:
      • I_CmsHtmlIconButton.getHelpText()
    • getIconPath

      public String getIconPath()
      Specified by:
      getIconPath in interface org.opencms.workplace.tools.I_CmsHtmlIconButton
      Overrides:
      getIconPath in class org.opencms.workplace.tools.A_CmsHtmlIconButton
      See Also:
      • I_CmsHtmlIconButton.getIconPath()
    • getName

      public org.opencms.i18n.CmsMessageContainer getName()
      Specified by:
      getName in interface org.opencms.workplace.tools.I_CmsHtmlIconButton
      Overrides:
      getName in class org.opencms.workplace.tools.A_CmsHtmlIconButton
      See Also:
      • I_CmsHtmlIconButton.getName()
    • isVisible

      public boolean isVisible()
      Specified by:
      isVisible in interface org.opencms.workplace.tools.I_CmsHtmlIconButton
      Overrides:
      isVisible in class org.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 I_CmsHtmlIconButton.buttonHtml(org.opencms.workplace.CmsWorkplace) method.

      Specified by:
      setItem in interface I_CmsListDirectAction
      Overrides:
      setItem in class CmsListDirectAction
      Parameters:
      item - the item
      See Also:
    • getResourceUtil

      protected org.opencms.workplace.explorer.CmsResourceUtil getResourceUtil()
      Returns the current result Util.

      Returns:
      the current result Util