protected void addContentBasedFactories(IStructuredModel structuredModel) {
FactoryRegistry factoryRegistry = structuredModel.getFactoryRegistry();
Assert.notNull(factoryRegistry, "No factory registered");
INodeAdapterFactory factory = factoryRegistry.getFactoryFor(IJFaceNodeAdapter.class);
if (factory == null) {
factory = new BeansJFaceNodeAdapterFactory();
factoryRegistry.addFactory(factory);
}
// Stuff from super method (inferred grammar support)
if (structuredModel != null) {