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>
  • Constructor Details

  • Method Details

    • isAdapterForType

      public boolean isAdapterForType(Object type)
      Specified by:
      isAdapterForType in interface Adapter
      Overrides:
      isAdapterForType in class AdapterImpl
    • 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:
      create in interface org.nasdanika.common.Factory<M extends HtmlElement,T extends HTMLElement<?>>