| 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.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AdaptableSupport<A extends IAdaptable>
A support class to manage adapters for a source
IAdaptable. |
static interface |
IAdaptable.Bound<A extends IAdaptable>
To be implemented by an adapter to indicate that it intends to be bounded
to the respective
IAdaptable it is registered at. |
static class |
IAdaptable.Bound.Impl<T extends IAdaptable>
Default implementation of
IAdaptable.Bound that manages a
ReadOnlyObjectProperty for the IAdaptable. |
| Modifier and Type | Class and Description |
|---|---|
class |
AdapterStore
An
AdapterStore is a basic IAdaptable implementation that can
be used standalone. |
| Modifier and Type | Method and Description |
|---|---|
static <A extends IAdaptable> |
AdaptableScopes.typed(java.lang.Class<? extends A> type)
Retrieves an
AdaptableScope for the given IAdaptable
-compliant type. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AdapterInjector.injectAdapters(IAdaptable adaptable)
Performs the adapter map injection for the given adaptable instance.
|
void |
AdapterInjector.injectMembers(IAdaptable instance) |
| Modifier and Type | Method and Description |
|---|---|
static MapBinder<AdapterKey<?>,java.lang.Object> |
AdapterMaps.getAdapterMapBinder(Binder binder,
java.lang.Class<? extends IAdaptable> adaptableType)
Returns a
MapBinder, which can be used to define adapter bindings
for an IAdaptables of the given type. |
static MapBinder<AdapterKey<?>,java.lang.Object> |
AdapterMaps.getAdapterMapBinder(Binder binder,
java.lang.Class<? extends IAdaptable> adaptableType,
AdapterKey<?>... adaptableContext)
Returns a
MapBinder, which can be used to define adapter bindings
for an IAdaptables of the given type, restricting it further to
those IAdaptables that are themselves
adapted to another
IAdaptable with the specified role. |
Copyright (c) 2014 itemis AG and others. All rights reserved.