Add field named Tab Type (AD_TabType) as a list validation with current known value are 1. Data Grid 2. Order Tab 3. Tree Tab.
add interface IADTabPanelFactory and implement default factory for above 3 tab type support.
If Tab Type is non null then use Factory otherwise default to current logic.
Attached IDEMPIERE-2853_Development_1.patch. I added mandatory validation for order column to avoid this issue when tab type is order.
Is the patch still applicable to the current master branch ?
It may not as quite old. But If you think this is good to include, will convert it into Git PR. Please review Patch and any suggestion to correct before submitting PR is welcome.
It could be a useful enhancement. However, it will be hard to determine the effectiveness of the new API without an example custom tab implementation.
We used this features to create Document View showing related documents to parent record.Using features can create tab which shows image gallery. Also we have created tab which shows data as HTML in sub tab for one customer.