org.eclipse.mat.snapshot
Class HistogramRecordBeanInfo
java.lang.Object
java.beans.SimpleBeanInfo
org.eclipse.mat.snapshot.HistogramRecordBeanInfo
- All Implemented Interfaces:
- BeanInfo
public class HistogramRecordBeanInfo
- extends SimpleBeanInfo
Provides information about the column names for a HistogramRecord
.
Not intended to be directly used by clients.
- Since:
- 1.2
- No Extend:
- This class is not intended to be subclassed by clients.
HistogramRecordBeanInfo
public HistogramRecordBeanInfo()
- No Reference:
- This constructor is not intended to be referenced by clients.
getPropertyDescriptors
public PropertyDescriptor[] getPropertyDescriptors()
- Gets the property descriptors for the fields of the
HistogramRecord
.
The system bean code will call this once and cache the result. When bean info is
needed the data will be copied to a bean info to return to the user.
The returned results implement the FeatureDescriptor.getDisplayName()
method
so that for RAP the language can be dynamically chosen. If a basic property descriptor
was used and initialized using FeatureDescriptor.setDisplayName(java.lang.String)
then only
one language could be used.
- Specified by:
getPropertyDescriptors
in interface BeanInfo
- Overrides:
getPropertyDescriptors
in class SimpleBeanInfo