Class JFaceUtil
- java.lang.Object
-
- org.eclipse.emf.compare.ide.ui.internal.util.JFaceUtil
-
public class JFaceUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description JFaceUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isFiltered(org.eclipse.jface.viewers.StructuredViewer viewer, Object object, Object parent)
All element filter tests must go through this method.static Set<?>
visibleElements(org.eclipse.jface.viewers.TreeViewer treeViewer, com.google.common.base.Predicate<? super Object> predicate)
Return the set of visible elements from the given viewer filtered by the given predicate.
-
-
-
Method Detail
-
isFiltered
public static boolean isFiltered(org.eclipse.jface.viewers.StructuredViewer viewer, Object object, Object parent)
All element filter tests must go through this method.- Parameters:
viewer
- the viewerobject
- the object to filterparent
- the parent- Returns:
- true if the element is filtered
-
-