|Re: [EMFForms]Disable Create and Link button in Table Control [message #1754340 is a reply to message #1754208]
||Thu, 16 February 2017 14:07
| Eugen Neufeld
Registered: May 2015
Hi Malai, |
So we have introduced two services which must be unified in the future.
For a table you need the org.eclipse.emf.ecp.view.spi.table.swt.TableControlService. It can be provided as a plain OSGi-Service.
So just create a component which implements this interface and thus provides it.
For ReferenceControls and MultiReferenceControls we use the ReferenceService.
So in this case I would recommend to subclass the DefaultReferenceService and register yours with a higher priority.
On how to register your reference service take a look at org.eclipse.emf.ecp.ui.view.swt.DefaultReferenceService and org.eclipse.emf.ecp.ui.view.swt.DefaultReferenceServiceFactory .
Get professional Eclipse developer support:
Powered by FUDForum
. Page generated in 0.01465 seconds