public class TableDetailRevealProvider extends Object implements EMFFormsRevealProvider
VTableControls that reveals objects presented in the details of some object in the table. This is a heuristic guess based on containment (recursively) of the object to be revealed within some object in the table. Applications are advised to provide higher bids to more reliably/appropriately reveal objects in these master-detail configurations.
|Constructor and Description|
|Modifier and Type||Method and Description|
I bid on the
Create a reveal step to drill down into the table's details.
public Double canReveal(VTableControl tableControl, org.eclipse.emf.ecore.EObject object, @Optional org.eclipse.emf.ecore.EStructuralFeature feature, ViewModelContext context)
elementif it is a
VTableControlthat has a row representing an
EObjectcontaining (recursively) the
objectto be revealed and the table control has a detail panel.
tableControl- the table control to bid on
object- the object to be revealed
feature- provider of the optional feature being revealed
context- the context in which the table is rendered
public RevealStep reveal(ViewModelContext context, RevealHelper helper, VTableControl tableControl, org.eclipse.emf.ecore.EObject object)
context- the view model context in which to find a renderer for the table
helper- a helper for deferred revealing
tableControl- the table in which to drill down
object- the object to reveal
Copyright © 2020. All rights reserved.