AdapterFactoryItemDelegator instead.@Deprecated public final class AdapterFactoryUtil extends Object
AdapterFactory.| Modifier and Type | Method and Description | 
|---|---|
| static Object | getImage(AdapterFactory adapterFactory,
        Object object)Deprecated.  Returns the image of the given  objectby adapting it toIItemLabelProviderand
 asking for itsimage. | 
| static Object | getStyledText(AdapterFactory adapterFactory,
             Object object)Deprecated.  Returns the StyledText for the given object and the given adapter factory. | 
| static String | getText(AdapterFactory adapterFactory,
       Object object)Deprecated.  | 
public static String getText(AdapterFactory adapterFactory, Object object)
object by adapting it to IItemLabelProvider and
 asking for its text. Returns null if object is
 null.adapterFactory - the adapter factory to adapt fromobject - the object from which we want a textNullPointerException - if adapterFactory is null.public static Object getImage(AdapterFactory adapterFactory, Object object)
object by adapting it to IItemLabelProvider and
 asking for its image. Returns null if object
 is null.adapterFactory - the adapter factory to adapt fromobject - the object from which we want a imageNullPointerException - if adapterFactory is null.public static Object getStyledText(AdapterFactory adapterFactory, Object object)
adapterFactory - the given adapter factory.object - the given object.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.