Package org.eclipse.glsp.server.emf
Class EMFDiagramModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- org.eclipse.glsp.server.di.GLSPModule
-
- org.eclipse.glsp.server.di.DiagramModule
-
- org.eclipse.glsp.server.emf.EMFDiagramModule
-
- All Implemented Interfaces:
com.google.inject.Module
- Direct Known Subclasses:
EMFNotationDiagramModule
public abstract class EMFDiagramModule extends DiagramModule
Base module for diagram implementations that operate on EMF resources.
-
-
Field Summary
-
Fields inherited from class org.eclipse.glsp.server.di.DiagramModule
FALLBACK_CLIENT_ID, scope
-
Fields inherited from class org.eclipse.glsp.server.di.GLSPModule
CLIENT_ACTIONS
-
-
Constructor Summary
Constructors Constructor Description EMFDiagramModule()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected java.lang.Class<? extends EMFEditingDomainFactory>bindEMFEditingDomainFactory()protected abstract java.lang.Class<? extends EMFIdGenerator>bindEMFIdGenerator()protected java.lang.Class<? extends EMFModelState>bindGModelState()protected java.lang.Class<? extends EMFSourceModelStorage>bindSourceModelStorage()protected voidconfigureActionHandlers(MultiBinding<ActionHandler> binding)protected voidconfigureBase()protected voidconfigureEMFEditingDomainFactory(java.lang.Class<? extends EMFEditingDomainFactory> editingDomainFactoryClass)protected voidconfigureEMFIdGenerator(java.lang.Class<? extends EMFIdGenerator> generatorClass)protected voidconfigureGModelState(java.lang.Class<? extends GModelState> gmodelStateClass)protected voidconfigureOperationHandlers(MultiBinding<OperationHandler> binding)-
Methods inherited from class org.eclipse.glsp.server.di.DiagramModule
bindActionDispatcher, bindActionHandlerRegistry, bindClientId, bindCommandPaletteActionProvider, bindContextActionsProviderRegistry, bindContextEditValidatorRegistry, bindContextMenuItemProvider, bindDiagramConfiguration, bindDiagramGobalScope, bindDiagramType, bindGModelFactory, bindGraphExtension, bindLabelEditValidator, bindLayoutEngine, bindModelValidator, bindNavigationTargetProviderRegistry, bindNavigationTargetResolver, bindOperationHandlerRegistry, bindPopupModelFactory, bindServerConfigurationContribution, bindSourceModelWatcher, bindToolPaletteItemProvider, configureClientActions, configureContextActionsProviders, configureContextEditValidators, configureNavigationTargetProviders, getDiagramType
-
Methods inherited from class org.eclipse.glsp.server.di.GLSPModule
bindOptionally, configure, configure, configureAdditionals
-
Methods inherited from class com.google.inject.AbstractModule
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindInterceptor, bindListener, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
-
-
-
Method Detail
-
configureBase
protected void configureBase()
- Overrides:
configureBasein classDiagramModule
-
bindEMFEditingDomainFactory
protected java.lang.Class<? extends EMFEditingDomainFactory> bindEMFEditingDomainFactory()
-
configureEMFEditingDomainFactory
protected void configureEMFEditingDomainFactory(java.lang.Class<? extends EMFEditingDomainFactory> editingDomainFactoryClass)
-
bindEMFIdGenerator
protected abstract java.lang.Class<? extends EMFIdGenerator> bindEMFIdGenerator()
-
configureEMFIdGenerator
protected void configureEMFIdGenerator(java.lang.Class<? extends EMFIdGenerator> generatorClass)
-
bindGModelState
protected java.lang.Class<? extends EMFModelState> bindGModelState()
- Overrides:
bindGModelStatein classDiagramModule
-
bindSourceModelStorage
protected java.lang.Class<? extends EMFSourceModelStorage> bindSourceModelStorage()
- Specified by:
bindSourceModelStoragein classDiagramModule
-
configureGModelState
protected void configureGModelState(java.lang.Class<? extends GModelState> gmodelStateClass)
- Overrides:
configureGModelStatein classDiagramModule
-
configureActionHandlers
protected void configureActionHandlers(MultiBinding<ActionHandler> binding)
- Overrides:
configureActionHandlersin classDiagramModule
-
configureOperationHandlers
protected void configureOperationHandlers(MultiBinding<OperationHandler> binding)
- Overrides:
configureOperationHandlersin classDiagramModule
-
-