if (tagregResolver != null) { //relies on getTagEntity() having been called to have setup the _element
final ITagElement tag = tagregResolver.getTagElement(_element);
if (tag != null) {
for (final ITagAttribute attr : tag.getAttributes().values()) {
final IPropertyDescriptor pd = getAttrPropertyDescriptor(attr
.getName());
if (pd != null)
result.add(new PropertyDescriptorWrapper(_element,
pd));// ,
// getStatusLineManager()));
else {
final PropertyDescriptor pd1 = new TextPropertyDescriptor(
attr.getName(), attr.getName());
pd1.setDescription(attr.getDescription());
pd1.setCategory(ITabbedPropertiesConstants.OTHER_CATEGORY);
result.add(new PropertyDescriptorWrapper(_element,
pd1));// ,
// getStatusLineManager()));
}
}
}
}
if (result.size() == 0) {// for JSP and HTML cases
// this is still
// necessary
final IPropertyDescriptor[] descs = _innerSource.getPropertyDescriptors();
for (int i = 0; i < descs.length; i++) {
final IPropertyDescriptor pd = getAttrPropertyDescriptor((String) descs[i]
.getId());
if (pd != null)
result.add(new PropertyDescriptorWrapper(_element, pd));// ,
// getStatusLineManager()));
else {