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.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
ConstructorsModifierConstructorDescriptionprotectedHtmlElementConsumerFactoryAdapter(M htmlElement, AdapterFactory adapterFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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, 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
-
HtmlElementConsumerFactoryAdapter
-
-
Method Details
-
isAdapterForType
- Specified by:
isAdapterForTypein interfaceAdapter- Overrides:
isAdapterForTypein classAdapterImpl
-
createConsumer
-
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
- Specified by:
createin interfaceorg.nasdanika.common.Factory<M extends HtmlElement,T extends HTMLElement<?>>
-