public void setFieldAccess(int fieldAccess) {
this.fieldAccess = fieldAccess;
}
public ArrayList<IWidgetPropertyDescriptor> getPropertyDescriptors() {
Sorting sorting = ExtensionRegistry.getCurrentSorting();
HashMap<String, String> references = new HashMap<String, String>();
Class beanClass = getWidgetClass();
ArrayList<IWidgetPropertyDescriptor> propdesc = new ArrayList<IWidgetPropertyDescriptor>();
for (Category category : sorting.getCategories().values()) {
Provider provider = getProvider(category.getProviders(), beanClass);
if (provider != null) {
for (String refid : provider.getRefIds()) {
IConfigurationElement prop = this.propertyConfigs.get(refid);
if (prop != null) {
references.put(refid, refid);
IWidgetPropertyDescriptor property = createProperty(prop, beanClass);
property.setCategory(category.getName());
property.setFilterFlags(category.getFilters());
propdesc.add(property);
}
}
}
}
String defaultId = sorting.getDefaultCategory();
Category category = sorting.getCategories().get(defaultId);
for (String refid : propertyConfigs.keySet()) {
if (references.get(refid) == null) {
references.put(refid, refid);
IConfigurationElement prop = propertyConfigs.get(refid);
if (prop != null) {