Class BootstrapElementConsumerFactoryAdapter<M extends BootstrapElement,T extends BootstrapElement<?,?>>
- 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>
-
- All Implemented Interfaces:
Adapter,Adapter.Internal,ConsumerFactory<HTMLElement<?>>,ContextualFactory<Consumer<HTMLElement<?>>>,ExecutionParticipantFactory<Consumer<HTMLElement<?>>>,Factory<Context,Consumer<HTMLElement<?>>>
- Direct Known Subclasses:
TableCellConsumerFactoryAdapter,TableRowConsumerFactoryAdapter,TableRowContainerConsumerFactoryAdapter
public class BootstrapElementConsumerFactoryAdapter<M extends BootstrapElement,T extends BootstrapElement<?,?>> extends HtmlElementConsumerFactoryAdapter<M,HTMLElement<?>>
-
-
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 BootstrapElementConsumerFactoryAdapter(M bootstrapElement, AdapterFactory adapterFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Function<HTMLElement<?>,HTMLElement<?>>createConfigureFunction(Context context)protected Function<HTMLElement<?>,T>getWrapper(Context context)Retrieves wrapping bootstrap element.protected Function<BootstrapElement<?,?>,HTMLElement<?>>toHTMLElement(Context context)Helper function for calling BootstrapElement.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
-
BootstrapElementConsumerFactoryAdapter
public BootstrapElementConsumerFactoryAdapter(M bootstrapElement, AdapterFactory adapterFactory)
-
-
Method Detail
-
createConfigureFunction
protected Function<HTMLElement<?>,HTMLElement<?>> createConfigureFunction(Context context) throws Exception
- Overrides:
createConfigureFunctionin classHtmlElementAdapter<M extends BootstrapElement,HTMLElement<?>>- Throws:
Exception
-
getWrapper
protected Function<HTMLElement<?>,T> getWrapper(Context context)
Retrieves wrapping bootstrap element.- Parameters:
context-- Returns:
-
toHTMLElement
protected Function<BootstrapElement<?,?>,HTMLElement<?>> toHTMLElement(Context context)
Helper function for calling BootstrapElement.toHTMLElement();- Parameters:
context-- Returns:
-
-