Class SmartClientComponentProvider
- java.lang.Object
-
- org.openbravo.client.kernel.BaseComponentProvider
-
- org.openbravo.userinterface.smartclient.SmartClientComponentProvider
-
- All Implemented Interfaces:
ComponentProvider
@ApplicationScoped public class SmartClientComponentProvider extends BaseComponentProvider
Is used to provide the global resources needed for smartclient.- Author:
- mtaal
- See Also:
StaticResourceComponent
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openbravo.client.kernel.BaseComponentProvider
BaseComponentProvider.ComponentResource
-
Nested classes/interfaces inherited from interface org.openbravo.client.kernel.ComponentProvider
ComponentProvider.Qualifier, ComponentProvider.Selector
-
-
Field Summary
Fields Modifier and Type Field Description static String
QUALIFIER
static String
SC_COMPONENT_TYPE
-
Constructor Summary
Constructors Constructor Description SmartClientComponentProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Component
getComponent(String componentId, Map<String,Object> parameters)
List<BaseComponentProvider.ComponentResource>
getGlobalComponentResources()
Implemented here for backward compatibility, calls theBaseComponentProvider.getGlobalResources()
String
getModulePackageName()
Override this method if the component is in a different package than the module.-
Methods inherited from class org.openbravo.client.kernel.BaseComponentProvider
createComponentResource, createComponentResource, createComponentResource, createDynamicResource, createStaticResource, createStaticResource, createStyleSheetResource, createStyleSheetResource, getADAppDependencies, getComponent, getGlobalResources, getModule, getVersionParameters, setAppDependencies
-
-
-
-
Field Detail
-
SC_COMPONENT_TYPE
public static final String SC_COMPONENT_TYPE
- See Also:
- Constant Field Values
-
QUALIFIER
public static final String QUALIFIER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getComponent
public Component getComponent(String componentId, Map<String,Object> parameters)
- Returns:
- the
TypesComponent
. - Throws:
IllegalArgumentException
-
getGlobalComponentResources
public List<BaseComponentProvider.ComponentResource> getGlobalComponentResources()
Description copied from class:BaseComponentProvider
Implemented here for backward compatibility, calls theBaseComponentProvider.getGlobalResources()
- Specified by:
getGlobalComponentResources
in interfaceComponentProvider
- Overrides:
getGlobalComponentResources
in classBaseComponentProvider
- Returns:
- a set of global resources
- See Also:
ComponentProvider.getGlobalComponentResources()
-
getModulePackageName
public String getModulePackageName()
Description copied from class:BaseComponentProvider
Override this method if the component is in a different package than the module.- Overrides:
getModulePackageName
in classBaseComponentProvider
- Returns:
- the package name of the module to which this provider belongs
-
-