Class BootstrapElementSupplierFactoryAdapter<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.HtmlElementSupplierFactoryAdapter<M,HTMLElement<?>>
-
- org.nasdanika.html.model.bootstrap.gen.BootstrapElementSupplierFactoryAdapter<M,T>
-
- All Implemented Interfaces:
BiFunction<Context,ProgressMonitor,HTMLElement<?>>,Adapter,Adapter.Internal,ContextualFactory<Supplier<HTMLElement<?>>>,ExecutionParticipantFactory<Supplier<HTMLElement<?>>>,Factory<Context,Supplier<HTMLElement<?>>>,SupplierFactory<HTMLElement<?>>
- Direct Known Subclasses:
CardSupplierFactoryAdapter,ModalSupplierFactoryAdapter,TableSupplierFactoryAdapter
public abstract class BootstrapElementSupplierFactoryAdapter<M extends BootstrapElement,T extends BootstrapElement<?,?>> extends HtmlElementSupplierFactoryAdapter<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.SupplierFactory
SupplierFactory.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 BootstrapElementSupplierFactoryAdapter(M bootstrapElement, AdapterFactory adapterFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Supplier<T>createBootstrapElementSupplier(Context context)protected Function<HTMLElement<?>,HTMLElement<?>>createConfigureFunction(Context context)protected Supplier<HTMLElement<?>>createHTMLElementSupplier(Context context)protected Function<HTMLElement<?>,T>getWrapper(Context context)Retrieves wrapping bootstrap element.-
Methods inherited from class org.nasdanika.html.model.html.gen.HtmlElementSupplierFactoryAdapter
create, 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 java.util.function.BiFunction
andThen
-
Methods inherited from interface org.nasdanika.common.SupplierFactory
apply, asFunctionFactory, contextify, then, then
-
-
-
-
Constructor Detail
-
BootstrapElementSupplierFactoryAdapter
public BootstrapElementSupplierFactoryAdapter(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
-
createHTMLElementSupplier
protected Supplier<HTMLElement<?>> createHTMLElementSupplier(Context context) throws Exception
- Specified by:
createHTMLElementSupplierin classHtmlElementSupplierFactoryAdapter<M extends BootstrapElement,HTMLElement<?>>- Throws:
Exception
-
createBootstrapElementSupplier
protected Supplier<T> createBootstrapElementSupplier(Context context) throws Exception
- Throws:
Exception
-
getWrapper
protected Function<HTMLElement<?>,T> getWrapper(Context context)
Retrieves wrapping bootstrap element.- Parameters:
context-- Returns:
-
-