Package org.adempiere.webui
Class Extensions
java.lang.Object
org.adempiere.webui.Extensions
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic IADTabpanel
getADTabPanel
(String tabType) Get IADTabpanel instancestatic final List<IChartRendererService>
Get chart renderer servicesstatic ICreateFrom
getCreateFrom
(GridTab mTab) Get CreateFrom instancestatic final org.zkoss.zk.ui.Component
getDashboardGadget
(String url, org.zkoss.zk.ui.Component parent) Get dashboard gadget componentstatic final org.zkoss.zk.ui.Component
getDashboardGadget
(String url, org.zkoss.zk.ui.Component parent, MDashboardContent dc) Get dashboard gadget componentstatic FindWindow
getFindWindow
(int targetWindowNo, int targetTabNo, String title, int AD_Table_ID, String tableName, String whereExtended, GridField[] findFields, int minRecords, int adTabId, AbstractADWindowContent windowPanel) Get find windowstatic ADForm
Get ADForm instancestatic IMappedFormFactory
Get mapped form factory servicestatic IMediaView
getMediaView
(String contentType, String extension, boolean mobile) Get media viewer servicestatic IPaymentForm
getPaymentForm
(int windowNo, GridTab mTab, String paymentRule) Get payment form instancestatic List<IProcessParameterListener>
getProcessParameterListeners
(String processClass, String columnName) Get process parameter listenersstatic AbstractWQuickEntry
getQuickEntry
(int WindowNo, int TabNo, int AdWindowID) Get quick entry instancestatic AbstractWQuickEntry
getQuickEntry
(Integer AdWindowID) Get quick entry instancestatic List<IReportViewerRenderer>
Get report viewer renderers
-
Constructor Details
-
Extensions
public Extensions()
-
-
Method Details
-
getForm
Get ADForm instance- Parameters:
formId
- Java class name, OSGi component name or equinox extension Id- Returns:
- IFormController instance or null if formId not found
-
getProcessParameterListeners
public static List<IProcessParameterListener> getProcessParameterListeners(String processClass, String columnName) Get process parameter listeners- Parameters:
processClass
- Java class name of processcolumnName
-- Returns:
- list of
IProcessParameterListener
-
getCreateFrom
Get CreateFrom instance- Parameters:
mTab
-- Returns:
- ICreateFrom instance
-
getPaymentForm
Get payment form instance- Parameters:
windowNo
-mTab
- GridTabpaymentRule
-- Returns:
- IPaymentForm instance
-
getDashboardGadget
public static final org.zkoss.zk.ui.Component getDashboardGadget(String url, org.zkoss.zk.ui.Component parent) Get dashboard gadget component- Parameters:
url
-parent
-- Returns:
- Gadget component
-
getDashboardGadget
public static final org.zkoss.zk.ui.Component getDashboardGadget(String url, org.zkoss.zk.ui.Component parent, MDashboardContent dc) Get dashboard gadget component- Parameters:
url
-parent
-dc
-- Returns:
- Gadget component
-
getChartRendererServices
Get chart renderer services- Returns:
- list of
IChartRendererService
-
getMappedFormFactory
Get mapped form factory service- Returns:
IMappedFormFactory
instance
-
getQuickEntry
Get quick entry instance- Parameters:
AdWindowID
- AD_Window_ID- Returns:
- AbstractWQuickEntry instance or null if AdWindowID not found
-
getQuickEntry
Get quick entry instance- Parameters:
WindowNo
-TabNo
-AdWindowID
- AD_Window_ID- Returns:
- AbstractWQuickEntry instance or null if AdWindowID not found
-
getMediaView
Get media viewer service- Parameters:
contentType
-extension
-mobile
- true for mobile, otherwise for desktop- Returns:
IMediaView
instance
-
getADTabPanel
Get IADTabpanel instance- Parameters:
tabType
- build in - FORM or SORT, custom - through IADTabPanelFactory extension- Returns:
IADTabpanel
instance
-
getReportViewerRenderers
Get report viewer renderers- Returns:
- list of
IReportViewerRenderer
-
getFindWindow
public static FindWindow getFindWindow(int targetWindowNo, int targetTabNo, String title, int AD_Table_ID, String tableName, String whereExtended, GridField[] findFields, int minRecords, int adTabId, AbstractADWindowContent windowPanel) Get find window- Parameters:
targetWindowNo
-targetTabNo
-title
-AD_Table_ID
-tableName
-whereExtended
-findFields
-minRecords
-adTabId
-windowPanel
-- Returns:
FindWindow
instance
-