if (value instanceof IPropertySource){
return createChildren((IPropertySource) value);
}
} else if (Platform.getAdapterManager().hasAdapter(parentElement,
"org.eclipse.ui.views.properties.IPropertySource")) { //$NON-NLS-1$
IPropertySource source = (IPropertySource) Platform.getAdapterManager().getAdapter(
parentElement, "org.eclipse.ui.views.properties.IPropertySource"); //$NON-NLS-1$
return createChildren(source);
}
return null;
}