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,org.nasdanika.html.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,org.nasdanika.common.ConsumerFactory<org.nasdanika.html.HTMLElement<?>>,org.nasdanika.common.ContextualFactory<org.nasdanika.common.Consumer<org.nasdanika.html.HTMLElement<?>>>,org.nasdanika.common.ExecutionParticipantFactory<org.nasdanika.common.Consumer<org.nasdanika.html.HTMLElement<?>>>,org.nasdanika.common.Factory<org.nasdanika.common.Context,org.nasdanika.common.Consumer<org.nasdanika.html.HTMLElement<?>>>
public class TableConsumerFactoryAdapter
extends TableRowContainerConsumerFactoryAdapter<Table,Table>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
Adapter.InternalNested classes/interfaces inherited from interface org.nasdanika.common.ConsumerFactory
org.nasdanika.common.ConsumerFactory.Provider -
Field Summary
Fields inherited from class org.nasdanika.html.model.html.gen.HtmlElementAdapter
adapterFactoryFields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
target -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.nasdanika.common.Function<org.nasdanika.html.HTMLElement<?>,org.nasdanika.html.HTMLElement<?>> createConfigureFunction(org.nasdanika.common.Context context) protected org.nasdanika.common.Function<Table,org.nasdanika.common.Supplier.FunctionResult<Map<EStructuralFeature, org.nasdanika.html.HTMLElement<?>>, org.nasdanika.html.HTMLElement<?>>> createTableFunction(org.nasdanika.common.Context context) Takes table, creates sections as needed and performs other configuration.Methods inherited from class org.nasdanika.html.model.bootstrap.gen.BootstrapElementConsumerFactoryAdapter
getWrapper, toHTMLElementMethods inherited from class org.nasdanika.html.model.html.gen.HtmlElementConsumerFactoryAdapter
build, create, createConsumer, isAdapterForTypeMethods inherited from class org.nasdanika.html.model.html.gen.HtmlElementAdapter
createApplyAttributesAndContentFunction, getContent, getRegisteredAdapter, getRootAdapterFactory, getTargetMethods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
notifyChanged, setTarget, unsetTargetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nasdanika.common.ConsumerFactory
asFunctionFactory, asResultFunctionFactory, contextify
-
Constructor Details
-
TableConsumerFactoryAdapter
-
-
Method Details
-
createConfigureFunction
protected org.nasdanika.common.Function<org.nasdanika.html.HTMLElement<?>,org.nasdanika.html.HTMLElement<?>> createConfigureFunction(org.nasdanika.common.Context context) - Overrides:
createConfigureFunctionin classTableRowContainerConsumerFactoryAdapter<Table,Table>
-
createTableFunction
protected org.nasdanika.common.Function<Table,org.nasdanika.common.Supplier.FunctionResult<Map<EStructuralFeature, createTableFunctionorg.nasdanika.html.HTMLElement<?>>, org.nasdanika.html.HTMLElement<?>>> (org.nasdanika.common.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.
-