Esempio n. 1
0
  protected final Control createDialogArea(Composite parent) {
    Composite composite = (Composite) super.createDialogArea(parent);

    Composite editArea = new Composite(composite, SWT.NONE);
    GridLayoutFactory.fillDefaults().numColumns(2).applyTo(editArea);
    editArea.setLayoutData(
        new GridData(GridData.FILL_BOTH | GridData.GRAB_HORIZONTAL | GridData.GRAB_VERTICAL));

    createFormElements(editArea);

    bindings.createErrorLabel(editArea);

    return composite;
  }