Modifier and Type | Method and Description |
---|---|
protected abstract IMergeViewer |
EMFCompareContentMergeViewer.createMergeViewer(org.eclipse.swt.widgets.Composite parent,
IMergeViewer.MergeViewerSide side) |
Modifier and Type | Method and Description |
---|---|
protected AbstractMergeViewer |
TableContentMergeViewer.createMergeViewer(org.eclipse.swt.widgets.Composite parent,
IMergeViewer.MergeViewerSide side) |
Modifier and Type | Method and Description |
---|---|
protected void |
EMFCompareTextMergeViewer.attachListeners(org.eclipse.compare.internal.MergeSourceViewer viewer,
IMergeViewer.MergeViewerSide side) |
Modifier and Type | Method and Description |
---|---|
protected AbstractMergeViewer |
TreeContentMergeViewer.createMergeViewer(org.eclipse.swt.widgets.Composite parent,
IMergeViewer.MergeViewerSide side) |
Modifier and Type | Method and Description |
---|---|
EObject |
IStructuralFeatureAccessor.getEObject(IMergeViewer.MergeViewerSide side)
Returns the EObject associated with the structural feature.
|
Resource |
IResourceContentsAccessor.getResource(IMergeViewer.MergeViewerSide side)
Returns the resource of the model involved with the accessor given the side of the content merge viewer
for which we want to know the resource.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SingleValuedAttributeModelUpdateStrategy.canUpdate(Diff diff,
IMergeViewer.MergeViewerSide side)
Specifies whether the value in the model can to be updated on the given
side . |
boolean |
IModelUpdateStrategy.canUpdate(Diff diff,
IMergeViewer.MergeViewerSide side)
Specifies whether the value in the model can to be updated on the given
side . |
Command |
SingleValuedAttributeModelUpdateStrategy.getModelUpdateCommand(Diff diff,
Object newValue,
IMergeViewer.MergeViewerSide side)
Returns a command for updating the underlying model with the given
newValue on the given
side . |
Command |
IModelUpdateStrategy.getModelUpdateCommand(Diff diff,
Object newValue,
IMergeViewer.MergeViewerSide side)
Returns a command for updating the underlying model with the given
newValue on the given
side . |
Modifier and Type | Method and Description |
---|---|
protected IMergeViewer.MergeViewerSide |
ResourceContentsAccessorImpl.getSide()
Returns the side of the content merge viewer on which the difference is performed.
|
protected IMergeViewer.MergeViewerSide |
MatchAccessor.getSide()
Returns the side of this accessor.
|
protected IMergeViewer.MergeViewerSide |
AbstractStructuralFeatureAccessor.getSide()
Returns the side of the accessor.
|
Modifier and Type | Method and Description |
---|---|
EObject |
AbstractStructuralFeatureAccessor.getEObject(IMergeViewer.MergeViewerSide side)
Returns the EObject associated with the structural feature.
|
protected List<?> |
ManyStructuralFeatureAccessorImpl.getFeatureValues(IMergeViewer.MergeViewerSide side)
Returns the values of the current feature on the given side.
|
Resource |
ResourceContentsAccessorImpl.getResource(IMergeViewer.MergeViewerSide side)
Returns the resource of the model involved with the accessor given the side of the content merge viewer
for which we want to know the resource.
|
protected Object |
ManyStructuralFeatureAccessorImpl.getValueFromDiff(Diff diff,
IMergeViewer.MergeViewerSide side)
Get the value of the given side associated to the given Diff.
|
Modifier and Type | Method and Description |
---|---|
IMergeViewer.MergeViewerSide |
AbstractMergeViewer.getSide() |
Constructor and Description |
---|
AbstractMergeViewer(IMergeViewer.MergeViewerSide side,
IEMFCompareConfiguration compareConfiguration)
Default constructor.
|
AbstractStructuredMergeViewer(org.eclipse.swt.widgets.Composite parent,
IMergeViewer.MergeViewerSide side,
IEMFCompareConfiguration compareConfiguration)
Default constructor.
|
AbstractTableOrTreeMergeViewer(org.eclipse.swt.widgets.Composite parent,
IMergeViewer.MergeViewerSide side,
ICompareColor.Provider colorProvider,
IEMFCompareConfiguration compareConfiguration)
Default constructor.
|
TableMergeViewer(org.eclipse.swt.widgets.Composite parent,
IMergeViewer.MergeViewerSide side,
ICompareColor.Provider colorProvider,
IEMFCompareConfiguration compareConfiguration)
Default constructor.
|
TreeMergeViewer(org.eclipse.swt.widgets.Composite parent,
IMergeViewer.MergeViewerSide side,
ICompareColor.Provider colorProvider,
IEMFCompareConfiguration compareConfiguration)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
IMergeViewer.MergeViewerSide |
MergeViewerItem.getSide() |
Modifier and Type | Method and Description |
---|---|
Object |
MergeViewerItem.getSideValue(IMergeViewer.MergeViewerSide side)
Returns the appropriate value according to the given side.
|
Modifier and Type | Method and Description |
---|---|
static IMergeViewerItem |
ResourceUIUtil.addNewContainerForNotLoadedFragmentMatches(Collection<IMergeViewerItem> items,
IMergeViewer.MergeViewerSide side,
Comparison comparison,
AdapterFactory adapterFactory)
Adds a new parent container to the given list of IMergeViewerItems if needed and returns it.
|
static IMergeViewerItem |
ResourceUIUtil.createItemForNotLoadedFragmentMatch(Match match,
IMergeViewer.MergeViewerSide side,
Comparison comparison,
AdapterFactory adapterFactory)
Constructs a
NotLoadedFragmentMatch from the given
Match and then return the
IMergeViewerItem corresponding to this
NotLoadedFragmentMatch. |
static EObject |
MergeViewerUtil.getBestSideEObject(Match match,
IMergeViewer.MergeViewerSide side) |
static Collection<Match> |
ResourceUIUtil.getChildrenMatchWithNotLoadedParent(Comparison comparison,
Match match,
IMergeViewer.MergeViewerSide side)
Filters, from the root matches of the given comparison, those who will children matches of the given
match if all fragments of the whole models involved in comparison had been loaded, for the given side
of the comparison.
|
static ResourceSet |
ResourceUIUtil.getDataResourceSet(Match match,
IMergeViewer.MergeViewerSide side)
Get the Resource's ResourceSet of the data associated to the given Match, and for the given side of the
comparison.
|
static URI |
ResourceUIUtil.getDataURI(Match match,
IMergeViewer.MergeViewerSide side)
Get the Resource's URI of the data associated to the given Match, and for the given side of the
comparison. .
|
static Collection<URI> |
ResourceUIUtil.getDataURIs(Collection<Match> matches,
IMergeViewer.MergeViewerSide side)
Get the Resource's URIs of the data associated to the given list of Matches.
|
static EObject |
MergeViewerUtil.getEObject(Match match,
IMergeViewer.MergeViewerSide side) |
static List<?> |
MergeViewerUtil.getFeatureValues(Match match,
EStructuralFeature feature,
IMergeViewer.MergeViewerSide side) |
static Resource |
MergeViewerUtil.getResource(Comparison comparison,
IMergeViewer.MergeViewerSide side,
Diff diff)
Returns the current resource on the given side of the given comparison.
|
static Object |
MergeViewerUtil.getResourceAttachmentChangeValue(ResourceAttachmentChange diff,
IMergeViewer.MergeViewerSide side) |
static List<EObject> |
MergeViewerUtil.getResourceContents(Comparison comparison,
IMergeViewer.MergeViewerSide side,
Diff diff)
Returns the contents of the current resource on the given side of the given comparison.
|
static Object |
MergeViewerUtil.getValueFromDiff(Diff diff,
IMergeViewer.MergeViewerSide side) |
static Object |
MergeViewerUtil.getValueFromResourceAttachmentChange(ResourceAttachmentChange diff,
Comparison comparison,
IMergeViewer.MergeViewerSide side) |
static List<?> |
MergeViewerUtil.getValues(Diff diff,
IMergeViewer.MergeViewerSide side) |
static boolean |
ResourceUIUtil.isFragment(Match rootMatch,
IMergeViewer.MergeViewerSide side)
Check if the given match is a root match of its comparison model and is a fragment.
|
static Object |
MergeViewerUtil.matchingValue(Object object,
Comparison comparison,
IMergeViewer.MergeViewerSide side) |
Modifier and Type | Method and Description |
---|---|
IMergeViewer.MergeViewerSide |
IMergeViewer.getSide() |
static IMergeViewer.MergeViewerSide |
IMergeViewer.MergeViewerSide.getValueFrom(DifferenceSource source)
Get the side value from the given
DifferenceSource . |
IMergeViewer.MergeViewerSide |
IMergeViewer.MergeViewerSide.opposite()
Get the opposite side of this side.
|
static IMergeViewer.MergeViewerSide |
IMergeViewer.MergeViewerSide.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IMergeViewer.MergeViewerSide[] |
IMergeViewer.MergeViewerSide.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
IMergeViewer.MergeViewerSide |
IMergeViewerItem.getSide()
Returns the side of the Diff.
|
Modifier and Type | Method and Description |
---|---|
Object |
IMergeViewerItem.getSideValue(IMergeViewer.MergeViewerSide side)
Returns the appropriate value according to the given side.
|
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.