|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.workplace.CmsWorkplace
org.opencms.workplace.explorer.CmsExplorerContextMenuBuilder
public class CmsExplorerContextMenuBuilder
Context menu builder class.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
CmsExplorerContextMenuBuilder(CmsJspActionElement jsp)
Public constructor. |
|
CmsExplorerContextMenuBuilder(javax.servlet.jsp.PageContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Public constructor with JSP variables. |
|
| Method Summary | |
|---|---|
protected void |
buildHtmlContextMenu(java.util.List<CmsExplorerContextMenuItem> contextMenuEntries,
CmsExplorerContextMenuItem parent,
java.lang.StringBuffer menu,
CmsResourceUtil[] resUtil,
CmsMenuRuleTranslator menuRuleTranslator,
boolean isSingleSelection,
java.util.Map<java.lang.String,CmsMenuItemVisibilityMode> storedModes)
Returns the HTML for the list of given context menu entry items. |
java.lang.String |
contextMenu()
Generates the context menu for the given resources. |
java.lang.String |
getParamActtarget()
Returns the link target parameter value. |
java.lang.String |
getParamResourcelist()
Returns the resourcelist parameter value. |
protected void |
initWorkplaceRequestValues(CmsWorkplaceSettings settings,
javax.servlet.http.HttpServletRequest request)
Analyzes the request for workplace parameters and adjusts the workplace settings accordingly. |
void |
setParamActtarget(java.lang.String paramActtarget)
Sets the link target parameter value. |
void |
setParamResourcelist(java.lang.String paramResourcelist)
Sets the resourcelist parameter value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsExplorerContextMenuBuilder(CmsJspActionElement jsp)
jsp - an initialized JSP action element
public CmsExplorerContextMenuBuilder(javax.servlet.jsp.PageContext context,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
context - the JSP page contextreq - the JSP requestres - the JSP response| Method Detail |
|---|
public java.lang.String contextMenu()
public java.lang.String getParamActtarget()
public java.lang.String getParamResourcelist()
public void setParamActtarget(java.lang.String paramActtarget)
paramActtarget - the link target parameter value to setpublic void setParamResourcelist(java.lang.String paramResourcelist)
paramResourcelist - the resourcelist parameter value to set
protected void buildHtmlContextMenu(java.util.List<CmsExplorerContextMenuItem> contextMenuEntries,
CmsExplorerContextMenuItem parent,
java.lang.StringBuffer menu,
CmsResourceUtil[] resUtil,
CmsMenuRuleTranslator menuRuleTranslator,
boolean isSingleSelection,
java.util.Map<java.lang.String,CmsMenuItemVisibilityMode> storedModes)
contextMenuEntries - the context menu entry items to loopparent - the parent context menu entry item or null if none is definedmenu - the Buffer to add the HTML toresUtil - the initialized resource utility to create the context menu formenuRuleTranslator - the menu rule translatorisSingleSelection - flag indicating if more than one resource is selectedstoredModes - caches the mode for the item rules
protected void initWorkplaceRequestValues(CmsWorkplaceSettings settings,
javax.servlet.http.HttpServletRequest request)
CmsWorkplace
initWorkplaceRequestValues in class CmsWorkplacesettings - the workplace settingsrequest - the current requestCmsWorkplace.initWorkplaceRequestValues(org.opencms.workplace.CmsWorkplaceSettings, javax.servlet.http.HttpServletRequest)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||