Package com._1c.g5.v8.dt.ui.aef.mappers
Class AefTableContentProvider<M>
- java.lang.Object
-
- com._1c.g5.v8.dt.ui.aef.mappers.AefTableContentProvider<M>
-
- All Implemented Interfaces:
IAefTableContentProvider<TableItemViewModel>
public class AefTableContentProvider<M> extends Object implements IAefTableContentProvider<TableItemViewModel>
IMapper
implementation that maps model object with the table structure specific.
-
-
Constructor Summary
Constructors Constructor Description AefTableContentProvider(Object sourceInput, IStructuredContentProvider sourceContentProvider, IMapper<M,TableItemViewModel> mapper)
Creates a new mapper.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
Disposes the providerTableItemViewModel[]
getElements()
-
-
-
Constructor Detail
-
AefTableContentProvider
public AefTableContentProvider(Object sourceInput, IStructuredContentProvider sourceContentProvider, IMapper<M,TableItemViewModel> mapper)
Creates a new mapper.- Parameters:
sourceInput
- the input object for source content provider, can benull
sourceContentProvider
- the source content provider, can not benull
mapper
- the mapper maps model object with the table structure specific, can not benull
-
-
Method Detail
-
getElements
public TableItemViewModel[] getElements()
- Specified by:
getElements
in interfaceIAefTableContentProvider<M>
- Returns:
- the elements
-
dispose
public void dispose()
Description copied from interface:IAefTableContentProvider
Disposes the provider- Specified by:
dispose
in interfaceIAefTableContentProvider<M>
-
-