public class DifferenceGroupManager extends Object
This manager can override the rank of groups. For example, it can be used to define a default group that will be used by EMF Compare UI.
This manager can define a synchronization behavior between a user selection of group in EMF Compare UI and the default group that is used by EMF Compare UI.
| Constructor and Description | 
|---|
| DifferenceGroupManager(org.osgi.service.prefs.Preferences preferences,
                      IItemRegistry<IDifferenceGroupProvider.Descriptor> registry)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<IItemDescriptor<IDifferenceGroupProvider.Descriptor>> | getCurrentGroupRanking(boolean isThreeWay)Gets the current group order. | 
| List<IItemDescriptor<IDifferenceGroupProvider.Descriptor>> | getDefaultRankingConfiguration(boolean isThreeWay)Gets the default groups order. | 
| void | setCurrentGroupRanking(List<IItemDescriptor<IDifferenceGroupProvider.Descriptor>> descriptors,
                      boolean isThreeWay)Sets the ranking of Difference group provider. | 
public DifferenceGroupManager(org.osgi.service.prefs.Preferences preferences,
                      IItemRegistry<IDifferenceGroupProvider.Descriptor> registry)
preferences - Preferences holding preference values.registry - Registry of IDifferenceGroupProvider.Descriptor.public List<IItemDescriptor<IDifferenceGroupProvider.Descriptor>> getCurrentGroupRanking(boolean isThreeWay)
isThreeWay - True if three way comparison, false otherwise.List of IDifferenceGroupProvider.Descriptor.public List<IItemDescriptor<IDifferenceGroupProvider.Descriptor>> getDefaultRankingConfiguration(boolean isThreeWay)
isThreeWay - True if three way comparison, false otherwise.List of IDifferenceGroupProvider.Descriptor.public void setCurrentGroupRanking(List<IItemDescriptor<IDifferenceGroupProvider.Descriptor>> descriptors, boolean isThreeWay)
descriptors - An ordered list of IItemDescriptor.isThreeWay - True if three way comparison.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.