public class BasicPropertySourceFilter extends java.lang.Object implements IPropertySourceFilter
Modifier and Type | Field and Description |
---|---|
protected PropertyFilter |
propertyFilter |
Constructor and Description |
---|
BasicPropertySourceFilter(PropertyFilter propertyFilter) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(java.lang.Object owner,
org.eclipse.ui.views.properties.IPropertyDescriptor propertyDescriptor) |
org.eclipse.ui.views.properties.IPropertyDescriptor[] |
getAcceptedPropertyDescriptors(org.eclipse.ui.views.properties.IPropertySource propertySource) |
boolean |
isFilterForObject(java.lang.Object object)
Returns whether this IPropertySourceFilter is applicable to the given object.
|
void |
setPropertyFilter(PropertyFilter propertyFilter) |
protected PropertyFilter propertyFilter
public BasicPropertySourceFilter(PropertyFilter propertyFilter)
public void setPropertyFilter(PropertyFilter propertyFilter)
setPropertyFilter
in interface IPropertySourceFilter
public boolean isFilterForObject(java.lang.Object object)
IPropertySourceFilter
isFilterForObject
in interface IPropertySourceFilter
object
- the object.public org.eclipse.ui.views.properties.IPropertyDescriptor[] getAcceptedPropertyDescriptors(org.eclipse.ui.views.properties.IPropertySource propertySource)
getAcceptedPropertyDescriptors
in interface IPropertySourceFilter
public boolean accept(java.lang.Object owner, org.eclipse.ui.views.properties.IPropertyDescriptor propertyDescriptor)
accept
in interface IPropertySourceFilter