Package org.opencms.workplace.list
Class CmsListOpenResourceAction
java.lang.Object
org.opencms.workplace.tools.A_CmsHtmlIconButton
org.opencms.workplace.list.A_CmsListAction
org.opencms.workplace.list.CmsListDirectAction
org.opencms.workplace.list.CmsListDefaultAction
org.opencms.workplace.list.A_CmsListDefaultJsAction
org.opencms.workplace.list.CmsListOpenResourceAction
- 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
-
Field Summary
Fields inherited from class org.opencms.workplace.tools.A_CmsHtmlIconButton
EMPTY_MESSAGE, m_id -
Constructor Summary
ConstructorsConstructorDescriptionCmsListOpenResourceAction(String id, String resColumnPathId) Default Constructor. -
Method Summary
Methods inherited from class org.opencms.workplace.list.A_CmsListDefaultJsAction
resolveOnClicMethods inherited from class org.opencms.workplace.list.CmsListDefaultAction
getColumnForLink, getColumnFormatter, resolveButtonStyle, resolveName, setColumnForLinkMethods inherited from class org.opencms.workplace.list.CmsListDirectAction
buttonHtml, confirmationTextHtml, getColumnForTexts, getItem, helpTextHtml, resolveHelpText, setColumnForTexts, setItemMethods inherited from class org.opencms.workplace.list.A_CmsListAction
buttonHtml, defaultConfirmationHtml, getConfirmationMessage, getListId, getWp, setConfirmationMessage, setListId, setWpMethods inherited from class org.opencms.workplace.tools.A_CmsHtmlIconButton
defaultButtonHtml, defaultButtonHtml, defaultHelpHtml, getIconPath, getId, getName, isVisible, setEnabled, setHelpText, setIconPath, setName, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opencms.workplace.tools.I_CmsHtmlIconButton
getIconPath, getId, getName, isVisible, setEnabled, setHelpText, setIconPath, setName, setVisibleMethods inherited from interface org.opencms.workplace.list.I_CmsListAction
buttonHtml, getConfirmationMessage, getListId, getWp, setConfirmationMessage, setListId, setWp
-
Constructor Details
-
CmsListOpenResourceAction
Default Constructor.- Parameters:
id- the unique idresColumnPathId- the id of the column with the resource root path
-
-
Method Details
-
getHelpText
- Specified by:
getHelpTextin interfaceorg.opencms.workplace.tools.I_CmsHtmlIconButton- Overrides:
getHelpTextin classorg.opencms.workplace.tools.A_CmsHtmlIconButton- See Also:
-
isEnabled
- Specified by:
isEnabledin interfaceorg.opencms.workplace.tools.I_CmsHtmlIconButton- Overrides:
isEnabledin classorg.opencms.workplace.tools.A_CmsHtmlIconButton- See Also:
-
jsCode
Description copied from class:A_CmsListDefaultJsActionThe js code to execute.- Specified by:
jsCodein classA_CmsListDefaultJsAction- Returns:
- js code to execute
- See Also:
-
getResourceName
Returns the most possible right resource name.- Returns:
- the most possible right resource name
-