Composite unknown = new GroupedLabelsComposite(); unknown.setName("Unknown"); unknown.setImage(ImageFormatter.getImageForLabel(storageLabelType)); boolean addUnknown = false; Map<Object, Composite> map = new HashMap<>(); c = new GroupedLabelsComposite(label); c.setName(TextFormatter.getLabelName(label) + ": " + TextFormatter.getLabelValue(label, true)); c.setImage(ImageFormatter.getImageForLabel(storageLabelType)); map.put(TextFormatter.getLabelValue(label, true), c);
Composite unknown = new Composite(); unknown.setName("Unknown"); unknown.setImage(ImageFormatter.getImageForLabel(storageLabelType)); boolean addUnknown = false; Map<Object, Composite> map = new HashMap<>(); c = new Composite(); c.setName(TextFormatter.getLabelName(label) + ": " + TextFormatter.getLabelValue(label, true)); c.setImage(ImageFormatter.getImageForLabel(storageLabelType)); map.put(TextFormatter.getLabelValue(label, true), c);