/** * Returns an adapter factory containing all the global EMF registry's factories. * * @return An adapter factory made of all the adapter factories declared in the registry. */ private static ComposedAdapterFactory createAdapterFactory() { final List<AdapterFactory> factories = new ArrayList<AdapterFactory>(); factories.add(RegisteredItemProviderAdapterFactoryRegistry.createSortedListOfSpecifcIPAF()); factories.add(new ComposedAdapterFactory(ComposedAdapterFactory.Descriptor.Registry.INSTANCE)); factories.add(new ReflectiveItemProviderAdapterFactory()); return new ComposedAdapterFactory(factories); }