Package org.openbravo.client.application
Class NavigationBarComponentGenerator
- java.lang.Object
-
- org.openbravo.client.application.NavigationBarComponentGenerator
-
- All Implemented Interfaces:
OBProvidable
,OBSingleton
public class NavigationBarComponentGenerator extends Object implements OBSingleton
This class generates the javascript code of the navigation bar components.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NavigationBarComponentGenerator.NBComponent
-
Constructor Summary
Constructors Constructor Description NavigationBarComponentGenerator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Collection<NavigationBarComponentGenerator.NBComponent>
getDynamicNavigationBarComponents(Map<String,Object> parameters)
Generates the code of the dynamic navigation bar components.protected static NavigationBarComponentGenerator
getInstance()
protected Collection<NavigationBarComponentGenerator.NBComponent>
getNavigationBarComponents(Map<String,Object> parameters)
Generates the code of the navigation bar components.
-
-
-
Method Detail
-
getInstance
protected static NavigationBarComponentGenerator getInstance()
-
getNavigationBarComponents
protected Collection<NavigationBarComponentGenerator.NBComponent> getNavigationBarComponents(Map<String,Object> parameters)
Generates the code of the navigation bar components.- Parameters:
parameters
- A map with the parameters to be used in the generation of the component.- Returns:
- a Collection with the generated navigation bar components
-
getDynamicNavigationBarComponents
protected Collection<NavigationBarComponentGenerator.NBComponent> getDynamicNavigationBarComponents(Map<String,Object> parameters)
Generates the code of the dynamic navigation bar components.- Parameters:
parameters
- A map with the parameters to be used in the generation of the component.- Returns:
- a Collection with the generated dynamic navigation bar components
-
-