public class DefaultReferenceServiceFactory extends Object implements EMFFormsViewServiceFactory<ReferenceService>
DefaultReferenceService
.Constructor and Description |
---|
DefaultReferenceServiceFactory() |
Modifier and Type | Method and Description |
---|---|
ReferenceService |
createService(EMFFormsViewContext emfFormsViewContext)
Creates a new instance of the provided service.
|
EMFFormsViewServicePolicy |
getPolicy()
Defines when the service should be activated.
|
double |
getPriority()
The priority of the service.
|
EMFFormsViewServiceScope |
getScope()
Defines where the service should be activated.
|
Class<ReferenceService> |
getType()
The type of the actual service provided by this provider.
|
public EMFFormsViewServicePolicy getPolicy()
getPolicy
in interface EMFFormsViewServiceFactory<ReferenceService>
EMFFormsViewServicePolicy
describing when the service should be activatedEMFFormsViewServiceFactory.getPolicy()
public EMFFormsViewServiceScope getScope()
getScope
in interface EMFFormsViewServiceFactory<ReferenceService>
EMFFormsViewServiceScope
describing where the service should be activatedEMFFormsViewServiceFactory.getScope()
public double getPriority()
getPriority
in interface EMFFormsViewServiceFactory<ReferenceService>
EMFFormsViewServiceFactory.getPriority()
public Class<ReferenceService> getType()
getType
in interface EMFFormsViewServiceFactory<ReferenceService>
EMFFormsViewServiceFactory.getType()
public ReferenceService createService(EMFFormsViewContext emfFormsViewContext)
createService
in interface EMFFormsViewServiceFactory<ReferenceService>
emfFormsViewContext
- The EMFFormsViewContext
to use during the creation of the serviceEMFFormsViewServiceFactory.createService(org.eclipse.emfforms.spi.core.services.view.EMFFormsViewContext)
Copyright © 2016. All rights reserved.