Examples of CalculationTreeNode


Examples of lv.odylab.evemanage.client.presenter.tab.calculator.CalculationTreeNode

                calculationTree.createNode(calculationItem);
                if (hasBlueprint(calculationItem.getItemCategoryID(), calculationItem.getItemTypeID())) {
                    pathNodesStringsWithBlueprint.add(calculationItem.getPathExpression().getPathNodesString());
                }
            }
            CalculationTreeNode node = calculationTree.getNodeByPathNodes(pathNodes);
            for (CalculationTreeNode calculationTreeNode : node.getNodeMap().values()) {
                //for (CalculationTreeNode treeNode : calculationTreeNode.getNodeMap().values()) {
                calculationTreeNode.changeMePe(calculation.getMaterialLevel(), calculation.getProductivityLevel());
                //}
                drawCalculationItem(table, calculationTreeNode);
            }
View Full Code Here

Examples of lv.odylab.evemanage.client.presenter.tab.calculator.CalculationTreeNode

        return pathNodesStringsWithBlueprint;
    }

    @Override
    public void excludeCalculationTreeNodeFromCalculation(Long[] pathNodes) {
        CalculationTreeNode calculationTreeNode = calculationTree.getNodeByPathNodes(pathNodes);
        calculationTreeNode.setExcludeChildNodesFromCalculation(true);
        PricingProcessorResult pricingProcessorResult = recalculate(createExistingTypeIdToCalculationPriceSetItemMap());
        priceSetItemTable.removeAllRows();
        drawCalculationPriceSetItems(new ArrayList<CalculationPriceSetItemDto>(pricingProcessorResult.getTypeIdToCalculationPriceSetItemMap().values()));
    }
View Full Code Here

Examples of lv.odylab.evemanage.client.presenter.tab.calculator.CalculationTreeNode

    }

    @Override
    public void excludeCalculationTreeNodesFromCalculation(List<Long[]> pathNodesList) {
        for (Long[] pathNodes : pathNodesList) {
            CalculationTreeNode calculationTreeNode = calculationTree.getNodeByPathNodes(pathNodes);
            calculationTreeNode.setExcludeChildNodesFromCalculation(true);
        }
        PricingProcessorResult pricingProcessorResult = recalculate(createExistingTypeIdToCalculationPriceSetItemMap());
        priceSetItemTable.removeAllRows();
        drawCalculationPriceSetItems(new ArrayList<CalculationPriceSetItemDto>(pricingProcessorResult.getTypeIdToCalculationPriceSetItemMap().values()));
    }
View Full Code Here

Examples of lv.odylab.evemanage.client.presenter.tab.calculator.CalculationTreeNode

        drawCalculationPriceSetItems(new ArrayList<CalculationPriceSetItemDto>(pricingProcessorResult.getTypeIdToCalculationPriceSetItemMap().values()));
    }

    @Override
    public void includeCalculationTreeNodeInCalculation(Long[] pathNodes) {
        CalculationTreeNode calculationTreeNode = calculationTree.getNodeByPathNodes(pathNodes);
        calculationTreeNode.setExcludeChildNodesFromCalculation(false);
        PricingProcessorResult pricingProcessorResult = recalculate();
        priceSetItemTable.removeAllRows();
        drawCalculationPriceSetItems(new ArrayList<CalculationPriceSetItemDto>(pricingProcessorResult.getTypeIdToCalculationPriceSetItemMap().values()));
    }
View Full Code Here

Examples of lv.odylab.evemanage.client.presenter.tab.calculator.CalculationTreeNode

    }

    @Override
    public void includeCalculationTreeNodesInCalculation(List<Long[]> pathNodesList) {
        for (Long[] pathNodes : pathNodesList) {
            CalculationTreeNode calculationTreeNode = calculationTree.getNodeByPathNodes(pathNodes);
            calculationTreeNode.setExcludeChildNodesFromCalculation(false);
        }
        PricingProcessorResult pricingProcessorResult = recalculate(createExistingTypeIdToCalculationPriceSetItemMap());
        priceSetItemTable.removeAllRows();
        drawCalculationPriceSetItems(new ArrayList<CalculationPriceSetItemDto>(pricingProcessorResult.getTypeIdToCalculationPriceSetItemMap().values()));
    }
View Full Code Here

Examples of lv.odylab.evemanage.client.presenter.tab.calculator.CalculationTreeNode

        recalculate();
    }

    @Override
    public void changeMePe(Long[] pathNodes, Integer meLevel, Integer peLevel) {
        CalculationTreeNode calculationTreeNode = calculationTree.getNodeByPathNodes(pathNodes);
        for (CalculationTreeNode node : calculationTreeNode.getNodeMap().values()) {
            node.changeMePe(meLevel, peLevel);
        }
        recalculate();
    }
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.