Examples of ArticlePosition


Examples of org.jabusuite.transaction.position.ArticlePosition

     * @param parentPosition The parent-position
     * @param parentNode The parent-node
     */
    protected void addArticlePosition(final Article article, final TrPosition parentPosition, final DefaultMutableTreeNode parentNode) {
        //Create a new position with the data of the selected article:
        ArticlePosition position = new ArticlePosition();
        position.setDataFromArticle(article);
        //Get a new position-number for the article-position:
        position.setPosNumber(this.getTransaction().getNewPositionNumber(parentPosition));
        final FmNormalPositionEdit fmPosEdit = new FmNormalPositionEdit(this.getTransaction());
        fmPosEdit.showForm(DlgState.dsEdit, position);
        fmPosEdit.addActionListener(new ActionListener() {

            private static final long serialVersionUID = 1L;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.