public class HtmlElementConsumerFactoryAdapter<M extends HtmlElement,T extends HTMLElement<?>> extends HtmlElementAdapter<M,T> implements org.nasdanika.common.ConsumerFactory<T>
| Modifier | Constructor and Description |
|---|---|
protected |
HtmlElementConsumerFactoryAdapter(M htmlElement) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
build(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) |
boolean |
isAdapterForType(Object type) |
createApplyAttributesAndContentFunction, createConfigureFunction, getContent, getTargetnotifyChanged, setTarget, unsetTargetprotected HtmlElementConsumerFactoryAdapter(M htmlElement)
public boolean isAdapterForType(Object type)
isAdapterForType in interface org.eclipse.emf.common.notify.AdapterisAdapterForType in class org.eclipse.emf.common.notify.impl.AdapterImplprotected org.nasdanika.common.Consumer<T> createConsumer(org.nasdanika.common.Context context)
protected void build(T htmlElement, org.nasdanika.common.Context context, org.nasdanika.common.ProgressMonitor progressMonitor) throws Exception
htmlElement - progressMonitor - Exceptionpublic org.nasdanika.common.Consumer<T> create(org.nasdanika.common.Context context) throws Exception
create in interface org.nasdanika.common.Factory<org.nasdanika.common.Context,org.nasdanika.common.Consumer<T extends HTMLElement<?>>>ExceptionCopyright © 2021 Nasdanika. All rights reserved.