Package org.jabusuite.webclient.datalist

Examples of org.jabusuite.webclient.datalist.FmJbsBaseObjectList


            }
        });
    }

    protected void selectVAT() {
        fmVATList = new FmJbsBaseObjectList(JbsL10N.getString("ArticleVAT.selectVAT"));
        fmVATList.setPnList(new PnVATList());
        fmVATList.showForm();
        fmVATList.addActionListener(new ActionListener() {

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


    protected void addArticle() {
        this.addArticle(tblPositions.getRootNode());
    }

    protected void addArticle(final DefaultMutableTreeNode parentNode) {
        final FmJbsBaseObjectList fmArticleList = new FmJbsBaseObjectList(JbsL10N.getString("Article.selectArticle"));
        fmArticleList.setPnList(new PnArticleList());
        fmArticleList.showForm();
        fmArticleList.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;

            public void actionPerformed(ActionEvent e) {
                if (e.getActionCommand().equals(JbsDialogWindowOKCancel.ACTION_OK)) {
                    TrPosition parentPosition = null;
                    if ((parentNode != null) && (parentNode instanceof TrPositionTreeNode)) {
                        parentPosition = ((TrPositionTreeNode) parentNode).getPosition();
                    }

                    Article selectedArticle = (Article) fmArticleList.getSelectedJbsObject();

                    if (selectedArticle != null) {
                        if (logger.isDebugEnabled()) {
                            logger.debug("Article selected: " + selectedArticle.getId());
                        }
View Full Code Here

            }
        });
    }

    protected void selectAddress() {
        fmSelectAddress = new FmJbsBaseObjectList(JbsL10N.getString("JbsUserGroup.selectGroup"));
        fmSelectAddress.setPnList(new PnAddressList());
        fmSelectAddress.showForm();
        fmSelectAddress.addActionListener(new ActionListener() {

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

            }
        });
    }

    protected void selectPaymentTerm() {
        fmSelectPt = new FmJbsBaseObjectList(JbsL10N.getString("JbsUserGroup.selectGroup"));
        fmSelectPt.setPnList(new PnPaymentTermList());
        fmSelectPt.showForm();
        fmSelectPt.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.