@Override protected final Control createContents(Composite parent) { Control answer = super.createContents(parent); bindings.onValidationStatusChanged( AggregateValidationStatus.getStatusMaxSeverity( getBindingContext().getValidationStatusProviders())); return answer; }
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; }
protected DataBindingContext getBindingContext() { return bindings.getBindingContext(); }