Class HtmlElementConsumerFactoryAdapter<M extends HtmlElement,T extends HTMLElement<?>>
- 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,T>
-
- All Implemented Interfaces:
Adapter,Adapter.Internal,org.nasdanika.common.ConsumerFactory<T>,org.nasdanika.common.ContextualFactory<org.nasdanika.common.Consumer<T>>,org.nasdanika.common.ExecutionParticipantFactory<org.nasdanika.common.Consumer<T>>,org.nasdanika.common.Factory<org.nasdanika.common.Context,org.nasdanika.common.Consumer<T>>
public class HtmlElementConsumerFactoryAdapter<M extends HtmlElement,T extends HTMLElement<?>> extends HtmlElementAdapter<M,T> implements org.nasdanika.common.ConsumerFactory<T>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
Adapter.Internal
-
-
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 Modifier Constructor Description protectedHtmlElementConsumerFactoryAdapter(M htmlElement, AdapterFactory adapterFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidbuild(T htmlElement, org.nasdanika.common.Context context, org.nasdanika.common.ProgressMonitor progressMonitor)Builds HTML element.org.nasdanika.common.Consumer<T>create(org.nasdanika.common.Context context)protected org.nasdanika.common.Consumer<T>createConsumer(org.nasdanika.common.Context context)booleanisAdapterForType(Object type)-
Methods inherited from class org.nasdanika.html.model.html.gen.HtmlElementAdapter
createApplyAttributesAndContentFunction, createConfigureFunction, getContent, getRegisteredAdapter, getRootAdapterFactory, getTarget
-
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
notifyChanged, setTarget, unsetTarget
-
-
-
-
Constructor Detail
-
HtmlElementConsumerFactoryAdapter
protected HtmlElementConsumerFactoryAdapter(M htmlElement, AdapterFactory adapterFactory)
-
-
Method Detail
-
isAdapterForType
public boolean isAdapterForType(Object type)
- Specified by:
isAdapterForTypein interfaceAdapter- Overrides:
isAdapterForTypein classAdapterImpl
-
createConsumer
protected org.nasdanika.common.Consumer<T> createConsumer(org.nasdanika.common.Context context)
-
build
protected void build(T htmlElement, org.nasdanika.common.Context context, org.nasdanika.common.ProgressMonitor progressMonitor)
Builds HTML element. This implementation does nothing.- Parameters:
htmlElement-progressMonitor-
-
create
public org.nasdanika.common.Consumer<T> create(org.nasdanika.common.Context context)
- Specified by:
createin interfaceorg.nasdanika.common.Factory<M extends HtmlElement,T extends HTMLElement<?>>
-
-