package com.vaadin.tests.components.combobox;
-import java.util.LinkedHashMap;
-
import com.vaadin.terminal.Resource;
import com.vaadin.tests.components.select.AbstractSelectTestCase;
import com.vaadin.ui.ComboBox;
private void createItemIconSelect(String category) {
- LinkedHashMap<String, Resource> options = new LinkedHashMap<String, Resource>();
- options.put("-", null);
- options.put("16x16", ICON_16_USER_PNG_UNCACHEABLE);
- options.put("32x32", ICON_32_ATTENTION_PNG_UNCACHEABLE);
- options.put("64x64", ICON_64_EMAIL_REPLY_PNG_UNCACHEABLE);
-
- createSelectAction("Icon", category, options, "-",
+ createSelectAction("Icon", category, createIconOptions(false), "-",
new Command<ComboBox, Resource>() {
public void execute(ComboBox c, Resource value, Object data) {