public class ResourceLocationChangeAccessorImpl extends AbstractTypedElementAdapter implements ICompareAccessor
IResourceContentsAccessor for ResourceLocationChange objects.FOLDER_TYPE, TEXT_TYPE, UNKNOWN_TYPE| Constructor and Description |
|---|
ResourceLocationChangeAccessorImpl(AdapterFactory adapterFactory,
ResourceLocationChange diff,
IMergeViewer.MergeViewerSide side) |
| Modifier and Type | Method and Description |
|---|---|
Comparison |
getComparison()
Returns the comparison object used by this accessor.
|
Image |
getImage()
Returns an image for this object.
|
IMergeViewerItem |
getInitialItem()
Returns the initial item of this accessor.
|
com.google.common.collect.ImmutableList<? extends IMergeViewerItem> |
getItems()
Returns the list of items known by this accessor.
|
String |
getName()
Returns the name of this object.
|
String |
getType()
Returns the type of this object.
|
getAdapterFactory, getItemDelegator, getRootAdapterFactorypublic ResourceLocationChangeAccessorImpl(AdapterFactory adapterFactory, ResourceLocationChange diff, IMergeViewer.MergeViewerSide side)
public Comparison getComparison()
getComparison in interface ICompareAccessorICompareAccessor.getComparison()public IMergeViewerItem getInitialItem()
getInitialItem in interface ICompareAccessorICompareAccessor.getInitialItem()public com.google.common.collect.ImmutableList<? extends IMergeViewerItem> getItems()
getItems in interface ICompareAccessorICompareAccessor.getItems()public String getName()
getName in interface ITypedElementITypedElement.getName()public Image getImage()
getImage in interface ITypedElementnull if this type of input has no imageITypedElement.getImage()public String getType()
FOLDER_TYPE. The type is used for determining a suitable viewer
for this object.getType in interface ITypedElementITypedElement.getType()
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.