|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface for an admin tool handler.
These handlers are created and managed by the
.CmsToolManager
| Method Summary | |
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. |
String |
getParameters()
Returns the needed 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 |
public String getDisabledHelpText()
public String getGroup()
public String getHelpText()
public String getIconPath()
public String getLink()
public String getName()
public String getParameters()
public String getPath()
public float getPosition()
public String getShortName()
public String getSmallIconPath()
public boolean isEnabled(CmsObject cms)
cms - the cms context
true if enabledpublic boolean isVisible(CmsObject cms)
cms - the cms context
true if visible
public 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 | ||||||||||