installDataModelListener();
}
private void initMetaDataProvider(String[] visibleFieldNames) {
if (visibleFieldNames == null) {
metaDataProvider = new DefaultMetaDataProvider(dm);
} else {
MetaData[] metas = new MetaData[visibleFieldNames.length];
for (int i = 0; i < metas.length; i++) {
metas[i] = dm.getMetaData(visibleFieldNames[i]);
}
metaDataProvider = new DefaultMetaDataProvider(metas);
}
}