Package org.adempiere.webui
Class Extensions
java.lang.Object
org.adempiere.webui.Extensions
Entry point to get implementation instance for UI extensions (through OSGI service or Equinox extension).
- Author:
- viola, hengsin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic IADTabpanel
getADTabPanel
(String tabType) static final List<IChartRendererService>
static ICreateFrom
getCreateFrom
(GridTab mTab) static final org.zkoss.zk.ui.Component
getDashboardGadget
(String url, org.zkoss.zk.ui.Component parent) static final org.zkoss.zk.ui.Component
getDashboardGadget
(String url, org.zkoss.zk.ui.Component parent, MDashboardContent dc) static ADForm
static IMappedFormFactory
static IMediaView
getMediaView
(String contentType, String extension, boolean mobile) static IPaymentForm
getPaymentForm
(int windowNo, GridTab mTab, String paymentRule) static List<IProcessParameterListener>
getProcessParameterListeners
(String processClass, String columnName) static AbstractWQuickEntry
getQuickEntry
(int WindowNo, int TabNo, int AdWindowID) static AbstractWQuickEntry
getQuickEntry
(Integer AdWindowID) static List<IReportViewerRenderer>
-
Constructor Details
-
Extensions
public Extensions()
-
-
Method Details
-
getForm
- 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) - Parameters:
processClass
- Java class name of processcolumnName
-- Returns:
- list of
IProcessParameterListener
-
getCreateFrom
- Parameters:
mTab
-- Returns:
- ICreateFrom instance
-
getPaymentForm
- 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) - 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) - Parameters:
url
-parent
-dc
-- Returns:
- Gadget component
-
getChartRendererServices
- Returns:
- list of
IChartRendererService
-
getMappedFormFactory
- Returns:
IMappedFormFactory
instance
-
getQuickEntry
- Parameters:
AdWindowID
- AD_Window_ID- Returns:
- IQuickEntryFactory instance or null if AdWindowID not found
-
getQuickEntry
- Parameters:
WindowNo
-TabNo
-AdWindowID
- AD_Window_ID- Returns:
- IQuickEntry instance or null if AdWindowID not found
-
getMediaView
- Parameters:
contentType
-extension
-mobile
- true for mobile, otherwise for desktop- Returns:
IMediaView
instance
-
getADTabPanel
- Parameters:
tabType
- build in - FORM or SORT, custom - through IADTabPanelFactory extension- Returns:
IADTabpanel
instance
-
getReportViewerRenderers
- Returns:
- list of
IReportViewerRenderer
-