|
||||||||||
| 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 | |
|---|---|
String |
getConfirmationMessage()
Returns an optional confirmation message, displayed in a js confirm dialog. |
String |
getDisabledHelpText()
Returns the help text if disabled. |
String |
getGroup()
Returns the group. |
String |
getHelpText()
Returns the help text. |
String |
getIconPath()
Returns the path to the icon. |
String |
getLink()
Returns the link to the tool. |
String |
getName()
Returns the displayed name. |
Map |
getParameters(CmsWorkplace wp)
Returns the evaluated map of parameters. |
String |
getPath()
Returns the tool path to install the tool in. |
float |
getPosition()
Returns the relative position in the group. |
String |
getShortName()
Returns the name for the menu or navbar. |
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 |
isVisible(CmsObject cms)
Returns the visibility flag for a given cms context. |
boolean |
setup(CmsObject cms,
String resourcePath)
Main method that somehow setups the admin tool handler. |
| Method Detail |
|---|
String getDisabledHelpText()
String getGroup()
String getHelpText()
String getIconPath()
String getLink()
String getName()
Map getParameters(CmsWorkplace wp)
wp - the workplace context
String getPath()
float getPosition()
String getShortName()
String getConfirmationMessage()
String getSmallIconPath()
boolean isEnabled(CmsObject cms)
cms - the cms context
true if enabledboolean isVisible(CmsObject cms)
cms - the cms context
true if visible
boolean setup(CmsObject cms,
String resourcePath)
cms - the admin context (at opencms-workplace (re-)initialization time)resourcePath - 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 | |||||||||