private void fillColorMap(String scanServer, String[] attributeNameList) {
if (attributeNameList != null) {
for (String element : attributeNameList) {
// Get the associated label
String label = CurrentScanDataModel.getAttributeLabel(scanServer, element);
CometeColor color = widget.getComponent().getDataViewCometeColor(idMap.get(label));
if (color != null && !colorMap.containsKey(label)) {
colorMap.put(label, color);
}
}
}