Package org.eclipse.gef.dot.internal.ui
Class DotGraphViewModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- org.eclipse.gef.mvc.fx.MvcFxModule
-
- org.eclipse.gef.dot.internal.ui.DotGraphViewModule
-
- All Implemented Interfaces:
com.google.inject.Module
public class DotGraphViewModule extends org.eclipse.gef.mvc.fx.MvcFxModule
-
-
Constructor Summary
Constructors Constructor Description DotGraphViewModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
bindAbstractContentPartAdapters(com.google.inject.multibindings.MapBinder<org.eclipse.gef.common.adapt.AdapterKey<?>,java.lang.Object> adapterMapBinder)
protected void
bindEdgeLabelPartAdapters(com.google.inject.multibindings.MapBinder<org.eclipse.gef.common.adapt.AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds (default) adapter map bindings forEdgeLabelPart
and all sub-classes.protected void
bindEdgePartAdapters(com.google.inject.multibindings.MapBinder<org.eclipse.gef.common.adapt.AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds (default) adapter map bindings forEdgePart
and all sub-classes.protected void
bindGraphPartAdapters(com.google.inject.multibindings.MapBinder<org.eclipse.gef.common.adapt.AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds (default) adapter map bindings forGraphPart
and all sub-classes.protected void
bindIContentPartFactory()
BindsIContentPartFactory
toZestFxContentPartFactory
.protected void
bindIRootPartAdaptersForContentViewer(com.google.inject.multibindings.MapBinder<org.eclipse.gef.common.adapt.AdapterKey<?>,java.lang.Object> adapterMapBinder)
protected void
bindNodeLabelPartAdapters(com.google.inject.multibindings.MapBinder<org.eclipse.gef.common.adapt.AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds (default) adapter map bindings forNodeLabelPart
and all sub-classes.protected void
bindNodePartAdapters(com.google.inject.multibindings.MapBinder<org.eclipse.gef.common.adapt.AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds (default) adapter map bindings forNodePart
and all sub-classes.protected void
bindRootPartAsContentViewerAdapter(com.google.inject.multibindings.MapBinder<org.eclipse.gef.common.adapt.AdapterKey<?>,java.lang.Object> adapterMapBinder)
protected void
configure()
protected void
enableAdapterMapInjection()
-
Methods inherited from class org.eclipse.gef.mvc.fx.MvcFxModule
bindAbstractFeedbackPartAdapters, bindAbstractHandlePartAdapters, bindAbstractVisualPartAdapters, bindChangeViewportPolicyAsIRootPartAdapter, bindClickDragGesture, bindClickDragGestureAsDomainAdapter, bindConnectedSupportAsContentViewerAdapter, bindContentBehaviorAsIRootPartAdapter, bindContentIViewerAsIDomainAdapter, bindContentPartPoolAsContentViewerAdapter, bindContentPolicyAsAbstractContentPartAdapter, bindCreationPolicyAsIRootPartAdapter, bindCursorSupportAsContentViewerAdapter, bindDeletionPolicyAsIRootPartAdapter, bindFocusAndSelectOnClickHandlerAsIRootPartAdapter, bindFocusBehaviorAsIRootPartAdapter, bindFocusFeedbackPartFactoryAsContentViewerAdapter, bindFocusModelAsContentViewerAdapter, bindFocusTraversalPolicyAsIRootPartAdapter, bindGridBehaviorAsIRootPartAdapter, bindGridModelAsContentViewerAdapter, bindHoverBehaviorAsIRootPartAdapter, bindHoverFeedbackPartFactoryAsContentViewerAdapter, bindHoverGesture, bindHoverGestureAsDomainAdapter, bindHoverHandlePartFactoryAsContentViewerAdapter, bindHoverIntentBehaviorAsIRootPartAdapter, bindHoverModelAsContentViewerAdapter, bindHoverOnHoverHandlerAsAbstractHandlePartAdapter, bindHoverOnHoverHandlerAsIRootPartAdapter, bindIContentPartFactoryAsContentViewerAdapter, bindIDomain, bindIDomainAdapters, bindIHandlerResolver, bindIHandlerResolverAsIDomainAdapter, bindIOperationHistory, bindIRootPart, bindIUndoContext, bindIViewer, bindIViewerAdaptersForContentViewer, bindMarqueeOnDragHandlerAsIRootPartAdapter, bindPanningSupportAsContentViewerAdapter, bindPanOnTypeHandlerAsIRootPartAdapter, bindPanOrZoomOnScrollHandlerAsIRootPartAdapter, bindPinchSpreadGesture, bindPinchSpreadGestureAsIDomainAdapter, bindRevealPrimarySelectionBehaviorAsIRootPartAdapter, bindRotateGesture, bindRotateGestureAsDomainAdapter, bindScrollGesture, bindScrollGestureAsDomainAdapter, bindSelectionBehaviorAsIRootPartAdapter, bindSelectionFeedbackPartFactoryAsContentViewerAdapter, bindSelectionHandlePartFactoryAsContentViewerAdapter, bindSelectionModelAsContentViewerAdapter, bindSnappingBehaviorAsIRootPartAdapter, bindSnappingFeedbackPartFactoryAsContentViewerAdapter, bindSnappingModelAsContentViewerAdapter, bindSnapToSupportAsContentViewerAdapter, bindTransformProviderAsAbstractContentPartAdapter, bindTypeGesture, bindTypeGestureAsDomainAdapter, bindZoomOnPinchSpreadHandlerAsIRootPartAdapter
-
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
-
bindAbstractContentPartAdapters
protected void bindAbstractContentPartAdapters(com.google.inject.multibindings.MapBinder<org.eclipse.gef.common.adapt.AdapterKey<?>,java.lang.Object> adapterMapBinder)
- Overrides:
bindAbstractContentPartAdapters
in classorg.eclipse.gef.mvc.fx.MvcFxModule
-
bindEdgeLabelPartAdapters
protected void bindEdgeLabelPartAdapters(com.google.inject.multibindings.MapBinder<org.eclipse.gef.common.adapt.AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds (default) adapter map bindings forEdgeLabelPart
and all sub-classes. May be overwritten by sub-classes to change the default bindings.- Parameters:
adapterMapBinder
- TheMapBinder
to be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)
usingEdgeLabelPart
as a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindEdgePartAdapters
protected void bindEdgePartAdapters(com.google.inject.multibindings.MapBinder<org.eclipse.gef.common.adapt.AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds (default) adapter map bindings forEdgePart
and all sub-classes. May be overwritten by sub-classes to change the default bindings.- Parameters:
adapterMapBinder
- TheMapBinder
to be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)
usingEdgePart
as a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindIContentPartFactory
protected void bindIContentPartFactory()
BindsIContentPartFactory
toZestFxContentPartFactory
.
-
bindIRootPartAdaptersForContentViewer
protected void bindIRootPartAdaptersForContentViewer(com.google.inject.multibindings.MapBinder<org.eclipse.gef.common.adapt.AdapterKey<?>,java.lang.Object> adapterMapBinder)
- Overrides:
bindIRootPartAdaptersForContentViewer
in classorg.eclipse.gef.mvc.fx.MvcFxModule
-
bindNodeLabelPartAdapters
protected void bindNodeLabelPartAdapters(com.google.inject.multibindings.MapBinder<org.eclipse.gef.common.adapt.AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds (default) adapter map bindings forNodeLabelPart
and all sub-classes. May be overwritten by sub-classes to change the default bindings.- Parameters:
adapterMapBinder
- TheMapBinder
to be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)
usingNodeLabelPart
as a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindGraphPartAdapters
protected void bindGraphPartAdapters(com.google.inject.multibindings.MapBinder<org.eclipse.gef.common.adapt.AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds (default) adapter map bindings forGraphPart
and all sub-classes. May be overwritten by sub-classes to change the default bindings.- Parameters:
adapterMapBinder
- TheMapBinder
to be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)
usingGraphPart
as a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindNodePartAdapters
protected void bindNodePartAdapters(com.google.inject.multibindings.MapBinder<org.eclipse.gef.common.adapt.AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds (default) adapter map bindings forNodePart
and all sub-classes. May be overwritten by sub-classes to change the default bindings.- Parameters:
adapterMapBinder
- TheMapBinder
to be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)
usingNodePart
as a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindRootPartAsContentViewerAdapter
protected void bindRootPartAsContentViewerAdapter(com.google.inject.multibindings.MapBinder<org.eclipse.gef.common.adapt.AdapterKey<?>,java.lang.Object> adapterMapBinder)
- Overrides:
bindRootPartAsContentViewerAdapter
in classorg.eclipse.gef.mvc.fx.MvcFxModule
-
enableAdapterMapInjection
protected void enableAdapterMapInjection()
- Overrides:
enableAdapterMapInjection
in classorg.eclipse.gef.mvc.fx.MvcFxModule
-
configure
protected void configure()
- Overrides:
configure
in classorg.eclipse.gef.mvc.fx.MvcFxModule
-
-