Package com.iizigo.prop.editor.dialog
Class SelectGPropViewerFilter
java.lang.Object
org.eclipse.jface.viewers.ViewerFilter
com.iizigo.prop.editor.dialog.SelectGPropViewerFilter
A viewer filter for plain properties.
- Author:
- Christopher Mindus
Constructor Summary
ConstructorsConstructorDescriptionCreates the viewer filter for no accept.SelectGPropViewerFilter(Class<?>[] possibleClasses) Creates the viewer filter.Method Summary
Methods inherited from class org.eclipse.jface.viewers.ViewerFilter
filter, filter, isFilterProperty
Constructor Details
SelectGPropViewerFilter
public SelectGPropViewerFilter()Creates the viewer filter for no accept.SelectGPropViewerFilter
Creates the viewer filter.- Parameters:
possibleClasses- The classes that can be end nodes, null for none..
Method Details
add
Adds other class to the same filter.- Parameters:
cs- The new classes to add.- Returns:
- The same instance.
select
Filters what is passed through.- Specified by:
selectin classViewerFilter
isValid
Checks for a valid class in this property of its children.