Package name.abuchen.portfolio.ui.views.taxonomy.TaxonomyNode

Examples of name.abuchen.portfolio.ui.views.taxonomy.TaxonomyNode.ClassificationNode


    {
        this.taxonomy = taxonomy;
        this.snapshot = ClientSnapshot.create(client, Dates.today());

        Classification root = taxonomy.getRoot();
        rootNode = new ClassificationNode(null, root);

        LinkedList<TaxonomyNode> stack = new LinkedList<TaxonomyNode>();
        stack.add(rootNode);

        while (!stack.isEmpty())
        {
            TaxonomyNode m = stack.pop();

            Classification classification = m.getClassification();

            for (Classification c : classification.getChildren())
            {
                TaxonomyNode cm = new ClassificationNode(m, c);
                stack.push(cm);
                m.getChildren().add(cm);
            }

            for (Assignment assignment : classification.getAssignments())
View Full Code Here

TOP

Related Classes of name.abuchen.portfolio.ui.views.taxonomy.TaxonomyNode.ClassificationNode

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.