|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
com.sapportals.wcm.rendering.uicommand.UIMenuFactory
The UIMenuFactory is a singleton factory, that allows other classes to retrieve
instances of IUIMenus. When the factory is called for the first time
or when it receives a ConfigEvent, it reads out information from
the config framework.
| Field Summary | |
static java.lang.String |
PLUGIN
path to use for the ConfigFramework |
| Method Summary | |
void |
configEvent(com.sapportals.config.event.ConfigEvent parm1)
is called by the configuration, if configuration for the factory was changed. |
java.lang.String |
getConfigListenerId()
Gets the configListenerId attribute of the UIMenuFactory object |
static UIMenuFactory |
getInstance()
Gets the instance attribute of the UIMenuCommandFactory class |
com.sapportals.htmlb.Component |
getRenderMenu(IResource resource,
java.lang.String menuType,
com.sapportals.wcm.repository.service.layout.customizing.IParameterName group,
com.sapportals.wcm.repository.service.layout.customizing.flavor.IFlavor flavor,
IProxy proxy)
Renders a menu component ( menu bar, hover menu, button menu or link menu) according with the input data |
com.sapportals.htmlb.Component |
getRenderMenu(IResource resource,
java.lang.String menuType,
com.sapportals.wcm.repository.service.layout.customizing.IParameterName group,
java.lang.String groupID,
com.sapportals.wcm.repository.service.layout.customizing.flavor.IFlavor flavor)
Renders a menu component ( menu bar, hover menu, button menu or link menu) for a command group which have only command which generate external links and no proxy is needed |
com.sapportals.htmlb.Component |
getRenderMenu(IResource resource,
java.lang.String menuType,
com.sapportals.wcm.repository.service.layout.customizing.IParameterName group,
java.lang.String groupID,
com.sapportals.wcm.repository.service.layout.customizing.flavor.IFlavor flavor,
IProxy proxy)
Renders a menu component ( menu bar, hover menu, button menu or link menu) according with the input data |
com.sapportals.htmlb.Component |
renderMenuForGroup(IResource resource,
java.lang.String menuType,
IUIGroupCommand groupCommand,
IProxy proxy)
Renders a menu component ( menu bar, hover menu, button menu or link menu) according with the input data |
| Field Detail |
public static final java.lang.String PLUGIN
| Method Detail |
public static UIMenuFactory getInstance()
public com.sapportals.htmlb.Component getRenderMenu(IResource resource,
java.lang.String menuType,
com.sapportals.wcm.repository.service.layout.customizing.IParameterName group,
com.sapportals.wcm.repository.service.layout.customizing.flavor.IFlavor flavor,
IProxy proxy)
throws WcmException
resource - the IResource for which the component
is requieredproxy - the Control that called this method. It is set as parameter
for the retrieved instancemenuType - a String which specify the menu typegroup - a IParameterName which specify the groupflavor - a IFlavor which specify the flavorWdfException - Exception raised in failure situation
public com.sapportals.htmlb.Component renderMenuForGroup(IResource resource,
java.lang.String menuType,
IUIGroupCommand groupCommand,
IProxy proxy)
throws WcmException
resource - the IResource for which the component
is requieredproxy - the Control that called this method. It is set as parameter
for the retrieved instancemenuType - a String which specify the menu typegroup - a IParameterName which specify the groupflavor - a IFlavor which specify the flavorWdfException - Exception raised in failure situation
public com.sapportals.htmlb.Component getRenderMenu(IResource resource,
java.lang.String menuType,
com.sapportals.wcm.repository.service.layout.customizing.IParameterName group,
java.lang.String groupID,
com.sapportals.wcm.repository.service.layout.customizing.flavor.IFlavor flavor,
IProxy proxy)
throws WcmException
resource - the IResource for which the component
is requieredmenuType - a String which specify the menu typegroup - a IParameterName which specify the groupgroupID - a String which specify the group IDflavor - a IFlavor which specify the flavorproxy - the Control that called this method. It is set as parameter
for the retrieved instanceWdfException - Exception raised in failure situation
public com.sapportals.htmlb.Component getRenderMenu(IResource resource,
java.lang.String menuType,
com.sapportals.wcm.repository.service.layout.customizing.IParameterName group,
java.lang.String groupID,
com.sapportals.wcm.repository.service.layout.customizing.flavor.IFlavor flavor)
throws WcmException
resource - the IResource for which the component
is requieredmenuType - a String which specify the menu typegroup - a IParameterName which specify the groupgroupID - a String which specify the group IDflavor - a IFlavor which specify the flavorWdfException - Exception raised in failure situationpublic java.lang.String getConfigListenerId()
public void configEvent(com.sapportals.config.event.ConfigEvent parm1)
ConfigEvent.CONFIGURABLE_LOADED or ConfigEvent.CONFIGMANAGER_TERMINATED
, the factory deletes all its entries and reloads the configuration, creating
all commands anew.parm1 - the event raised by the configuration
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||