public class JFaceUtil extends Object
Constructor and Description |
---|
JFaceUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isFiltered(StructuredViewer viewer,
Object object,
Object parent)
All element filter tests must go through this method.
|
static Set<?> |
visibleElements(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(StructuredViewer viewer, Object object, Object parent)
viewer
- the viewerobject
- the object to filterparent
- the parentpublic static Set<?> visibleElements(TreeViewer treeViewer, com.google.common.base.Predicate<? super Object> predicate)
treeViewer
- predicate
-
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.