List<RequirementDto> copyingRequirements = details.getCopyingRequirements();
List<RequirementDto> inventionRequirements = details.getInventionRequirements();
Map<MaterialDto, QuantityLabel> materialToWidgetMap = new HashMap<MaterialDto, QuantityLabel>();
Map<RequirementDto, QuantityLabel> requirementToWidgetMap = new HashMap<RequirementDto, QuantityLabel>();
for (int i = 0; i < materials.size(); i++) {
MaterialDto material = materials.get(i);
String imageUrl = imageUrlProvider.getImage16Url(material.getMaterialTypeCategoryID(), material.getMaterialTypeID(), material.getMaterialTypeGraphicIcon());
Image image = new Image(imageUrl);
image.setTitle(material.getMaterialTypeName());
image.addStyleName(resources.css().image16());
EveItemInfoLink imageItemInfoLink = new EveItemInfoLink(ccpJsMessages, image, material.getMaterialTypeID());
materialsTable.setWidget(i, 0, imageItemInfoLink);
materialsTable.setWidget(i, 1, new EveItemMarketDetailsLink(constants, urlMessages, ccpJsMessages, material.getMaterialTypeName(), material.getMaterialTypeID()));
materialsTable.setWidget(i, 2, new Label("x"));
QuantityLabel quantityLabel = new QuantityLabel();
materialsTable.setWidget(i, 3, quantityLabel);
materialToWidgetMap.put(material, quantityLabel);
}