public class EclipseContextViewServiceFactory extends Object implements EMFFormsViewServiceFactory<org.eclipse.e4.core.contexts.IEclipseContext>
Constructor and Description |
---|
EclipseContextViewServiceFactory() |
Modifier and Type | Method and Description |
---|---|
org.eclipse.e4.core.contexts.IEclipseContext |
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<org.eclipse.e4.core.contexts.IEclipseContext> |
getType()
The type of the actual service provided by this provider.
|
public EMFFormsViewServiceScope getScope()
EMFFormsViewServiceFactory
getScope
in interface EMFFormsViewServiceFactory<org.eclipse.e4.core.contexts.IEclipseContext>
EMFFormsViewServiceScope
describing where the service should be activatedpublic EMFFormsViewServicePolicy getPolicy()
EMFFormsViewServiceFactory
getPolicy
in interface EMFFormsViewServiceFactory<org.eclipse.e4.core.contexts.IEclipseContext>
EMFFormsViewServicePolicy
describing when the service should be activatedpublic double getPriority()
EMFFormsViewServiceFactory
getPriority
in interface EMFFormsViewServiceFactory<org.eclipse.e4.core.contexts.IEclipseContext>
public Class<org.eclipse.e4.core.contexts.IEclipseContext> getType()
EMFFormsViewServiceFactory
getType
in interface EMFFormsViewServiceFactory<org.eclipse.e4.core.contexts.IEclipseContext>
public org.eclipse.e4.core.contexts.IEclipseContext createService(EMFFormsViewContext emfFormsViewContext)
EMFFormsViewServiceFactory
createService
in interface EMFFormsViewServiceFactory<org.eclipse.e4.core.contexts.IEclipseContext>
emfFormsViewContext
- The EMFFormsViewContext
to use during the creation of the serviceCopyright © 2020. All rights reserved.