lastSelected = newItem;
return;
}
table.showSelection();
combo = new CCombo(table, SWT.READ_ONLY);
createComboEditor(combo, comboEditor);
widthText = new Text(table, SWT.SINGLE);
widthText.setText(((String[]) data.elementAt(index))[WIDTH_COL]);
createTextEditor(widthText, widthEditor, WIDTH_COL);
heightText = new Text(table, SWT.SINGLE);
heightText.setText(((String[]) data.elementAt(index))[HEIGHT_COL]);
createTextEditor(heightText, heightEditor, HEIGHT_COL);
String[] alignValues = new String[] { "BEGINNING", "CENTER", "END", "FILL" };
hAlign = new CCombo(table, SWT.NONE);
hAlign.setItems(alignValues);
hAlign.setText(newItem.getText(HALIGN_COL));
hAlignEditor.horizontalAlignment = SWT.LEFT;
hAlignEditor.grabHorizontal = true;
hAlignEditor.minimumWidth = 50;
hAlignEditor.setEditor(hAlign, newItem, HALIGN_COL);
hAlign.addTraverseListener(traverseListener);
vAlign = new CCombo(table, SWT.NONE);
vAlign.setItems(alignValues);
vAlign.setText(newItem.getText(VALIGN_COL));
vAlignEditor.horizontalAlignment = SWT.LEFT;
vAlignEditor.grabHorizontal = true;
vAlignEditor.minimumWidth = 50;
vAlignEditor.setEditor(vAlign, newItem, VALIGN_COL);
vAlign.addTraverseListener(traverseListener);
hIndent = new Text(table, SWT.SINGLE);
hIndent.setText(((String[]) data.elementAt(index))[HINDENT_COL]);
createTextEditor(hIndent, hIndentEditor, HINDENT_COL);
hSpan = new Text(table, SWT.SINGLE);
hSpan.setText(((String[]) data.elementAt(index))[HSPAN_COL]);
createTextEditor(hSpan, hSpanEditor, HSPAN_COL);
vSpan = new Text(table, SWT.SINGLE);
vSpan.setText(((String[]) data.elementAt(index))[VSPAN_COL]);
createTextEditor(vSpan, vSpanEditor, VSPAN_COL);
String[] boolValues = new String[] { "false", "true" };
hGrab = new CCombo(table, SWT.NONE);
hGrab.setItems(boolValues);
hGrab.setText(newItem.getText(HGRAB_COL));
hGrabEditor.horizontalAlignment = SWT.LEFT;
hGrabEditor.grabHorizontal = true;
hGrabEditor.minimumWidth = 50;
hGrabEditor.setEditor(hGrab, newItem, HGRAB_COL);
hGrab.addTraverseListener(traverseListener);
vGrab = new CCombo(table, SWT.NONE);
vGrab.setItems(boolValues);
vGrab.setText(newItem.getText(VGRAB_COL));
vGrabEditor.horizontalAlignment = SWT.LEFT;
vGrabEditor.grabHorizontal = true;
vGrabEditor.minimumWidth = 50;