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,org.nasdanika.html.HTMLElement<?>>
org.nasdanika.html.model.bootstrap.gen.BootstrapElementConsumerFactoryAdapter<M,T>
- 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<?>>>
- Direct Known Subclasses:
TableCellConsumerFactoryAdapter,TableRowConsumerFactoryAdapter,TableRowContainerConsumerFactoryAdapter
public class BootstrapElementConsumerFactoryAdapter<M extends BootstrapElement,T extends BootstrapElement<?,?>>
extends HtmlElementConsumerFactoryAdapter<M,org.nasdanika.html.HTMLElement<?>>
-
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
ConstructorsConstructorDescriptionBootstrapElementConsumerFactoryAdapter(M bootstrapElement, AdapterFactory adapterFactory) -
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<org.nasdanika.html.HTMLElement<?>,T> getWrapper(org.nasdanika.common.Context context) Retrieves wrapping bootstrap element.protected org.nasdanika.common.Function<BootstrapElement<?,?>, org.nasdanika.html.HTMLElement<?>> toHTMLElement(org.nasdanika.common.Context context) Helper function for calling BootstrapElement.toHTMLElement();Methods 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
-
BootstrapElementConsumerFactoryAdapter
-
-
Method Details
-
createConfigureFunction
protected org.nasdanika.common.Function<org.nasdanika.html.HTMLElement<?>,org.nasdanika.html.HTMLElement<?>> createConfigureFunction(org.nasdanika.common.Context context) - Overrides:
createConfigureFunctionin classHtmlElementAdapter<M extends BootstrapElement,org.nasdanika.html.HTMLElement<?>>
-
getWrapper
protected org.nasdanika.common.Function<org.nasdanika.html.HTMLElement<?>,T> getWrapper(org.nasdanika.common.Context context) Retrieves wrapping bootstrap element.- Parameters:
context-- Returns:
-
toHTMLElement
protected org.nasdanika.common.Function<BootstrapElement<?,?>, toHTMLElementorg.nasdanika.html.HTMLElement<?>> (org.nasdanika.common.Context context) Helper function for calling BootstrapElement.toHTMLElement();- Parameters:
context-- Returns:
-