Package org.eclipse.emf.compare.provider
Class SafeAdapterFactoryItemDelegator
java.lang.Object
org.eclipse.emf.edit.provider.AdapterFactoryItemDelegator
org.eclipse.emf.compare.provider.SafeAdapterFactoryItemDelegator
- All Implemented Interfaces:
IEditingDomainItemProvider,IItemColorProvider,IItemFontProvider,IItemLabelProvider,IItemPropertySource,IStructuredItemContentProvider,ITableItemColorProvider,ITableItemFontProvider,ITableItemLabelProvider,ITreeItemContentProvider
A safe
AdapterFactoryItemDelegator.
This adapter factory item delegator is safe with respect to missing image
resources that may occur in the item providers in the adapter factory this delegator delegates to.
-
Field Summary
Fields inherited from class org.eclipse.emf.edit.provider.AdapterFactoryItemDelegator
adapterFactoryFields inherited from interface org.eclipse.emf.edit.provider.IItemColorProvider
GRAYED_OUT_COLORFields inherited from interface org.eclipse.emf.edit.provider.IItemFontProvider
BOLD_FONT, BOLD_ITALIC_FONT, ITALIC_FONT, NORMAL_FONT -
Constructor Summary
ConstructorsConstructorDescriptionSafeAdapterFactoryItemDelegator(AdapterFactory adapterFactory) Creates a new safe adapter factory item delegator with the givenadapterFactory. -
Method Summary
Modifier and TypeMethodDescriptionHowever, this method catchesMissingResourceExceptionpotentially thrown in item providers of the adapter factories and returnsnullin case aMissingResourceExceptionwas caught.Methods inherited from class org.eclipse.emf.edit.provider.AdapterFactoryItemDelegator
createCommand, getAdapterFactory, getBackground, getBackground, getChildren, getColumnImage, getColumnText, getEditableValue, getElements, getFont, getFont, getForeground, getForeground, getNewChildDescriptors, getParent, getPropertyDescriptor, getPropertyDescriptors, getText, hasChildren
-
Constructor Details
-
SafeAdapterFactoryItemDelegator
Creates a new safe adapter factory item delegator with the givenadapterFactory.- Parameters:
adapterFactory- The adapter factory to delegate to.
-
-
Method Details
-
getImage
However, this method catchesMissingResourceExceptionpotentially thrown in item providers of the adapter factories and returnsnullin case aMissingResourceExceptionwas caught.- Specified by:
getImagein interfaceIItemLabelProvider- Overrides:
getImagein classAdapterFactoryItemDelegator
-