|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
public interface I_CmsToolHandler
Interface for an admin tool handler.
These handlers are created and managed by the
.CmsToolManager
| Method Summary | |
|---|---|
java.lang.String |
getConfirmationMessage()
Returns an optional confirmation message, displayed in a js confirm dialog. |
java.lang.String |
getDisabledHelpText()
Returns the help text if disabled. |
java.lang.String |
getGroup()
Returns the group. |
java.lang.String |
getHelpText()
Returns the help text. |
java.lang.String |
getIconPath()
Returns the path to the icon. |
java.lang.String |
getLink()
Returns the link to the tool. |
java.lang.String |
getName()
Returns the displayed name. |
java.util.Map |
getParameters(CmsWorkplace wp)
Returns the evaluated map of parameters. |
java.lang.String |
getPath()
Returns the tool path to install the tool in. |
float |
getPosition()
Returns the relative position in the group. |
java.lang.String |
getShortName()
Returns the name for the menu or navbar. |
java.lang.String |
getSmallIconPath()
Returns the path to an optional small(16x16) icon. |
boolean |
isEnabled(CmsObject cms)
Returns the state of the admin tool for a given cms context. |
boolean |
isEnabled(CmsWorkplace wp)
Returns the state of the admin tool for a given workplace context. |
boolean |
isVisible(CmsObject cms)
Returns the visibility flag for a given cms context. |
boolean |
isVisible(CmsWorkplace wp)
Returns the visibility flag for a given workplace context. |
boolean |
setup(CmsObject cms,
CmsToolRootHandler root,
java.lang.String resourcePath)
Main method that somehow setups the admin tool handler. |
| Method Detail |
|---|
java.lang.String getDisabledHelpText()
java.lang.String getGroup()
java.lang.String getHelpText()
java.lang.String getIconPath()
java.lang.String getLink()
java.lang.String getName()
java.util.Map getParameters(CmsWorkplace wp)
wp - the workplace context
java.lang.String getPath()
float getPosition()
java.lang.String getShortName()
java.lang.String getConfirmationMessage()
java.lang.String getSmallIconPath()
boolean isEnabled(CmsObject cms)
cms - the cms context
true if enabledboolean isVisible(CmsObject cms)
cms - the cms context
true if visibleboolean isEnabled(CmsWorkplace wp)
wp - the workplace context
true if enabledboolean isVisible(CmsWorkplace wp)
wp - the workplace context
true if visible
boolean setup(CmsObject cms,
CmsToolRootHandler root,
java.lang.String resourcePath)
cms - the admin context (at opencms-workplace (re-)initialization time)root - the root contextresourcePath - the resource path of the file/folder to use as admin tool
false if something goes wrong
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||