Hi,

o.e.ui.forms.MasterDetailsBlock requires a ManagedForm in 
createContent(IManagedForm managedForm).
ManagedForm wants (or creates) a ScrolledForm. A ScrolledForm creates a Form 
(with FormHeading and a Composite for the body).

Means, when using a MasterDetailsBlock in a view or dialog all the above 
mentioned is created. And in view or dialog I see a MasterDetailsBlock with 
white space above. This is the form heading.

Neither SrolledForm nor Form should be subclassed (according to java doc) to 
overwrite this handling.

Extending ManagedForm (just with a composite instead of ScrolledForm) seems 
uncommon as well. At least I didn't find an implementation.


What can be done to just use a MasterDetailsBlock in others than editors (e.g. 
views, dialogs, wizardpages)?

Thanks, Marcus

_______________________________________________
platform-dev mailing list
platform-dev@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/platform-dev

Reply via email to