Uses of Interface
org.eclipse.gef.common.adapt.IAdaptable
Package
Description
This package provides abstractions and implementations related to an enhanced
adaptable-pattern.
This package provides support for Google Guice-based injection of adapters.
-
Uses of IAdaptable in org.eclipse.gef.common.adapt
Modifier and TypeClassDescriptionclass
AdaptableSupport<A extends IAdaptable>
A support class to manage adapters for a sourceIAdaptable
.static interface
IAdaptable.Bound<A extends IAdaptable>
To be implemented by an adapter to indicate that it intends to be bounded to the respectiveIAdaptable
it is registered at.static class
IAdaptable.Bound.Impl<T extends IAdaptable>
Default implementation ofIAdaptable.Bound
that manages aReadOnlyObjectProperty
for theIAdaptable
.Modifier and TypeClassDescriptionclass
AnAdapterStore
is a basicIAdaptable
implementation that can be used standalone. -
Uses of IAdaptable in org.eclipse.gef.common.adapt.inject
Modifier and TypeMethodDescriptionstatic <A extends IAdaptable>
org.eclipse.gef.common.adapt.inject.AdaptableScope<A>Retrieves anAdaptableScope
for the givenIAdaptable
-compliant type.Modifier and TypeMethodDescriptionprotected void
AdapterInjector.injectAdapters
(IAdaptable adaptable) Performs the adapter map injection for the given adaptable instance.void
AdapterInjector.injectMembers
(IAdaptable instance) Modifier and TypeMethodDescriptionstatic MapBinder<AdapterKey<?>,
Object> AdapterMaps.getAdapterMapBinder
(Binder binder, Class<? extends IAdaptable> adaptableType) Returns aMapBinder
, which can be used to define adapter bindings for anIAdaptable
s of the given type.static MapBinder<AdapterKey<?>,
Object> AdapterMaps.getAdapterMapBinder
(Binder binder, Class<? extends IAdaptable> adaptableType, AdapterKey<?>... adaptableContext) Returns aMapBinder
, which can be used to define adapter bindings for anIAdaptable
s of the given type, restricting it further to thoseIAdaptable
s that are themselvesadapted
to anotherIAdaptable
with the specified role.