TableItem ti = new TableItem(table,SWT.NONE);
ti.setText(0,selectAttributeList.get(i));
TableEditor te;
ArrayList<Control> controls = new ArrayList<Control>();
te = new TableEditor(table);
Combo combo1 = new Combo(table,SWT.NONE);
combo1.setItems(new String[] {"新闻", "供求", "会展"});
controls.add(combo1);
te.grabHorizontal = true;
te.setEditor(combo1,ti,1);
ti.setText(0,selectAttributeList.get(i));
TableEditor te;
ArrayList<Control> controls = new ArrayList<Control>();
te = new TableEditor(table);
Combo combo1 = new Combo(table,SWT.NONE);
combo1.setItems(new String[] {"新闻", "供求", "会展"});
controls.add(combo1);
te.grabHorizontal = true;
te.setEditor(combo1,ti,1);