public class PseudoConflictsFilter extends AbstractDifferenceFilter
IDifferenceFilter.Registry
activeByDefault, description, label
Constructor and Description |
---|
PseudoConflictsFilter() |
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Predicate<? super EObject> |
getPredicateWhenSelected()
Returns the predicate that will filter out objects in the structural differences view when this filter
will be selected.
|
boolean |
isEnabled(IComparisonScope scope,
Comparison comparison)
Returns the activation condition based on the scope and comparison objects.
|
defaultSelected, getDescription, getLabel, getPredicateWhenUnselected, setDefaultSelected, setDescription, setLabel
public boolean isEnabled(IComparisonScope scope, Comparison comparison)
isEnabled
in interface IDifferenceFilter
isEnabled
in class AbstractDifferenceFilter
scope
- The scope on which the filter will be applied.comparison
- The comparison which is to be displayed in the structural view.IDifferenceFilter.isEnabled(org.eclipse.emf.compare.scope.IComparisonScope,
org.eclipse.emf.compare.Comparison)
public com.google.common.base.Predicate<? super EObject> getPredicateWhenSelected()
getPredicateWhenSelected
in interface IDifferenceFilter
getPredicateWhenSelected
in class AbstractDifferenceFilter
IDifferenceFilter.getPredicateWhenSelected()
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.