Iterator iterator = map.keySet().iterator(); while (iterator.hasNext()) { String key = (String) iterator.next(); String value = (String) map.get(key); TableItem tableItem = new TableItem(tableWidget, SWT.NONE); tableItem.setText(new String[] { key, value}); }
Iterator iterator = map.keySet().iterator(); while (iterator.hasNext()) { String key = (String) iterator.next(); String value = (String) map.get(key); TableItem tableItem = new TableItem(tableWidget, SWT.NONE); tableItem.setText(new String[] { key, value});
    protected void updateTable(Map map, Table tableWidget) {        tableWidget.removeAll();        if (map == null) {            return;        }        Iterator iterator = map.keySet().iterator();        while (iterator.hasNext()) {            String key = (String) iterator.next();            String value = (String) map.get(key);            TableItem tableItem = new TableItem(tableWidget, SWT.NONE);            tableItem.setText(new String[] { key, value});        }    }