Class Extensions

java.lang.Object
org.adempiere.webui.Extensions

public class Extensions extends Object
Entry point to get implementation instance for UI extensions (through OSGI service or Equinox extension).
Author:
viola, hengsin
  • Constructor Details

    • Extensions

      public Extensions()
  • Method Details

    • getForm

      public static ADForm getForm(String formId)
      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 process
      columnName -
      Returns:
      list of IProcessParameterListener
    • getCreateFrom

      public static ICreateFrom getCreateFrom(GridTab mTab)
      Parameters:
      mTab -
      Returns:
      ICreateFrom instance
    • getPaymentForm

      public static IPaymentForm getPaymentForm(int windowNo, GridTab mTab, String paymentRule)
      Parameters:
      windowNo -
      mTab - GridTab
      paymentRule -
      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

      public static final List<IChartRendererService> getChartRendererServices()
      Returns:
      list of IChartRendererService
    • getMappedFormFactory

      public static IMappedFormFactory getMappedFormFactory()
      Returns:
      IMappedFormFactory instance
    • getQuickEntry

      public static AbstractWQuickEntry getQuickEntry(Integer AdWindowID)
      Parameters:
      AdWindowID - AD_Window_ID
      Returns:
      IQuickEntryFactory instance or null if AdWindowID not found
    • getQuickEntry

      public static AbstractWQuickEntry getQuickEntry(int WindowNo, int TabNo, int AdWindowID)
      Parameters:
      WindowNo -
      TabNo -
      AdWindowID - AD_Window_ID
      Returns:
      IQuickEntry instance or null if AdWindowID not found
    • getMediaView

      public static IMediaView getMediaView(String contentType, String extension, boolean mobile)
      Parameters:
      contentType -
      extension -
      mobile - true for mobile, otherwise for desktop
      Returns:
      IMediaView instance
    • getADTabPanel

      public static IADTabpanel getADTabPanel(String tabType)
      Parameters:
      tabType - build in - FORM or SORT, custom - through IADTabPanelFactory extension
      Returns:
      IADTabpanel instance
    • getReportViewerRenderers

      public static List<IReportViewerRenderer> getReportViewerRenderers()
      Returns:
      list of IReportViewerRenderer