/* (non-Javadoc)
* @see org.jabusuite.webclient.dataediting.PnEditJbsObject#initPanel()
*/
@Override
protected void initPanel() {
Column colMain = new Column();
//this.add(tpMain);
ContentPane cpStdData = new ContentPane();
JbsGrid grdMain = new JbsGrid(2);
grdMain.setInsets(new Insets(5, 5));
grdMain.setColumnWidth(0, new JbsExtent(300));
grdMain.add(new Label(JbsL10N.getString("Generic.lastChange")));
grdMain.add(lblLastChange);
grdMain.add(new Label(JbsL10N.getString("Article.userNo")));
grdMain.add(txUserNo);
grdMain.add(new Label(JbsL10N.getString("Article.matchCode")));
grdMain.add(txMatchCode);
grdMain.add(new Label(JbsL10N.getString("Article.alternativeNumber")));
grdMain.add(txAlternativeNumber);
grdMain.add(new Label(JbsL10N.getString("Article.gtIn")));
grdMain.add(txGtIn);
grdMain.add(new Label(JbsL10N.getString("Article.shortText")));
grdMain.add(txShortText);
grdMain.add(new Label(JbsL10N.getString("Article.cataloguePage")));
grdMain.add(txCataloguePage);
grdMain.add(new Label(JbsL10N.getString("Article.qtyUnit")));
grdMain.add(qtyUnit);
/*
grdMain.add(new Label(JbsL10N.getString("Article.packingAmount")));
grdMain.add(txPackingAmount);
*/
grdMain.add(new Label(JbsL10N.getString("Article.supplier")));
grdMain.add(sfSupplier);
/*
grdMain.add(new Label(JbsL10N.getString("Article.vat")));
grdMain.add(sfVAT);
*/
grdMain.add(new Label(JbsL10N.getString("Article.longText")));
grdMain.add(txLongText);
/*
grdMain.add(new Label(JbsL10N.getString("Article.image")));
grdMain.add(uploadImage);
grdMain.add(new Label(""));
grdMain.add(this.logoImage);
*/
cpStdData.add(grdMain);
tpMain.addTabSheet(JbsL10N.getString("Article.formTitle"),cpStdData);
ContentPane cpPrices = new ContentPane();
cpPrices.add(priceEditor);
tpMain.addTabSheet(JbsL10N.getString("Article.prices"),cpPrices);
colMain.add(tpMain);
this.add(colMain);
this.addPnPermissions(tpMain);
}