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_COLORFields inherited from interface org.eclipse.emf.edit.provider.IItemFontProvider
BOLD_FONT, BOLD_ITALIC_FONT, ITALIC_FONT, NORMAL_FONT -
Constructor Summary
ConstructorsConstructorDescriptionForwardingItemProvider(ItemProviderAdapter delegate) Deprecated.Creates a new instance that delegate to the given object. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(INotifyChangedListener notifyChangedListener) Deprecated.createCommand(Object object, EditingDomain editingDomain, Class<? extends Command> commandClass, CommandParameter commandParameter) Deprecated.protected ItemProviderAdapterdelegate()Deprecated.Returns the object to delegate to.voiddispose()Deprecated.voidfireNotifyChanged(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 AdapterFactoryDeprecated.This convenience method returns the first adapter factory that doesn't have a parent, i.e., the root.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.booleanhasChildren(Object object) Deprecated.booleanisAdapterForType(Object type) Deprecated.voidnotifyChanged(Notification notification) Deprecated.voidremoveListener(INotifyChangedListener notifyChangedListener) Deprecated.voidDeprecated.voidunsetTarget(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:
notifyChangedin interfaceAdapter- See Also:
-
getTarget
Deprecated. -
setTarget
Deprecated. -
isAdapterForType
Deprecated.- Specified by:
isAdapterForTypein interfaceAdapter- See Also:
-
getPropertyDescriptors
Deprecated.- Specified by:
getPropertyDescriptorsin interfaceIItemPropertySource- See Also:
-
getPropertyDescriptor
Deprecated.- Specified by:
getPropertyDescriptorin interfaceIItemPropertySource- See Also:
-
getEditableValue
Deprecated.- Specified by:
getEditableValuein interfaceIItemPropertySource- See Also:
-
getText
Deprecated.- Specified by:
getTextin interfaceIItemLabelProvider- See Also:
-
getImage
Deprecated.- Specified by:
getImagein interfaceIItemLabelProvider- See Also:
-
hasChildren
Deprecated.- Specified by:
hasChildrenin interfaceITreeItemContentProvider- See Also:
-
getElements
Deprecated.- Specified by:
getElementsin interfaceIStructuredItemContentProvider- See Also:
-
getChildren
Deprecated.- Specified by:
getChildrenin interfaceIEditingDomainItemProvider- Specified by:
getChildrenin interfaceITreeItemContentProvider- See Also:
-
getParent
Deprecated.- Specified by:
getParentin interfaceIEditingDomainItemProvider- Specified by:
getParentin 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:
getBaseURLin interfaceResourceLocator- See Also:
-
getImage
Deprecated.- Specified by:
getImagein interfaceResourceLocator- See Also:
-
getString
Deprecated.- Specified by:
getStringin interfaceResourceLocator- See Also:
-
getString
Deprecated.- Specified by:
getStringin interfaceResourceLocator- See Also:
-
getString
Deprecated.- Specified by:
getStringin interfaceResourceLocator- See Also:
-
getString
Deprecated.- Specified by:
getStringin interfaceResourceLocator- See Also:
-
getCreateChildResult
Deprecated.- Specified by:
getCreateChildResultin 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:
disposein interfaceIDisposable- See Also:
-
fireNotifyChanged
Deprecated.- Specified by:
fireNotifyChangedin interfaceIChangeNotifier- See Also:
-
addListener
Deprecated.- Specified by:
addListenerin interfaceIChangeNotifier- See Also:
-
removeListener
Deprecated.- Specified by:
removeListenerin interfaceIChangeNotifier- See Also:
-
unsetTarget
Deprecated.- Specified by:
unsetTargetin interfaceAdapter.Internal- See Also:
-
getFont
Deprecated.- Specified by:
getFontin interfaceIItemFontProvider- See Also:
-
getForeground
Deprecated.- Specified by:
getForegroundin interfaceIItemColorProvider- See Also:
-
getBackground
Deprecated.- Specified by:
getBackgroundin interfaceIItemColorProvider- See Also:
-
IItemProviderDecoratorandDecoratorAdapterFactoryinstead.