private void createTableItems(Table table, String key) {
TableItem item = new TableItem(table, SWT.NONE);
String labelText = FoldingPlugin.getMessage(key);
TableEditor foldEditor = new TableEditor(table);
final Button foldCheckBox = new Button(table, SWT.CHECK);
foldCheckBox.pack();
foldEditor.minimumWidth = foldCheckBox.getSize().x;
foldEditor.horizontalAlignment = SWT.CENTER;
foldEditor.setEditor(foldCheckBox, item, 0);
TableEditor collapseEditor = new TableEditor(table);
final Button initialCheckBox = new Button(table, SWT.CHECK);
initialCheckBox.pack();
collapseEditor.minimumWidth = initialCheckBox.getSize().x;
collapseEditor.horizontalAlignment = SWT.CENTER;
collapseEditor.setEditor(initialCheckBox, item, 1);
item.setText(2, labelText);
foldCheckBox.addListener(SWT.Selection, new Listener() {