Class CachingAdapterInjectionSupport

java.lang.Object
com.google.inject.AbstractModule
com.amalgamasimulation.graphicaleditor.inject.CachingAdapterInjectionSupport
All Implemented Interfaces:
com.google.inject.Module

public class CachingAdapterInjectionSupport extends com.google.inject.AbstractModule
Replaces GEF's AdapterInjectionSupport: injects the adapters of the adapter map bindings into IAdaptables in the same way, through a CachingAdapterInjector that evaluates the bindings once per adaptable class instead of once per adaptable.
  • Constructor Summary

    Constructors
    Constructor
    Description
    In AdapterInjectionSupport.LoggingMode.DEVELOPMENT mode, as GEF's AdapterInjectionSupport().
    CachingAdapterInjectionSupport(org.eclipse.gef.common.adapt.inject.AdapterInjectionSupport.LoggingMode loggingMode)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     

    Methods inherited from class com.google.inject.AbstractModule

    addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestInjection, requestStaticInjection, requireBinding, requireBinding

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CachingAdapterInjectionSupport

      public CachingAdapterInjectionSupport()
      In AdapterInjectionSupport.LoggingMode.DEVELOPMENT mode, as GEF's AdapterInjectionSupport().
    • CachingAdapterInjectionSupport

      public CachingAdapterInjectionSupport(org.eclipse.gef.common.adapt.inject.AdapterInjectionSupport.LoggingMode loggingMode)
  • Method Details

    • configure

      protected void configure()
      Overrides:
      configure in class com.google.inject.AbstractModule