public class ContainmentReferenceChangeAccessorImpl extends AbstractStructuralFeatureAccessor
AbstractStructuralFeatureAccessor
for containment
ReferenceChange
objects.FOLDER_TYPE, TEXT_TYPE, UNKNOWN_TYPE
Constructor and Description |
---|
ContainmentReferenceChangeAccessorImpl(AdapterFactory adapterFactory,
Diff diff,
IMergeViewer.MergeViewerSide side)
.
|
Modifier and Type | Method and Description |
---|---|
protected com.google.common.collect.ImmutableList<Diff> |
computeDifferences()
Compute the differences that apply on the structural feature.
|
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 |
getType()
Returns the type of this object.
|
getAffectedFeature, getComparison, getDifferences, getEObject, getImage, getInitialDiff, getName, getSide, getStructuralFeature
getAdapterFactory, getItemDelegator, getRootAdapterFactory
public ContainmentReferenceChangeAccessorImpl(AdapterFactory adapterFactory, Diff diff, IMergeViewer.MergeViewerSide side)
protected com.google.common.collect.ImmutableList<Diff> computeDifferences()
computeDifferences
in class AbstractStructuralFeatureAccessor
computeDifferences()
public IMergeViewerItem getInitialItem()
getInitialItem
in interface ICompareAccessor
getInitialItem
in class AbstractStructuralFeatureAccessor
ICompareAccessor.getInitialItem()
public com.google.common.collect.ImmutableList<? extends IMergeViewerItem> getItems()
ICompareAccessor.getItems()
public String getType()
FOLDER_TYPE
. The type is used for determining a suitable viewer
for this object.getType
in interface ITypedElement
getType
in class AbstractStructuralFeatureAccessor
ITypedElement.getType()
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.