Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-dev] Using MasterDetailBlock on e.g. Dialog without FormHeading (whitespace)
  • From: "Hoepfner, Marcus" <marcus.hoepfner@xxxxxxx>
  • Date: Mon, 14 Mar 2022 14:44:40 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=sap.com; dmarc=pass action=none header.from=sap.com; dkim=pass header.d=sap.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=cgGM21V2QLAJVGQ5h4kA1IY9UuGS1hOlncmGtEB35lE=; b=imYtUeYYDcuHBo/CqvI3fD9krDZL9syeH7+V5ykaJe2q4lWKh1D/6gtCpeXLT2mZ1qnpmjSvqiKDkFu1LiHgaSOBNrYZ+O82M38ZHvp3j4IAbfbFX3dryZpWp5QmNEhmHot5sQQKK625bVPFCbMlmTgzAKL65Pm0PB5CGn+lsy2f9srFu+SM3UW4LCjw33inlmIAPpnQvWYfqfwnealpOxxcVSN2AKEZ2MXtIc4RF/arrl7kF9F/011V71MeFlrGhui5cU2s4VM2c3OlPbhZ7Nfw6zYyvNDqlGllm7u4iNzmVhRQHwtZf/DauUmCWKm0tw1axLzlCnmsozKYO5Uzvg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EZvzRw61KzbOEytSvVJvuXUZNvr82gPLrnjnFymKcibfrWcQ15xLLjgb4Q9jxkRlITLLfcAHDktIRgBId2hXr4CAOAD/guMSsy+63Ma2/ESpkfWDhcQlWqsP+xWLIkvdxwZwH64/rgd3zBexdxFDanoc6HVlOTHDh2G29gWgR/uJfHZNH8fsQWwXMQmUail0CbT2bHZXM3NhxZH0RUuF0JKs6c4S2VxUNNyWiV5CFZQziOgoLEXU9TpTz7Qxl7bweAvvKgA21ECrxapP7+1HC64z+0YxSNiGcNSvWg6yRULeSxQ9IwvI3djtuF5wmXk0yXZOXKO0s6hJqSxIkbo4bg==
  • Delivered-to: platform-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/platform-dev/>
  • List-help: <mailto:platform-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/platform-dev>, <mailto:platform-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/platform-dev>, <mailto:platform-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHYN7GrlzFudnuB20GhRbh6q5PIrQ==
  • Thread-topic: Using MasterDetailBlock on e.g. Dialog without FormHeading (whitespace)

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

 


Back to the top