public class AdaptableScopes
extends java.lang.Object
entered scope may be
left. When leaving a scope, the previous state is
restored, i.e. the last entered scope will be entered again.AdaptableScope| Modifier and Type | Method and Description |
|---|---|
static <A extends IAdaptable> |
typed(java.lang.Class<? extends A> type)
Retrieves an
AdaptableScope for the given IAdaptable
-compliant type. |
public static <A extends IAdaptable> org.eclipse.gef.common.adapt.inject.AdaptableScope<A> typed(java.lang.Class<? extends A> type)
AdaptableScope for the given IAdaptable
-compliant type.A - The IAdaptable (sub-)type to return an
AdaptableScope for.type - The type of the AdaptableScope.AdaptableScope instance for the given type.Copyright (c) 2014 itemis AG and others. All rights reserved.