Class TableColumnsRevealProvider
- java.lang.Object
-
- org.eclipse.emf.ecp.view.internal.editor.controls.TableColumnsRevealProvider
-
- All Implemented Interfaces:
Vendor<RevealStep>
,EMFFormsRevealProvider
public class TableColumnsRevealProvider extends java.lang.Object implements EMFFormsRevealProvider
A reveal provider for the Table DMR columns control.
-
-
Constructor Summary
Constructors Constructor Description TableColumnsRevealProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Double
canReveal(ViewModelContext context, VControl control, EMFFormsDatabinding databinding)
I bid on theelement
if it is a simpleVControl
specified by a DMR that resolves to theVTablePackage.TABLE_DOMAIN_MODEL_REFERENCE__COLUMN_DOMAIN_MODEL_REFERENCES
reference.RevealStep
reveal(ViewModelContext context, RevealHelper helper, VControl control, org.eclipse.emf.ecore.EObject object, EMFFormsDatabinding databinding)
Create a terminal reveal step to select and reveal theobject
in the renderedelement
.
-
-
-
Method Detail
-
canReveal
public java.lang.Double canReveal(ViewModelContext context, VControl control, EMFFormsDatabinding databinding) throws DatabindingFailedException
I bid on theelement
if it is a simpleVControl
specified by a DMR that resolves to theVTablePackage.TABLE_DOMAIN_MODEL_REFERENCE__COLUMN_DOMAIN_MODEL_REFERENCES
reference.- Parameters:
context
- the view model context in which to resolve the DMRcontrol
- the control to bid ondatabinding
- the databinding service in which to resolve the DMR- Returns:
- my bid
- Throws:
DatabindingFailedException
- on failure to resolve the DMR
-
reveal
public RevealStep reveal(ViewModelContext context, RevealHelper helper, VControl control, org.eclipse.emf.ecore.EObject object, EMFFormsDatabinding databinding) throws DatabindingFailedException
Create a terminal reveal step to select and reveal theobject
in the renderedelement
.- Parameters:
context
- the view model context in which to find a renderer for the treehelper
- a helper for deferred revealingcontrol
- the table columns view modelobject
- the object to revealdatabinding
- the databinding service in which to resolve the DMR- Returns:
- the drill-down reveal step
- Throws:
DatabindingFailedException
- on failure to resolve the DMR
-
-