public class JFaceUtil extends Object
Constructor and Description |
---|
JFaceUtil() |
Modifier and Type | Method and 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.
|
public static boolean isFiltered(org.eclipse.jface.viewers.StructuredViewer viewer, Object object, Object parent)
viewer
- the viewerobject
- the object to filterparent
- the parent
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.