Esempio n. 1
0
 public EbEbaySiteEditPanel(
     EbEbaySiteDialog parent,
     ListCursor listCursor,
     String tabStatus,
     EbEbaySiteListPanel listPanel) {
   // TODO Auto-generated constructor stub
   super(EbSite.class, BillElementMeta.getBillElementMetaWithoutNd("EB_SITE"));
   this.listCursor = listCursor;
   this.tabStatus = tabStatus;
   this.listPanel = listPanel;
   this.parent = parent;
   this.workPanel.setBorder(
       BorderFactory.createTitledBorder(
           BorderFactory.createEtchedBorder(),
           LangTransMeta.translate(listPanel.getCompoId()),
           TitledBorder.CENTER,
           TitledBorder.TOP,
           new Font("宋体", Font.BOLD, 15),
           Color.BLUE));
   this.colCount = 2;
   billElementMeta = BillElementMeta.getBillElementMetaWithoutNd(listPanel.getCompoId());
   init();
   requestMeta.setCompoId(listPanel.getCompoId());
   refreshData();
   setButtonStatus();
   updateFieldEditorsEditable();
 }