protected Control createDialogArea(Composite parent) { Composite container = (Composite) super.createDialogArea(parent); // Global layout container.setLayout(new GridLayout(1, false)); // Sub class fields populateDialogArea(container); // Message area final Label messageArea = new Label(container, SWT.WRAP); messageArea.setText(peMessage); messageArea.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false)); // Parameters editor paramEditor = new ComboKeyValueEditor(container, peKeys, peModel, peKeyLabel, peValueLabel); paramEditor.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); paramEditor.setKeyValidator(defaultValidator); paramEditor.setValueValidator(defaultValidator); return container; }
@Override protected void initializeBounds() { super.initializeBounds(); paramEditor.refresh(); }