Package com._1c.g5.modeling.xml.service
Class AbstractStandaloneSetup
- java.lang.Object
-
- com._1c.g5.modeling.xml.service.AbstractStandaloneSetup
-
- All Implemented Interfaces:
org.eclipse.xtext.ISetup
public abstract class AbstractStandaloneSetup extends Object implements org.eclipse.xtext.ISetup
-
-
Constructor Summary
Constructors Constructor Description AbstractStandaloneSetup(org.eclipse.emf.ecore.EPackage ePackage, String id)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected com.google.inject.Injector
createInjector()
com.google.inject.Injector
createInjectorAndDoEMFRegistration()
Производит инициализацию всех зависимостей и регистрацию для раcширенияgetFileExtension()
фабрики ресурса, определенной в модуле, получаемом изgetRuntimeModule()
abstract String
getFileExtension()
protected abstract com.google.inject.Module
getRuntimeModule()
Данный метод должен возврящать экземпляр модуля, в котором определена инъекция всех необходимых инъекцийprotected void
register(com.google.inject.Injector injector)
-
-
-
Field Detail
-
ePackage
protected org.eclipse.emf.ecore.EPackage ePackage
-
id
protected String id
-
-
Constructor Detail
-
AbstractStandaloneSetup
public AbstractStandaloneSetup(org.eclipse.emf.ecore.EPackage ePackage, String id)
-
-
Method Detail
-
createInjectorAndDoEMFRegistration
public com.google.inject.Injector createInjectorAndDoEMFRegistration()
Производит инициализацию всех зависимостей и регистрацию для раcширенияgetFileExtension()
фабрики ресурса, определенной в модуле, получаемом изgetRuntimeModule()
- Specified by:
createInjectorAndDoEMFRegistration
in interfaceorg.eclipse.xtext.ISetup
-
getFileExtension
public abstract String getFileExtension()
-
createInjector
protected com.google.inject.Injector createInjector()
-
register
protected void register(com.google.inject.Injector injector)
-
getRuntimeModule
protected abstract com.google.inject.Module getRuntimeModule()
Данный метод должен возврящать экземпляр модуля, в котором определена инъекция всех необходимых инъекций- Returns:
- экземпляр модуля
-
-