Package org.eclipse.emf.compare.provider
Class ForwardingItemProvider
java.lang.Object
org.eclipse.emf.compare.provider.ForwardingItemProvider
- All Implemented Interfaces:
Adapter
,Adapter.Internal
,ResourceLocator
,CreateChildCommand.Helper
,IChangeNotifier
,IDisposable
,IEditingDomainItemProvider
,IItemColorProvider
,IItemFontProvider
,IItemLabelProvider
,IItemPropertySource
,IStructuredItemContentProvider
,ITreeItemContentProvider
@Deprecated
public class ForwardingItemProvider
extends Object
implements Adapter.Internal, IChangeNotifier, IDisposable, CreateChildCommand.Helper, ResourceLocator, IEditingDomainItemProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource, IItemColorProvider, IItemFontProvider
Deprecated.
A simple implementation that forward every call to a delegating instance.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
Adapter.Internal
-
Field Summary
Fields inherited from interface org.eclipse.emf.edit.provider.IItemColorProvider
GRAYED_OUT_COLOR
Fields inherited from interface org.eclipse.emf.edit.provider.IItemFontProvider
BOLD_FONT, BOLD_ITALIC_FONT, ITALIC_FONT, NORMAL_FONT
-
Constructor Summary
ConstructorDescriptionForwardingItemProvider
(ItemProviderAdapter delegate) Deprecated.Creates a new instance that delegate to the given object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(INotifyChangedListener notifyChangedListener) Deprecated.createCommand
(Object object, EditingDomain editingDomain, Class<? extends Command> commandClass, CommandParameter commandParameter) Deprecated.protected ItemProviderAdapter
delegate()
Deprecated.Returns the object to delegate to.void
dispose()
Deprecated.void
fireNotifyChanged
(Notification notification) Deprecated.Deprecated.This provides access to the factory.getBackground
(Object object) Deprecated.Deprecated.Collection<?>
getChildren
(Object object) Deprecated.getCreateChildDescription
(Object owner, Object feature, Object child, Collection<?> selection) Deprecated.getCreateChildImage
(Object owner, Object feature, Object child, Collection<?> selection) Deprecated.Collection<?>
getCreateChildResult
(Object child) Deprecated.getCreateChildText
(Object owner, Object feature, Object child, Collection<?> selection) Deprecated.getCreateChildToolTipText
(Object owner, Object feature, Object child, Collection<?> selection) Deprecated.getEditableValue
(Object object) Deprecated.Collection<?>
getElements
(Object object) Deprecated.Deprecated.getForeground
(Object object) Deprecated.Deprecated.Deprecated.Collection<?>
getNewChildDescriptors
(Object object, EditingDomain editingDomain, Object sibling) Deprecated.Deprecated.getPropertyDescriptor
(Object object, Object propertyID) Deprecated.getPropertyDescriptors
(Object object) Deprecated.protected AdapterFactory
Deprecated.This convenience method returns the first adapter factory that doesn't have a parent, i.e., the root.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.boolean
hasChildren
(Object object) Deprecated.boolean
isAdapterForType
(Object type) Deprecated.void
notifyChanged
(Notification notification) Deprecated.void
removeListener
(INotifyChangedListener notifyChangedListener) Deprecated.void
Deprecated.void
unsetTarget
(Notifier oldTarget) Deprecated.
-
Constructor Details
-
ForwardingItemProvider
Deprecated.Creates a new instance that delegate to the given object.- Parameters:
delegate
- the object to delegate to.
-
-
Method Details
-
delegate
Deprecated.Returns the object to delegate to.- Returns:
- the object to delegate to.
-
getAdapterFactory
Deprecated.This provides access to the factory.- Returns:
- the adapter factory.
-
getRootAdapterFactory
Deprecated.This convenience method returns the first adapter factory that doesn't have a parent, i.e., the root.- Returns:
- the first adapter factory that doesn't have a parent, i.e., the root.
-
notifyChanged
Deprecated.- Specified by:
notifyChanged
in interfaceAdapter
- See Also:
-
getTarget
Deprecated. -
setTarget
Deprecated. -
isAdapterForType
Deprecated.- Specified by:
isAdapterForType
in interfaceAdapter
- See Also:
-
getPropertyDescriptors
Deprecated.- Specified by:
getPropertyDescriptors
in interfaceIItemPropertySource
- See Also:
-
getPropertyDescriptor
Deprecated.- Specified by:
getPropertyDescriptor
in interfaceIItemPropertySource
- See Also:
-
getEditableValue
Deprecated.- Specified by:
getEditableValue
in interfaceIItemPropertySource
- See Also:
-
getText
Deprecated.- Specified by:
getText
in interfaceIItemLabelProvider
- See Also:
-
getImage
Deprecated.- Specified by:
getImage
in interfaceIItemLabelProvider
- See Also:
-
hasChildren
Deprecated.- Specified by:
hasChildren
in interfaceITreeItemContentProvider
- See Also:
-
getElements
Deprecated.- Specified by:
getElements
in interfaceIStructuredItemContentProvider
- See Also:
-
getChildren
Deprecated.- Specified by:
getChildren
in interfaceIEditingDomainItemProvider
- Specified by:
getChildren
in interfaceITreeItemContentProvider
- See Also:
-
getParent
Deprecated.- Specified by:
getParent
in interfaceIEditingDomainItemProvider
- Specified by:
getParent
in interfaceITreeItemContentProvider
- See Also:
-
getNewChildDescriptors
public Collection<?> getNewChildDescriptors(Object object, EditingDomain editingDomain, Object sibling) Deprecated. -
createCommand
public Command createCommand(Object object, EditingDomain editingDomain, Class<? extends Command> commandClass, CommandParameter commandParameter) Deprecated. -
getBaseURL
Deprecated.- Specified by:
getBaseURL
in interfaceResourceLocator
- See Also:
-
getImage
Deprecated.- Specified by:
getImage
in interfaceResourceLocator
- See Also:
-
getString
Deprecated.- Specified by:
getString
in interfaceResourceLocator
- See Also:
-
getString
Deprecated.- Specified by:
getString
in interfaceResourceLocator
- See Also:
-
getString
Deprecated.- Specified by:
getString
in interfaceResourceLocator
- See Also:
-
getString
Deprecated.- Specified by:
getString
in interfaceResourceLocator
- See Also:
-
getCreateChildResult
Deprecated.- Specified by:
getCreateChildResult
in interfaceCreateChildCommand.Helper
- See Also:
-
getCreateChildText
public String getCreateChildText(Object owner, Object feature, Object child, Collection<?> selection) Deprecated. -
getCreateChildDescription
public String getCreateChildDescription(Object owner, Object feature, Object child, Collection<?> selection) Deprecated. -
getCreateChildToolTipText
public String getCreateChildToolTipText(Object owner, Object feature, Object child, Collection<?> selection) Deprecated. -
getCreateChildImage
public Object getCreateChildImage(Object owner, Object feature, Object child, Collection<?> selection) Deprecated. -
dispose
public void dispose()Deprecated.- Specified by:
dispose
in interfaceIDisposable
- See Also:
-
fireNotifyChanged
Deprecated.- Specified by:
fireNotifyChanged
in interfaceIChangeNotifier
- See Also:
-
addListener
Deprecated.- Specified by:
addListener
in interfaceIChangeNotifier
- See Also:
-
removeListener
Deprecated.- Specified by:
removeListener
in interfaceIChangeNotifier
- See Also:
-
unsetTarget
Deprecated.- Specified by:
unsetTarget
in interfaceAdapter.Internal
- See Also:
-
getFont
Deprecated.- Specified by:
getFont
in interfaceIItemFontProvider
- See Also:
-
getForeground
Deprecated.- Specified by:
getForeground
in interfaceIItemColorProvider
- See Also:
-
getBackground
Deprecated.- Specified by:
getBackground
in interfaceIItemColorProvider
- See Also:
-
IItemProviderDecorator
andDecoratorAdapterFactory
instead.