org.pentaho.platform.web.html
Class HtmlMenuProvider
java.lang.Object
  
org.pentaho.platform.plugin.services.pluginmgr.BaseMenuProvider
      
org.pentaho.platform.web.html.HtmlMenuProvider
- All Implemented Interfaces: 
 - IMenuProvider
 
public class HtmlMenuProvider
- extends BaseMenuProvider
 
 
 
 
HtmlMenuProvider
public HtmlMenuProvider()
getMenuBar
public String getMenuBar(String id,
                         String documentPath,
                         IPentahoSession session)
- Description copied from interface: 
IMenuProvider 
- Returns a menu bar object. The type of the object returned will depend upon the 
 implementor.
- Specified by:
 getMenuBar in interface IMenuProvider- Specified by:
 getMenuBar in class BaseMenuProvider
 
- Parameters:
 id - The id of the menu to be returned. The menu will to be defined
 in a XUL file e.g. pentaho-solutions/system/ui/menubar.xuldocumentPath - The path to the file that contains the definition of
 the menu e.g. system/ui/menubar.xulsession - A session object that the IMenuProvider can use to filter 
 the menu items returned
- Returns:
 - A menu bar object
 
 
 
getPopupMenu
public String getPopupMenu(String id,
                           String documentPath,
                           IPentahoSession session)
- Description copied from interface: 
IMenuProvider 
- Returns a popup menu object. The type of the object returned will depend upon the 
 implementor.
- Specified by:
 getPopupMenu in interface IMenuProvider- Specified by:
 getPopupMenu in class BaseMenuProvider
 
- Parameters:
 id - The id of the menu to be returned. The menu will to be defined
 in a XUL file e.g. pentaho-solutions/system/ui/menubar.xuldocumentPath - The path to the file that contains the definition of
 the menu e.g. system/ui/menubar.xulsession - A session object that the IMenuProvider can use to filter 
 the menu items returned
- Returns:
 - A menu bar object