ruleAtom
converted to the class null
will typically be returned.
@param object arbitrary object to adapt.
@param type the key indicating the type of adapter required.
@return either an associated adapter, the object itself, or null
if the type isn't supported or the object cannot be adapted to it.
true
, form will be scrolled horizontally and/or vertically if needed to ensure that the control is visible when it gains focus. Set it to false
if the control is not capable of gaining focus.
@param trackKeyboard if true
, the control that is capable of gaining focus will be tracked for certain keys that are important to the underlying form (for example, PageUp, PageDown, ScrollUp, ScrollDown etc.). Set it to false
if the control is not capable of gaining focus or these particular key event are already used by the control.
This method is expected to involve considerable deplay, and is not suitable for use from the display thread. A full progress monitor is supported if you need to advise the user of progress during the connection process.
In the event connection is successful an object of the requested adapter type is returned. Do not assume this value is cached, and keep hold of this object as it is considered expensive to request. @param resolve IResolve handle being adapted @param adapterType The type of adapter to connect to @param monitor monitor used to monitor the process of connecting @return The adapter, or null if connection was not available @throws IOException If connection failed an IOException is provided
Adapting this bundle to the specified type may require certain checks, including security checks, to succeed. If a check does not succeed, then this bundle cannot be adapted and {@code null} is returned. @param < A> The type to which this bundle is to be adapted. @param type Class object for the type to which this bundle is to beadapted. @return The object, of the specified type, to which this bundle has beenadapted or {@code null} if this bundle cannot be adapted to thespecified type. @throws SecurityException If the caller does not have the appropriate{@code AdaptPermission[type,this,ADAPT]}, and the Java Runtime Environment supports permissions. @since 1.6
Adapting this Framework to the specified type may require certain checks, including security checks, to succeed. If a check does not succeed, then this Framework cannot be adapted and {@code null} is returned. If thisFramework is not {@link #init() initialized}, then {@code null} isreturned if the specified type is one of the OSGi defined types to which a system bundle can be adapted. @param < A> The type to which this Framework is to be adapted. @param type Class object for the type to which this Framework is to beadapted. @return The object, of the specified type, to which this Framework hasbeen adapted or {@code null} if this Framework cannot be adapted
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|