Package org.eclipse.gef.common.adapt
Class IAdaptable.Bound.Impl<T extends IAdaptable>
java.lang.Object
org.eclipse.gef.common.adapt.IAdaptable.Bound.Impl<T>
- Type Parameters:
T
- The type ofIAdaptable
which this class is bound to.
- All Implemented Interfaces:
IAdaptable.Bound<T>
- Enclosing interface:
- IAdaptable.Bound<A extends IAdaptable>
public static class IAdaptable.Bound.Impl<T extends IAdaptable>
extends Object
implements IAdaptable.Bound<T>
Default implementation of
IAdaptable.Bound
that manages a
ReadOnlyObjectProperty
for the IAdaptable
.-
Property Summary
TypePropertyDescriptionA read-only object property providing theIAdaptable
thisIAdaptable.Bound
is bound to. -
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.gef.common.adapt.IAdaptable.Bound
IAdaptable.Bound.Impl<T extends IAdaptable>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionA read-only object property providing theIAdaptable
thisIAdaptable.Bound
is bound to.Gets the value of the property adaptable.void
setAdaptable
(T adaptable) Sets the value of the property adaptable.
-
Property Details
-
adaptable
- Specified by:
adaptableProperty
in interfaceIAdaptable.Bound<T extends IAdaptable>
- See Also:
-
-
Constructor Details
-
Impl
public Impl()
-
-
Method Details
-
adaptableProperty
Description copied from interface:IAdaptable.Bound
A read-only object property providing theIAdaptable
thisIAdaptable.Bound
is bound to.- Specified by:
adaptableProperty
in interfaceIAdaptable.Bound<T extends IAdaptable>
- See Also:
-
getAdaptable
Gets the value of the property adaptable.- Specified by:
getAdaptable
in interfaceIAdaptable.Bound<T extends IAdaptable>
- Property description:
- Returns:
- The
IAdaptable
thisIAdaptable.Bound
is currently bound to, ornull
if thisIAdaptable.Bound
is currently not bound to anIAdaptable
.
-
setAdaptable
Sets the value of the property adaptable.- Specified by:
setAdaptable
in interfaceIAdaptable.Bound<T extends IAdaptable>
- Property description:
- Parameters:
adaptable
- TheIAdaptable
thisIAdaptable.Bound
is bound to ornull
to unbind thisIAdaptable.Bound
.
-