Search in sources :

Example 1 with ProcessDialog

use of org.adempiere.webui.apps.ProcessDialog in project adempiere by adempiere.

the class TabbedDesktop method openProcessDialog.

/**
     *
     * @param processId
     * @param soTrx
     * @return ProcessDialog
     */
public ProcessDialog openProcessDialog(int processId, boolean soTrx) {
    ProcessDialog pd = new ProcessDialog(processId, soTrx);
    if (pd.isValid()) {
        DesktopTabpanel tabPanel = new DesktopTabpanel();
        pd.setParent(tabPanel);
        String title = pd.getTitle();
        pd.setTitle(null);
        preOpenNewTab();
        windowContainer.addWindow(tabPanel, title, true);
    }
    return pd;
}
Also used : ProcessDialog(org.adempiere.webui.apps.ProcessDialog) DesktopTabpanel(org.adempiere.webui.component.DesktopTabpanel)

Aggregations

ProcessDialog (org.adempiere.webui.apps.ProcessDialog)1 DesktopTabpanel (org.adempiere.webui.component.DesktopTabpanel)1