Search in sources :

Example 1 with WArchive

use of org.adempiere.webui.WArchive in project adempiere by adempiere.

the class AbstractADWindowPanel method onArchive.

//
// Elaine 2008/07/28
/**
     * @see ToolbarListener#onArchive()
     */
public void onArchive() {
    if (toolbar.getEvent() != null) {
        GridTab currentTab = toolbar.getCurrentPanel().getGridTab();
        if (currentTab.getRecord_ID() <= 0)
            return;
        new WArchive(toolbar.getEvent().getTarget(), currentTab.getAD_Table_ID(), currentTab.getRecord_ID());
    }
}
Also used : GridTab(org.compiere.model.GridTab) WArchive(org.adempiere.webui.WArchive)

Aggregations

WArchive (org.adempiere.webui.WArchive)1 GridTab (org.compiere.model.GridTab)1