noDefaultAndApplyButton();
final Composite root = new Composite(parent, SWT.NONE);
root.setLayout(new GridLayout(2, false));
ILogResource log = (ILogResource) getElement().getAdapter(ILogResource.class);
Label label = new Label(root, SWT.NONE);
label.setText(Messages.ResourcePropertyPage_label_type);
Text text = new Text(root, SWT.SINGLE);
text.setBackground(root.getDisplay().getSystemColor(
SWT.COLOR_WIDGET_BACKGROUND));
text.setText(log.getFactory().getName());
label = new Label(root, SWT.NONE);
label.setText(Messages.ResourcePropertyPage_label_indexSize);
text = new Text(root, SWT.SINGLE);
text.setBackground(root.getDisplay().getSystemColor(
SWT.COLOR_WIDGET_BACKGROUND));
text.setText(IndexPlugin.getDefault().getIndexService().size(log));
label = new Label(root, SWT.NONE);
label.setText(Messages.ResourcePropertyPage_label_identifier);
text = new Text(root, SWT.SINGLE);
text.setBackground(root.getDisplay().getSystemColor(
SWT.COLOR_WIDGET_BACKGROUND));
text.setText(log.getPK());
// Spacer
new Label(root, SWT.NONE);
final IConfigurableObject co = (IConfigurableObject) log.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.ResourcePropertyPage_label_config);