Bug 468651

Summary: Provide custom adapter factories via meta model services
Product: [Automotive] Sphinx Reporter: Ali AKAR <ali.akar82>
Component: Navigator & Editor SocketsAssignee: Ali AKAR <ali.akar82>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: balazs.grill, graf, idydieng
Version: 0.9.0   
Target Milestone: ---   
Hardware: PC   
OS: All   
Whiteboard:

Description Ali AKAR CLA 2015-05-28 11:14:05 EDT
The use of a custom adapter factory is spread out in different components/classes:
- org.eclipse.sphinx.emf.explorer.BasicExplorerContentProvider.getCustomAdapterFactory()
- org.eclipse.sphinx.emf.explorer.BasicExplorerLabelProvider.getCustomAdapterFactory()
- org.eclipse.sphinx.emf.explorer.actions.providers.BasicModelEditActionProvider.getCustomAdapterFactory()

Instead of returning null as default implementation, we should try to get a service contributed by the application to return the custom adapter factory (service interface need to be defined in Sphinx).

So the applications will only contribute a service instead of extending all the mentioned classes to override the #getCustomAdapterFactory.
Comment 1 Balazs Grill CLA 2024-05-07 00:53:30 EDT
Closed stale issue before migration