Package lv.odylab.evemanage.client.rpc.dto.eve

Examples of lv.odylab.evemanage.client.rpc.dto.eve.CharacterInfoDto


        corporationBlueprintTable.setWidget(index, 4, new Label(messages.pe() + ":"));
        Label peLabel = new Label(String.valueOf(blueprint.getProductivityLevel()));
        corporationBlueprintTable.setWidget(index, 5, peLabel);
        Button detailsButton = new Button(messages.details());
        corporationBlueprintTable.setWidget(index, 6, detailsButton);
        CharacterInfoDto attachedCharacterInfo = blueprint.getAttachedCharacterInfo();
        Image characterImage = new Image(urlMessages.imgEveCharacter32Url(constants.eveGateImagesUrl(), attachedCharacterInfo.getCharacterID()));
        characterImage.addStyleName(resources.css().image32());
        characterImage.setTitle(attachedCharacterInfo.getName());
        corporationBlueprintTable.setWidget(index, 7, new EveCharacterInfoLink(ccpJsMessages, characterImage, attachedCharacterInfo.getCharacterID()));

        FlexTable.FlexCellFormatter corporationBlueprintTableCellFormatter = corporationBlueprintTable.getFlexCellFormatter();
        Image spinnerImage = new Image(resources.spinnerIcon());
        spinnerImage.setTitle(messages.loading());
        spinnerImage.addStyleName(resources.css().blueprintSpinnerImage());
View Full Code Here


        allianceBlueprintTable.setWidget(index, 4, new Label(messages.pe() + ":"));
        Label peLabel = new Label(String.valueOf(blueprint.getProductivityLevel()));
        allianceBlueprintTable.setWidget(index, 5, peLabel);
        Button detailsButton = new Button(messages.details());
        allianceBlueprintTable.setWidget(index, 6, detailsButton);
        CharacterInfoDto attachedCharacterInfo = blueprint.getAttachedCharacterInfo();
        Image corporationImage = new Image(urlMessages.imgEveCorporation32Url(constants.eveGateImagesUrl(), attachedCharacterInfo.getCorporationID()));
        corporationImage.addStyleName(resources.css().image32());
        corporationImage.setTitle(attachedCharacterInfo.getCorporationName());
        allianceBlueprintTable.setWidget(index, 7, new EveCorporationInfoLink(constants, urlMessages, ccpJsMessages, corporationImage, attachedCharacterInfo.getCorporationID()));
        Image characterImage = new Image(urlMessages.imgEveCharacter32Url(constants.eveGateImagesUrl(), attachedCharacterInfo.getCharacterID()));
        characterImage.addStyleName(resources.css().image32());
        characterImage.setTitle(attachedCharacterInfo.getName());
        allianceBlueprintTable.setWidget(index, 8, new EveCharacterInfoLink(ccpJsMessages, characterImage, attachedCharacterInfo.getCharacterID()));

        FlexTable.FlexCellFormatter allianceBlueprintTableCellFormatter = allianceBlueprintTable.getFlexCellFormatter();
        Image spinnerImage = new Image(resources.spinnerIcon());
        spinnerImage.setTitle(messages.loading());
        spinnerImage.addStyleName(resources.css().blueprintSpinnerImage());
View Full Code Here

        return attachedCharacterNameDto;
    }

    @Override
    public CharacterInfoDto mapForCharacterInfo(CharacterInfo characterInfo, Class<CharacterInfoDto> characterInfoDtoClass) {
        CharacterInfoDto attachedCharacterInfoDto = new CharacterInfoDto();
        attachedCharacterInfoDto.setId(characterInfo.getId());
        attachedCharacterInfoDto.setCharacterID(characterInfo.getCharacterID());
        attachedCharacterInfoDto.setName(characterInfo.getName());
        attachedCharacterInfoDto.setCorporationID(characterInfo.getCorporationID());
        attachedCharacterInfoDto.setCorporationName(characterInfo.getCorporationName());
        attachedCharacterInfoDto.setCorporationTicker(characterInfo.getCorporationTicker());
        attachedCharacterInfoDto.setAllianceID(characterInfo.getAllianceID());
        attachedCharacterInfoDto.setAllianceName(characterInfo.getAllianceName());
        return attachedCharacterInfoDto;
    }
View Full Code Here

TOP

Related Classes of lv.odylab.evemanage.client.rpc.dto.eve.CharacterInfoDto

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.