noDefaultAndApplyButton();
Composite root = new Composite(parent, SWT.NONE);
root.setLayout(new GridLayout(2, false));
ILogDialect dialect = ((ILogResource) getElement().getAdapter(ILogResource.class)).getDialect();
Label label = new Label(root, SWT.NONE);
label.setText(Messages.DialectPropertyPage_label_name);
Text text = new Text(root, SWT.SINGLE);
text.setBackground(root.getDisplay().getSystemColor(
SWT.COLOR_WIDGET_BACKGROUND));
text.setText(dialect.getFactory().getName());
// Spacer
new Label(root, SWT.NONE);
final IConfigurableObject co = (IConfigurableObject) dialect.getAdapter(IConfigurableObject.class);
if (co != null) {
List<IConfigOption<?>> options = co.getAllConfigOptions();
if (!options.isEmpty()) {
final Group group = new Group(root, SWT.NONE);
group.setText(Messages.DialectPropertyPage_label_config);