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());