Class TableConsumerFactoryAdapter
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.AdapterImpl
-
- org.nasdanika.html.model.html.gen.HtmlElementAdapter<M,T>
-
- org.nasdanika.html.model.html.gen.HtmlElementConsumerFactoryAdapter<M,HTMLElement<?>>
-
- org.nasdanika.html.model.bootstrap.gen.BootstrapElementConsumerFactoryAdapter<M,T>
-
- org.nasdanika.html.model.bootstrap.gen.TableRowContainerConsumerFactoryAdapter<Table,Table>
-
- org.nasdanika.html.model.bootstrap.gen.TableConsumerFactoryAdapter
-
- All Implemented Interfaces:
Adapter,Adapter.Internal,ConsumerFactory<HTMLElement<?>>,ContextualFactory<Consumer<HTMLElement<?>>>,ExecutionParticipantFactory<Consumer<HTMLElement<?>>>,Factory<Context,Consumer<HTMLElement<?>>>
public class TableConsumerFactoryAdapter extends TableRowContainerConsumerFactoryAdapter<Table,Table>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
Adapter.Internal
-
Nested classes/interfaces inherited from interface org.nasdanika.common.ConsumerFactory
ConsumerFactory.Provider
-
-
Field Summary
-
Fields inherited from class org.nasdanika.html.model.html.gen.HtmlElementAdapter
adapterFactory
-
Fields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
target
-
-
Constructor Summary
Constructors Constructor Description TableConsumerFactoryAdapter(Table table, AdapterFactory adapterFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Function<HTMLElement<?>,HTMLElement<?>>createConfigureFunction(Context context)protected Function<Table,BiSupplier<Map<EStructuralFeature,HTMLElement<?>>,HTMLElement<?>>>createTableFunction(Context context)Takes table, creates sections as needed and performs other configuration.-
Methods inherited from class org.nasdanika.html.model.bootstrap.gen.BootstrapElementConsumerFactoryAdapter
getWrapper, toHTMLElement
-
Methods inherited from class org.nasdanika.html.model.html.gen.HtmlElementConsumerFactoryAdapter
build, create, createConsumer, isAdapterForType
-
Methods inherited from class org.nasdanika.html.model.html.gen.HtmlElementAdapter
createApplyAttributesAndContentFunction, getContent, getRegisteredAdapter, getRootAdapterFactory, getTarget
-
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
notifyChanged, setTarget, unsetTarget
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nasdanika.common.ConsumerFactory
asBiSupplierFunctionFactory, asFunctionFactory, contextify
-
-
-
-
Constructor Detail
-
TableConsumerFactoryAdapter
public TableConsumerFactoryAdapter(Table table, AdapterFactory adapterFactory)
-
-
Method Detail
-
createConfigureFunction
protected Function<HTMLElement<?>,HTMLElement<?>> createConfigureFunction(Context context) throws Exception
- Overrides:
createConfigureFunctionin classTableRowContainerConsumerFactoryAdapter<Table,Table>- Throws:
Exception
-
createTableFunction
protected Function<Table,BiSupplier<Map<EStructuralFeature,HTMLElement<?>>,HTMLElement<?>>> createTableFunction(Context context)
Takes table, creates sections as needed and performs other configuration.- Parameters:
context-- Returns:
BiSupplierwith a map of sections as first and the argument table as second.
-
-