apiKeysFlexTable.setWidget(index, 1, isValidIcon);
Panel characterPanel = new VerticalPanel();
apiKeysFlexTable.setWidget(index, 2, characterPanel);
List<ApiKeyCharacterInfoDto> keyCharacterInfos = apiKeyDto.getCharacterInfos();
for (ApiKeyCharacterInfoDto apiKeyCharacterInfo : keyCharacterInfos) {
EveCharacterInfoLink characterInfoLink = new EveCharacterInfoLink(ccpJsMessages, apiKeyCharacterInfo.getName(), apiKeyCharacterInfo.getCharacterID());
EveCorporationInfoLink corporationInfoLink = new EveCorporationInfoLink(constants, urlMessages, ccpJsMessages, apiKeyCharacterInfo.getCorporationName(), apiKeyCharacterInfo.getCorporationID());
characterPanel.add(new HTML(characterInfoLink + " (" + corporationInfoLink + ")"));
}
int column = 3;
for (ApiKeyCharacterInfoDto apiKeyCharacterInfo : keyCharacterInfos) {
Image characterImage = new Image(urlMessages.imgEveCharacter50Url(constants.eveGateImagesUrl(), apiKeyCharacterInfo.getCharacterID()));
characterImage.setTitle(apiKeyCharacterInfo.getName());
characterImage.addStyleName(resources.css().image50());
apiKeysFlexTable.setWidget(index, column++, new EveCharacterInfoLink(ccpJsMessages, characterImage, apiKeyCharacterInfo.getCharacterID()));
}
Button deleteButton = new Button(messages.delete());
apiKeyDeleteButtonMap.put(apiKeyDto, deleteButton);
apiKeysFlexTable.setWidget(index, 6, deleteButton);
}