Returns an object that is an instance of the given class name associated with the given object. Returns
null
if no such object can be found.
Note that unlike the getAdapter
methods, this method will cause the plug-in that contributes the adapter factory to be loaded if necessary. As such, this method should be used judiciously, in order to avoid unnecessary plug-in activations. Most clients should avoid activation by using getAdapter
instead.
@param adaptable the adaptable object being queried (usually an instanceof IAdaptable
)
@param adapterTypeName the fully qualified name of the type of adapter to look up
@return an object castable to the given adapter type, or null
if the given adaptable object does not have an available adapter of the given type
@since 3.0