Examples of OpaqueLoadableBlueprintImage


Examples of lv.odylab.evemanage.client.widget.OpaqueLoadableBlueprintImage

            bindUseBlueprintImage(computableCalculationItem.getCalculationTreeNodeSummary(), editableCalculationItem.getBlueprintImage());
            bindApplyButton(editableCalculationItem, computableCalculationItem);
        }
        for (Map.Entry<String, EditableCalculationItem> mapEntry : display.getPathNodesStringToEditableCalculationItemMap().entrySet()) {
            EditableCalculationItem editableCalculationItem = mapEntry.getValue();
            OpaqueLoadableBlueprintImage blueprintImage = editableCalculationItem.getBlueprintImage();
            if (blueprintImage != null && display.getPathNodesStringToUsedCalculationMap().containsKey(mapEntry.getKey())) {
                blueprintImage.removeOpacity();
            }
        }

        display.changeMePeQuantity(calculation.getMaterialLevel(), calculation.getProductivityLevel(), calculationExpression.getQuantity());
        Map<Long, String> priceSetItemTypeIdToPriceMap = calculationExpression.getPriceSetItemTypeIdToPriceMap();
View Full Code Here

Examples of lv.odylab.evemanage.client.widget.OpaqueLoadableBlueprintImage

    }

    @Override
    public void onUsedAllBlueprints(QuickCalculatorUsedAllBlueprintsEvent event) {
        for (Map.Entry<String, EditableCalculationItem> mapEntry : display.getPathNodesStringToEditableCalculationItemMap().entrySet()) {
            OpaqueLoadableBlueprintImage blueprintImage = mapEntry.getValue().getBlueprintImage();
            if (blueprintImage != null && !display.getPathNodesStringToUsedCalculationMap().containsKey(mapEntry.getKey())) {
                blueprintImage.stopLoading();
                blueprintImage.removeOpacity();
            }
        }
        List<String> pathNodeStringsWithBlueprint = display.addCalculationTreeNodes(event.getPathNodesToCalculationMap());
        for (String pathNodesString : pathNodeStringsWithBlueprint) {
            EditableCalculationItem editableCalculationItem = display.getPathNodesStringToEditableCalculationItemMap().get(pathNodesString);
View Full Code Here

Examples of lv.odylab.evemanage.client.widget.OpaqueLoadableBlueprintImage

    public void onStoppedUsingAllBlueprints(QuickCalculatorStoppedUsingAllBlueprintsEvent event) {
        List<Long[]> pathNodesList = new ArrayList<Long[]>();
        for (Map.Entry<String, EditableCalculationItem> mapEntry : display.getPathNodesStringToEditableCalculationItemMap().entrySet()) {
            EditableCalculationItem editableCalculationItem = mapEntry.getValue();
            ComputableCalculationItem computableCalculationItem = display.getPathNodesStringToComputableCalculationItemMap().get(mapEntry.getKey());
            OpaqueLoadableBlueprintImage blueprintImage = editableCalculationItem.getBlueprintImage();
            if (blueprintImage != null && !blueprintImage.hasOpacity()) {
                blueprintImage.setOpacity();
                display.hideBlueprintDetails(editableCalculationItem);
                display.hideDetailsTable(editableCalculationItem);
                pathNodesList.add(computableCalculationItem.getCalculationTreeNodeSummary().getPathNodes());
            }
        }
View Full Code Here

Examples of lv.odylab.evemanage.client.widget.OpaqueLoadableBlueprintImage

    public void onReusedAllBlueprints(QuickCalculatorReusedAllBlueprintsEvent event) {
        List<Long[]> pathNodesList = new ArrayList<Long[]>();
        for (Map.Entry<String, EditableCalculationItem> mapEntry : display.getPathNodesStringToEditableCalculationItemMap().entrySet()) {
            EditableCalculationItem editableCalculationItem = mapEntry.getValue();
            ComputableCalculationItem computableCalculationItem = display.getPathNodesStringToComputableCalculationItemMap().get(mapEntry.getKey());
            OpaqueLoadableBlueprintImage blueprintImage = editableCalculationItem.getBlueprintImage();
            if (blueprintImage != null && blueprintImage.hasOpacity()) {
                blueprintImage.removeOpacity();
                display.showBlueprintDetails(editableCalculationItem);
                pathNodesList.add(computableCalculationItem.getCalculationTreeNodeSummary().getPathNodes());
            }
        }
        display.includeCalculationTreeNodesInCalculation(pathNodesList);
View Full Code Here

Examples of lv.odylab.evemanage.client.widget.OpaqueLoadableBlueprintImage

                if (useAllBlueprintsImage.hasOpacity()) {
                    Map<Long[], String> pathNodesToBlueprintNameMap = new HashMap<Long[], String>();
                    for (Map.Entry<String, ComputableCalculationItem> mapEntry : display.getPathNodesStringToComputableCalculationItemMap().entrySet()) {
                        String pathNodesString = mapEntry.getKey();
                        EditableCalculationItem editableCalculationItem = display.getPathNodesStringToEditableCalculationItemMap().get(pathNodesString);
                        OpaqueLoadableBlueprintImage blueprintImage = editableCalculationItem.getBlueprintImage();
                        if (blueprintImage != null && !display.getPathNodesStringToUsedCalculationMap().containsKey(pathNodesString)) {
                            CalculationTreeNodeSummary calculationTreeNodeSummary = mapEntry.getValue().getCalculationTreeNodeSummary();
                            pathNodesToBlueprintNameMap.put(calculationTreeNodeSummary.getPathNodes(), calculationTreeNodeSummary.getItemTypeName() + " Blueprint");
                            blueprintImage.removeOpacity();
                            blueprintImage.startLoading();
                        }
                    }
                    if (pathNodesToBlueprintNameMap.isEmpty()) {
                        reuseAllBlueprints();
                    } else {
View Full Code Here

Examples of lv.odylab.evemanage.client.widget.OpaqueLoadableBlueprintImage

        blueprintTable.setWidget(0, 4, peLabel);
        WasteLabel wasteLabel = new WasteLabel(messages);
        blueprintTable.setWidget(0, 5, wasteLabel);
        Button editButton = new Button(messages.edit());
        blueprintTable.setWidget(0, 6, editButton);
        OpaqueLoadableBlueprintImage useAllBlueprintsImage = new OpaqueLoadableBlueprintImage(resources, messages, messages.useAllBlueprints(), messages.stopUsingAllBlueprints());
        useAllBlueprintsImage.addStyleName(resources.css().image16());
        useAllBlueprintsImage.addStyleName(resources.css().cursorHand());
        useAllBlueprintsImage.setOpacity();
        blueprintTable.setWidget(0, 7, useAllBlueprintsImage);
        blueprintInfoTable.setWidget(0, 2, blueprintTable);

        FlexTable productTable = new FlexTable();
        QuantityLabel quantityLabel = new QuantityLabel(1L);
View Full Code Here

Examples of lv.odylab.evemanage.client.widget.OpaqueLoadableBlueprintImage

        rootCalculationItemTable.setWidget(index, 6, new Label("="));
        PriceLabel totalPriceForParentLabel = new PriceLabel(calculationTreeNodeSummary.getTotalPriceForParent());
        rootCalculationItemTable.setWidget(index, 7, totalPriceForParentLabel);

        if (hasBlueprint(calculationTreeNodeSummary.getItemCategoryID(), calculationTreeNodeSummary.getItemTypeID())) {
            OpaqueLoadableBlueprintImage blueprintImage = new OpaqueLoadableBlueprintImage(resources, messages, messages.useBlueprint(), messages.stopUsingBlueprint());
            blueprintImage.addStyleName(resources.css().image16());
            blueprintImage.addStyleName(resources.css().cursorHand());
            blueprintImage.setOpacity();
            rootCalculationItemTable.setWidget(index, 8, blueprintImage);
            rootCalculationItemTable.setWidget(index, 9, new Label(messages.me() + ":"));
            Label meLabel = new Label();
            rootCalculationItemTable.setWidget(index, 10, meLabel);
            Label peLabel = new Label();
View Full Code Here

Examples of lv.odylab.evemanage.client.widget.OpaqueLoadableBlueprintImage

        PriceLabel totalPriceForParentLabel = new PriceLabel(calculationTreeNodeSummary.getTotalPriceForParent());
        calculationItemTable.setWidget(index, 11, totalPriceForParentLabel);


        if (hasBlueprint(calculationTreeNodeSummary.getItemCategoryID(), calculationTreeNodeSummary.getItemTypeID())) {
            OpaqueLoadableBlueprintImage blueprintImage = new OpaqueLoadableBlueprintImage(resources, messages, messages.useBlueprint(), messages.stopUsingBlueprint());
            blueprintImage.addStyleName(resources.css().image16());
            blueprintImage.addStyleName(resources.css().cursorHand());
            blueprintImage.setOpacity();
            calculationItemTable.setWidget(index, 12, blueprintImage);
            calculationItemTable.setWidget(index, 13, new Label(messages.me() + ":"));
            Label meLabel = new Label();
            calculationItemTable.setWidget(index, 14, meLabel);
            Label peLabel = new Label();
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.