Package org.jabusuite.webclient.datalist

Examples of org.jabusuite.webclient.datalist.FmJbsBaseObjectList


    return this.getLbCompanies().getCompanies();
  }
 
 
  protected void addCompany() {
    fmSelectCompany = new FmJbsBaseObjectList(JbsL10N.getString("JbsCompany.selectCompany"));
    fmSelectCompany.setPnList(new PnCompanyList());
    fmSelectCompany.showForm();
    fmSelectCompany.addActionListener(new ActionListener() {
     
      private static final long serialVersionUID = 1L;
View Full Code Here


        btnAddGroup.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;

            public void actionPerformed(ActionEvent arg0) {
                FmJbsBaseObjectList fmSelectGroup = new FmJbsBaseObjectList(JbsL10N.getString("JbsUserGroup.selectGroup"));
                PnUserGroupList pnUserGroupList = new PnUserGroupList();
                pnUserGroupList.setToolPaneVisible(ClientGlobals.getUser().isRoot());
                fmSelectGroup.setPnList(pnUserGroupList);
                fmSelectGroup.showForm();
                fmSelectGroup.addActionListener(new ActionListener() {

                    private static final long serialVersionUID = 1L;

                    public void actionPerformed(ActionEvent arg0) {
                        System.out.println(arg0.getActionCommand());
View Full Code Here

        this.add(colMain);
    }

    protected void addGroup() {
        fmSelectGroup = new FmJbsBaseObjectList(JbsL10N.getString("JbsUserGroup.selectGroup"));
        PnUserGroupList pnList = new PnUserGroupList();
        pnList.setToolPaneVisible(ClientGlobals.getUser().isRoot());
        pnList.setEditable(ClientGlobals.getUser().isRoot());
        pnList.setDeleteable(ClientGlobals.getUser().isRoot());
        fmSelectGroup.setPnList(pnList);
View Full Code Here

     */
    protected abstract String getJbsObjectString(JbsBaseObject jbsObject);
   

    protected void selectObject() {
        final FmJbsBaseObjectList fmList = new FmJbsBaseObjectList(this.getFormTitle());
        fmList.setPnList(this.createPnList());
        fmList.showForm();
        fmList.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;

            public void actionPerformed(ActionEvent arg0) {
                if (arg0.getActionCommand().equals(JbsDialogWindowOKCancel.ACTION_OK)) {
                    if (fmList.getSelectedJbsObject() != null) {
                        setSelectedObject(fmList.getSelectedJbsObject());
                    }
                }
            }
        });
        if (this.getSelectedListener() != null) {
            fmList.addActionListener(this.getSelectedListener());
        }
    }
View Full Code Here

       
        this.getBtnNew().setVisible(false);
    }
   
    protected void addContact() {
        final FmJbsBaseObjectList fmSelectContact = new FmJbsBaseObjectList(JbsL10N.getString("Contact.selectContact"));
        fmSelectContact.setPnList(new PnContactList());
        fmSelectContact.showForm();
        fmSelectContact.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;

            public void actionPerformed(ActionEvent arg0) {
                if (arg0.getActionCommand().equals(JbsDialogWindowOKCancel.ACTION_OK)) {
                    if (fmSelectContact.getSelectedJbsObject() != null) {
                        Contact contact = (Contact)fmSelectContact.getSelectedJbsObject();
                        addContact(contact);
                    }
                }
            }
        });
View Full Code Here

            }
        });
    }

    protected void selectCustomer() {
        fmSelectCustomer = new FmJbsBaseObjectList(JbsL10N.getString("Customer.selectCustomer"));
        fmSelectCustomer.setPnList(new PnCustomerList());
        fmSelectCustomer.showForm();
        fmSelectCustomer.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;
View Full Code Here

            }
        });
    }

    protected void selectContact() {
        fmSelectContact = new FmJbsBaseObjectList(JbsL10N.getString("Contact.selectContact"));
        fmSelectContact.setPnList(new PnContactList());
        fmSelectContact.showForm();
        fmSelectContact.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;
View Full Code Here

            }
        });
    }

    protected void selectSupplier() {
        fmSelectSupplier = new FmJbsBaseObjectList(JbsL10N.getString("Supplier.selectSupplier"));
        fmSelectSupplier.setPnList(new PnSupplierList());
        fmSelectSupplier.showForm();
        fmSelectSupplier.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;
View Full Code Here

            }
        });
    }
   
    protected void selectJobGroup() {
        fmJobGroups = new FmJbsBaseObjectList(JbsL10N.getString("JobGroup.selectGroup"));
        fmJobGroups.setPnList(new PnJobGroupList());
        fmJobGroups.showForm();
        fmJobGroups.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;
View Full Code Here

            }
        });
    }
   
    protected void selectQtyUnit() {
        fmQtyUnits = new FmJbsBaseObjectList(JbsL10N.getString("QtyUnit.selectGroup"));
        fmQtyUnits.setPnList(new PnQtyUnitList());
        fmQtyUnits.showForm();
        fmQtyUnits.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;
View Full Code Here

TOP

Related Classes of org.jabusuite.webclient.datalist.FmJbsBaseObjectList

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.