Package org.openbravo.client.querylist
Class QueryListWidgetProvider
- java.lang.Object
-
- org.openbravo.client.myob.WidgetProvider
-
- org.openbravo.client.querylist.QueryListWidgetProvider
-
public class QueryListWidgetProvider extends WidgetProvider
Responsible for creating the Query/List Widgets.- Author:
- gorkaion
-
-
Field Summary
Fields Modifier and Type Field Description static String
WIDGETCLASS_PARAMETER
-
Fields inherited from class org.openbravo.client.myob.WidgetProvider
FIELDDEFINITIONS, PARAMETERS, TITLE, WIDGETCLASSID
-
-
Constructor Summary
Constructors Constructor Description QueryListWidgetProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
generate()
As a default will generate javascript which extends the OBShowParameterWidget widget.String
getDataSourceJavaScript()
org.codehaus.jettison.json.JSONObject
getWidgetInstanceDefinition(WidgetInstance widgetInstance)
-
Methods inherited from class org.openbravo.client.myob.WidgetProvider
addDefaultWidgetProperties, createValueMap, getClientSideWidgetClassName, getParameters, getWidgetClass, getWidgetClassDefinition, setParameters, setWidgetClass, validate
-
-
-
-
Field Detail
-
WIDGETCLASS_PARAMETER
public static final String WIDGETCLASS_PARAMETER
- See Also:
- Constant Field Values
-
-
Method Detail
-
generate
public String generate()
Description copied from class:WidgetProvider
As a default will generate javascript which extends the OBShowParameterWidget widget.- Overrides:
generate
in classWidgetProvider
-
getDataSourceJavaScript
public String getDataSourceJavaScript()
-
getWidgetInstanceDefinition
public org.codehaus.jettison.json.JSONObject getWidgetInstanceDefinition(WidgetInstance widgetInstance)
- Overrides:
getWidgetInstanceDefinition
in classWidgetProvider
-
-