public class TableDetailRevealProvider extends Object implements EMFFormsRevealProvider
VTableControl
s 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 |
---|
TableDetailRevealProvider() |
Modifier and Type | Method and Description |
---|---|
Double |
canReveal(VTableControl tableControl,
org.eclipse.emf.ecore.EObject object,
org.eclipse.emf.ecore.EStructuralFeature feature,
ViewModelContext context)
I bid on the
element if it is a VTableControl that has a row
representing an EObject containing (recursively) the object
to be revealed and the table control has a detail panel. |
RevealStep |
reveal(ViewModelContext context,
RevealHelper helper,
VTableControl tableControl,
org.eclipse.emf.ecore.EObject object)
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)
element
if it is a VTableControl
that has a row
representing an EObject
containing (recursively) the object
to be revealed and the table control has a detail panel.tableControl
- the table control to bid onobject
- the object to be revealedfeature
- provider of the optional feature being revealedcontext
- the context in which the table is renderedpublic 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 tablehelper
- a helper for deferred revealingtableControl
- the table in which to drill downobject
- the object to revealCopyright © 2019. All rights reserved.