@Override public void activate() throws BasicException { jeditor.activate(); jproductfilter.activate(); super.activate(); }
@Override protected void init() { m_dlSales = (DataLogicSales) app.getBean(DataLogicSales.class.getName()); jproductfilter = new ProductFilter(); jproductfilter.init(app); row = m_dlSales.getProductsRow(); lpr = new ListProviderCreator(m_dlSales.getProductCatQBF(), jproductfilter); spr = new SaveProvider( m_dlSales.getProductCatUpdate(), m_dlSales.getProductCatInsert(), m_dlSales.getProductCatDelete()); // el panel del editor jeditor = new ProductsEditor(app, m_dlSales, dirty); }
@Override public Component getFilter() { return jproductfilter.getComponent(); }