public class ThreeWayComparisonGroupProvider extends AbstractDifferenceGroupProvider
IDifferenceGroupProvider will be used to
group the differences by their side : left, right and conflicts.| Modifier and Type | Class and Description |
|---|---|
static class |
ThreeWayComparisonGroupProvider.ConflictsGroupImpl
Specialized
BasicDifferenceGroupImpl for Conflicts. |
IDifferenceGroupProvider.ComparisonType, IDifferenceGroupProvider.DescriptorAdapter.InternalactiveByDefault, labeltarget| Constructor and Description |
|---|
ThreeWayComparisonGroupProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected Collection<? extends IDifferenceGroup> |
buildGroups(Comparison comparison2)
Builds the groups for this comparison.
|
boolean |
isEnabled(IComparisonScope scope,
Comparison comparison)
Returns the activation condition based on the scope and comparison objects.
|
defaultSelected, dispose, getComparison, getCrossReferenceAdapter, getGroups, getLabel, getTreeNodes, groupsAreBuilt, isAdapterForType, setDefaultSelected, setLabelgetTarget, notifyChanged, setTarget, unsetTargetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTarget, notifyChanged, setTargetpublic boolean isEnabled(IComparisonScope scope, Comparison comparison)
isEnabled in interface IDifferenceGroupProviderisEnabled in class AbstractDifferenceGroupProviderscope - The scope on which the group provider will be applied.comparison - The comparison which is to be displayed in the structural view.org.eclipse.emf.compare.rcp.ui.structuremergeviewer.groups.IDifferenceGroupProvider#isEnabled(org
.eclipse.emf.compare.scope.IComparisonScope, org.eclipse.emf.compare.Comparison)protected Collection<? extends IDifferenceGroup> buildGroups(Comparison comparison2)
IDifferenceGroupProvider2 needs to override this
method to provid groups.buildGroups in class AbstractDifferenceGroupProvidercomparison2 - comparison against which the groups will be built.IDifferenceGroup.org.eclipse.emf.compare.rcp.ui.internal.structuremergeviewer.groups.impl.AbstractBuildingDifferenceGroupProvider#buildGroups(org.eclipse.emf.compare.Comparison)
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.