Package | Description |
---|---|
org.eclipse.gef.common.adapt |
This package provides abstractions and implementations related to an enhanced
adaptable-pattern.
|
org.eclipse.gef.common.adapt.inject |
This package provides support for Google Guice-based injection of adapters.
|
Class and Description |
---|
InjectAdapters
An annotation to mark an
IAdaptable implementation class'
IAdaptable.setAdapter(TypeToken, Object, String) method as an
injection point for adapter injection:
@InjectAdapters
public <T> void setAdapter(TypeToken<T> adapterType, T adapter, String role) {
...
}
If an IAdaptable thereby marks itself as eligible for adapter
injection, all adapter (map bindings) that are bound to a
type (by being qualified with a respective
AdapterMap annotation), which is either the same or a super-type or
super-interface of the IAdaptable will be evaluated, and respective
adapters will be injected. |
Class and Description |
---|
AdapterInjectionSupport.LoggingMode
The
AdapterInjectionSupport.LoggingMode specifies if binding-related information and
warning messages should be printed. |
Copyright (c) 2014 itemis AG and others. All rights reserved.