Class Extensions

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

public class Extensions extends Object
  • Constructor Details

    • Extensions

      public Extensions()
  • Method Details

    • getForm

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

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

      public static IPaymentForm getPaymentForm(int windowNo, GridTab mTab, String paymentRule)
      Get payment form instance
      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)
      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

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

      public static IMappedFormFactory getMappedFormFactory()
      Get mapped form factory service
      Returns:
      IMappedFormFactory instance
    • getQuickEntry

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

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

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

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

      public static List<IReportViewerRenderer> 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