Search in sources :

Example 1 with WFPanel

use of org.adempiere.webui.apps.wf.WFPanel in project adempiere by adempiere.

the class TabbedDesktop method openWorkflow.

/**
	 *
	 * @param workflow_ID
	 */
public void openWorkflow(int workflow_ID) {
    WFPanel p = new WFPanel();
    p.load(workflow_ID);
    DesktopTabpanel tabPanel = new DesktopTabpanel();
    p.setParent(tabPanel);
    preOpenNewTab();
    windowContainer.addWindow(tabPanel, p.getWorkflow().get_Translation(MWorkflow.COLUMNNAME_Name), true);
}
Also used : WFPanel(org.adempiere.webui.apps.wf.WFPanel) DesktopTabpanel(org.adempiere.webui.component.DesktopTabpanel)

Aggregations

WFPanel (org.adempiere.webui.apps.wf.WFPanel)1 DesktopTabpanel (org.adempiere.webui.component.DesktopTabpanel)1