Package org.eclipse.gef.mvc.fx
Class MvcFxModule
- java.lang.Object
-
- com.google.inject.AbstractModule
-
- org.eclipse.gef.mvc.fx.MvcFxModule
-
- All Implemented Interfaces:
Module
public class MvcFxModule extends AbstractModule
The Guice module which contains all (default) bindings related to the MVC.FX bundle. It extends the MVC Guice module of the MVC bundle, which provides JavaFX-unrelated (default) bindings.In an Eclipse UI-integration scenario this module is intended to be overwritten by the MVC.FX.UI Guice module, which is provided by the MVC.FX.UI bundle.
Generally, we recommended that all clients should create an own non-UI module, which extends this module, as well as an own UI module, which extends the MVC.FX.UI module, being used to override the non-UI module in an Eclipse-UI integration scenario, as follows:
MVC <--extends-- MVC.FX <--extends-- Client-Non-UI-Module ^ ^ ^ | | | overrides overrides overrides | | | | | | MVC.UI <--extends-- MVC.FX.UI <--extends-- Client-UI-Module
-
-
Constructor Summary
Constructors Constructor Description MvcFxModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidbindAbstractContentPartAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds (default) adapter map bindings forAbstractContentPartand all sub-classes.protected voidbindAbstractFeedbackPartAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds (default) adapter map bindings forAbstractFeedbackPartand all sub-classes.protected voidbindAbstractHandlePartAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds (default) adapter map bindings forAbstractHandlePartand all sub-classes.protected voidbindAbstractVisualPartAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds (default) adapter map binding forAbstractVisualPartand all sub-classes.protected voidbindChangeViewportPolicyAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds a binding forViewportPolicyto the adapter map binder forIRootPart.protected voidbindClickDragGesture()BindsClickDragGestureto theIDomainadaptable scope.protected voidbindClickDragGestureAsDomainAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds a binding forClickDragGestureto the adapter map binder forIDomain.protected voidbindConnectedSupportAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)protected voidbindContentBehaviorAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds a binding forContentBehavior, parameterized byNode, to the adapter map binder forIRootPart.protected voidbindContentIViewerAsIDomainAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)protected voidbindContentPartPoolAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)protected voidbindContentPolicyAsAbstractContentPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds a binding forContentPolicy, parameterized byNode, to the adapter map binder forAbstractContentPart.protected voidbindCreationPolicyAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds a binding forCreationPolicyto the adapter map binder forIRootPart.protected voidbindCursorSupportAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)protected voidbindDeletionPolicyAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds a binding forDeletionPolicyto the adapter map binder forIRootPart.protected voidbindFocusAndSelectOnClickHandlerAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds a binding forFocusAndSelectOnClickHandlerto the adapter map binder forIRootPart.protected voidbindFocusBehaviorAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds a binding for theFocusBehaviorto the given adapter map binder.protected voidbindFocusFeedbackPartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Binds theIFeedbackPartFactorythat is used to generate focus feedback.protected voidbindFocusModelAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)protected voidbindFocusTraversalPolicyAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds a binding forFocusTraversalPolicyto the adapter map binder forIRootPart.protected voidbindGridBehaviorAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds a binding forGridBehaviorto the adapter map binder forIRootPart.protected voidbindGridModelAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)protected voidbindHoverBehaviorAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)protected voidbindHoverFeedbackPartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Binds theIFeedbackPartFactorythat is used to generate hover feedback.protected voidbindHoverGesture()BindsHoverGestureto theIDomainadaptable scope.protected voidbindHoverGestureAsDomainAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds a binding forHoverGestureto the adapter map binder forIDomain.protected voidbindHoverHandlePartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Binds theIHandlePartFactorythat is used to generate hover handles.protected voidbindHoverIntentBehaviorAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds a binding forHoverIntentBehavior, parameterized byNode, to the adapter map binder forIRootPart.protected voidbindHoverModelAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)protected voidbindHoverOnHoverHandlerAsAbstractHandlePartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds a binding forHoverOnHoverHandlerto the adapter map binder forAbstractHandlePart.protected voidbindHoverOnHoverHandlerAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds a binding forHoverOnHoverHandlerto the adapter map binder forIRootPart.protected voidbindIContentPartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)BindsIContentPartFactoryas an adapter for the content viewer.protected voidbindIDomain()BindsIDomainto a respectiveHistoricizingDomainimplementation.protected voidbindIDomainAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds (default) adapter map bindings forIDomainand all sub-classes.protected voidbindIHandlerResolver()protected voidbindIHandlerResolverAsIDomainAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)BindsDefaultHandlerResolveras a domain adapter.protected voidbindIOperationHistory()protected voidbindIRootPart()Binds the default implementation ofIRootPart.protected voidbindIRootPartAdaptersForContentViewer(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds (default) adapter map bindings for "content"IRootPartand all sub-classes.protected voidbindIUndoContext()protected voidbindIViewer()BindsIViewerto a respectiveInfiniteCanvasViewerimplementation.protected voidbindIViewerAdaptersForContentViewer(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds (default) adapter map bindings forIViewerand all sub-classes.protected voidbindMarqueeOnDragHandlerAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds a binding forMarqueeOnDragHandlerto the adapter map binder forIRootPart.protected voidbindPanningSupportAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)protected voidbindPanOnTypeHandlerAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds a binding forPanOnStrokeHandlerto the adapter map binder forIRootPart.protected voidbindPanOrZoomOnScrollHandlerAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds a binding forPanOrZoomOnScrollHandlerto the adapter map binder forIRootPart.protected voidbindPinchSpreadGesture()BindsPinchSpreadGestureto theIDomainadaptable scope.protected voidbindPinchSpreadGestureAsIDomainAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds a binding forPinchSpreadGestureto the adapter map binder forIDomain.protected voidbindRevealPrimarySelectionBehaviorAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds a binding forRevealPrimarySelectionBehavior, parameterized byNode, to the adapter map binder forIRootPart.protected voidbindRootPartAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)protected voidbindRotateGesture()BindsRotateGestureto theIDomainadaptable scope.protected voidbindRotateGestureAsDomainAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds a binding forRotateGestureto the adapter map binder forIDomain.protected voidbindScrollGesture()BindsScrollGestureto theIDomainadaptable scope.protected voidbindScrollGestureAsDomainAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds a binding forScrollGestureto the adapter map binder forIDomain.protected voidbindSelectionBehaviorAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds a binding forSelectionBehavior, parameterized byNode, to the adapter map binder forIRootPart.protected voidbindSelectionFeedbackPartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Binds theIFeedbackPartFactorythat is used to generate selection feedback.protected voidbindSelectionHandlePartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Binds theIHandlePartFactorythat is used to generate selection handles.protected voidbindSelectionModelAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)protected voidbindSnappingBehaviorAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds a binding for theSnappingBehaviorto the given adapter map binder.protected voidbindSnappingFeedbackPartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Binds theIFeedbackPartFactorythat is used to generate snapping feedback.protected voidbindSnappingModelAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)protected voidbindSnapToSupportAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)protected voidbindTransformProviderAsAbstractContentPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds a binding forTransformProviderto the adapter map binder forAbstractContentPart, using theITransformableContentPart.TRANSFORM_PROVIDER_KEY.protected voidbindTypeGesture()BindsTypeStrokeGestureto theIDomainadaptable scope.protected voidbindTypeGestureAsDomainAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds a binding forTypeStrokeGestureto the adapter map binder forIDomain.protected voidbindZoomOnPinchSpreadHandlerAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)Adds a binding forZoomOnPinchSpreadHandlerto the adapter map binder forIRootPart.protected voidconfigure()protected voidenableAdapterMapInjection()Installs anAdapterInjectionSupportmodule, which binds anAdaptableTypeListenerand ensures it gets properly injected.-
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(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds (default) adapter map bindings forAbstractContentPartand all sub-classes. May be overwritten by sub-classes to change the default bindings.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingAbstractContentPartas a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindAbstractFeedbackPartAdapters
protected void bindAbstractFeedbackPartAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds (default) adapter map bindings forAbstractFeedbackPartand all sub-classes. May be overwritten by sub-classes to change the default bindings.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingAbstractFeedbackPartas a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindAbstractHandlePartAdapters
protected void bindAbstractHandlePartAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds (default) adapter map bindings forAbstractHandlePartand all sub-classes. May be overwritten by sub-classes to change the default bindings.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingAbstractHandlePartas a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindAbstractVisualPartAdapters
protected void bindAbstractVisualPartAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds (default) adapter map binding forAbstractVisualPartand all sub-classes. May be overwritten by sub-classes to change the default bindings.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingAbstractVisualPartas a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindChangeViewportPolicyAsIRootPartAdapter
protected void bindChangeViewportPolicyAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding forViewportPolicyto the adapter map binder forIRootPart.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingIRootPartas a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindClickDragGesture
protected void bindClickDragGesture()
BindsClickDragGestureto theIDomainadaptable scope.
-
bindClickDragGestureAsDomainAdapter
protected void bindClickDragGestureAsDomainAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding forClickDragGestureto the adapter map binder forIDomain.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingIDomainas a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindContentBehaviorAsIRootPartAdapter
protected void bindContentBehaviorAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding forContentBehavior, parameterized byNode, to the adapter map binder forIRootPart.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingIRootPartas a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindContentIViewerAsIDomainAdapter
protected void bindContentIViewerAsIDomainAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingIDomainas a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindContentPartPoolAsContentViewerAdapter
protected void bindContentPartPoolAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
- Parameters:
adapterMapBinder- TheMapBinderthat is used to establish the binding.
-
bindContentPolicyAsAbstractContentPartAdapter
protected void bindContentPolicyAsAbstractContentPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding forContentPolicy, parameterized byNode, to the adapter map binder forAbstractContentPart.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingAbstractContentPartas a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindCreationPolicyAsIRootPartAdapter
protected void bindCreationPolicyAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding forCreationPolicyto the adapter map binder forIRootPart.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingIRootPartas a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindCursorSupportAsContentViewerAdapter
protected void bindCursorSupportAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
- Parameters:
adapterMapBinder- TheMapBinderthat is used to register adapter bindings.
-
bindDeletionPolicyAsIRootPartAdapter
protected void bindDeletionPolicyAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding forDeletionPolicyto the adapter map binder forIRootPart.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingIRootPartas a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindFocusAndSelectOnClickHandlerAsIRootPartAdapter
protected void bindFocusAndSelectOnClickHandlerAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding forFocusAndSelectOnClickHandlerto the adapter map binder forIRootPart.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingIRootPartas a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindFocusBehaviorAsIRootPartAdapter
protected void bindFocusBehaviorAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for theFocusBehaviorto the given adapter map binder.- Parameters:
adapterMapBinder- An adapter map binder forIRootPart.
-
bindFocusFeedbackPartFactoryAsContentViewerAdapter
protected void bindFocusFeedbackPartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Binds theIFeedbackPartFactorythat is used to generate focus feedback.- Parameters:
adapterMapBinder- TheMapBinderfor content viewer adapters.
-
bindFocusModelAsContentViewerAdapter
protected void bindFocusModelAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingIVieweras a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindFocusTraversalPolicyAsIRootPartAdapter
protected void bindFocusTraversalPolicyAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding forFocusTraversalPolicyto the adapter map binder forIRootPart.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingIRootPartas a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindGridBehaviorAsIRootPartAdapter
protected void bindGridBehaviorAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding forGridBehaviorto the adapter map binder forIRootPart.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingIRootPartas a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindGridModelAsContentViewerAdapter
protected void bindGridModelAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingIVieweras a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindHoverBehaviorAsIRootPartAdapter
protected void bindHoverBehaviorAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingIRootPartas a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindHoverFeedbackPartFactoryAsContentViewerAdapter
protected void bindHoverFeedbackPartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Binds theIFeedbackPartFactorythat is used to generate hover feedback.- Parameters:
adapterMapBinder- TheMapBinderfor content viewer adapters.
-
bindHoverGesture
protected void bindHoverGesture()
BindsHoverGestureto theIDomainadaptable scope.
-
bindHoverGestureAsDomainAdapter
protected void bindHoverGestureAsDomainAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding forHoverGestureto the adapter map binder forIDomain.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingIDomainas a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindHoverHandlePartFactoryAsContentViewerAdapter
protected void bindHoverHandlePartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Binds theIHandlePartFactorythat is used to generate hover handles.- Parameters:
adapterMapBinder- TheMapBinderfor content viewer adapters.
-
bindHoverIntentBehaviorAsIRootPartAdapter
protected void bindHoverIntentBehaviorAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding forHoverIntentBehavior, parameterized byNode, to the adapter map binder forIRootPart.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingIRootPartas a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindHoverModelAsContentViewerAdapter
protected void bindHoverModelAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingIVieweras a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindHoverOnHoverHandlerAsAbstractHandlePartAdapter
protected void bindHoverOnHoverHandlerAsAbstractHandlePartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding forHoverOnHoverHandlerto the adapter map binder forAbstractHandlePart.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingAbstractHandlePartas a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindHoverOnHoverHandlerAsIRootPartAdapter
protected void bindHoverOnHoverHandlerAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding forHoverOnHoverHandlerto the adapter map binder forIRootPart.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingIRootPartas a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindIContentPartFactoryAsContentViewerAdapter
protected void bindIContentPartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
BindsIContentPartFactoryas an adapter for the content viewer.- Parameters:
adapterMapBinder- TheMapBinderfor the content viewer.
-
bindIDomain
protected void bindIDomain()
BindsIDomainto a respectiveHistoricizingDomainimplementation.
-
bindIDomainAdapters
protected void bindIDomainAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds (default) adapter map bindings forIDomainand all sub-classes. May be overwritten by sub-classes to change the default bindings.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingIDomainas a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindIHandlerResolver
protected void bindIHandlerResolver()
-
bindIHandlerResolverAsIDomainAdapter
protected void bindIHandlerResolverAsIDomainAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
BindsDefaultHandlerResolveras a domain adapter.- Parameters:
adapterMapBinder- TheMapBinderthat is used to add the binding.
-
bindIOperationHistory
protected void bindIOperationHistory()
-
bindIRootPart
protected void bindIRootPart()
Binds the default implementation ofIRootPart.
-
bindIRootPartAdaptersForContentViewer
protected void bindIRootPartAdaptersForContentViewer(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds (default) adapter map bindings for "content"IRootPartand all sub-classes. May be overwritten by sub-classes to change the default bindings.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingIRootPartas a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindIUndoContext
protected void bindIUndoContext()
-
bindIViewer
protected void bindIViewer()
BindsIViewerto a respectiveInfiniteCanvasViewerimplementation.
-
bindIViewerAdaptersForContentViewer
protected void bindIViewerAdaptersForContentViewer(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds (default) adapter map bindings forIViewerand all sub-classes. May be overwritten by sub-classes to change the default bindings.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingIVieweras a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindMarqueeOnDragHandlerAsIRootPartAdapter
protected void bindMarqueeOnDragHandlerAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding forMarqueeOnDragHandlerto the adapter map binder forIRootPart.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingIRootPartas a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindConnectedSupportAsContentViewerAdapter
protected void bindConnectedSupportAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
- Parameters:
adapterMapBinder- TheMapBinderthat is used to register adapter bindings.
-
bindPanningSupportAsContentViewerAdapter
protected void bindPanningSupportAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
- Parameters:
adapterMapBinder- TheMapBinderthat is used to register adapter bindings.
-
bindPanOnTypeHandlerAsIRootPartAdapter
protected void bindPanOnTypeHandlerAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding forPanOnStrokeHandlerto the adapter map binder forIRootPart.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingIRootPartas a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindPanOrZoomOnScrollHandlerAsIRootPartAdapter
protected void bindPanOrZoomOnScrollHandlerAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding forPanOrZoomOnScrollHandlerto the adapter map binder forIRootPart.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingIRootPartas a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindPinchSpreadGesture
protected void bindPinchSpreadGesture()
BindsPinchSpreadGestureto theIDomainadaptable scope.
-
bindPinchSpreadGestureAsIDomainAdapter
protected void bindPinchSpreadGestureAsIDomainAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding forPinchSpreadGestureto the adapter map binder forIDomain.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingIDomainas a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindRevealPrimarySelectionBehaviorAsIRootPartAdapter
protected void bindRevealPrimarySelectionBehaviorAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding forRevealPrimarySelectionBehavior, parameterized byNode, to the adapter map binder forIRootPart.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingIRootPartas a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindRootPartAsContentViewerAdapter
protected void bindRootPartAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingIVieweras a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindRotateGesture
protected void bindRotateGesture()
BindsRotateGestureto theIDomainadaptable scope.
-
bindRotateGestureAsDomainAdapter
protected void bindRotateGestureAsDomainAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding forRotateGestureto the adapter map binder forIDomain.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingIDomainas a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindScrollGesture
protected void bindScrollGesture()
BindsScrollGestureto theIDomainadaptable scope.
-
bindScrollGestureAsDomainAdapter
protected void bindScrollGestureAsDomainAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding forScrollGestureto the adapter map binder forIDomain.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingIDomainas a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindSelectionBehaviorAsIRootPartAdapter
protected void bindSelectionBehaviorAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding forSelectionBehavior, parameterized byNode, to the adapter map binder forIRootPart.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingIRootPartas a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindSelectionFeedbackPartFactoryAsContentViewerAdapter
protected void bindSelectionFeedbackPartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Binds theIFeedbackPartFactorythat is used to generate selection feedback.- Parameters:
adapterMapBinder- TheMapBinderfor content viewer adapters.
-
bindSelectionHandlePartFactoryAsContentViewerAdapter
protected void bindSelectionHandlePartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Binds theIHandlePartFactorythat is used to generate selection handles.- Parameters:
adapterMapBinder- TheMapBinderfor content viewer adapters.
-
bindSelectionModelAsContentViewerAdapter
protected void bindSelectionModelAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingIVieweras a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindSnappingBehaviorAsIRootPartAdapter
protected void bindSnappingBehaviorAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for theSnappingBehaviorto the given adapter map binder.- Parameters:
adapterMapBinder- An adapter map binder forIRootPart.
-
bindSnappingFeedbackPartFactoryAsContentViewerAdapter
protected void bindSnappingFeedbackPartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Binds theIFeedbackPartFactorythat is used to generate snapping feedback.- Parameters:
adapterMapBinder- TheMapBinderfor content viewer adapters.
-
bindSnappingModelAsContentViewerAdapter
protected void bindSnappingModelAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
- Parameters:
adapterMapBinder- TheMapBinderthat is used to register adapter bindings.
-
bindSnapToSupportAsContentViewerAdapter
protected void bindSnapToSupportAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
- Parameters:
adapterMapBinder- TheMapBinderthat is used to register adapter bindings.
-
bindTransformProviderAsAbstractContentPartAdapter
protected void bindTransformProviderAsAbstractContentPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding forTransformProviderto the adapter map binder forAbstractContentPart, using theITransformableContentPart.TRANSFORM_PROVIDER_KEY.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingAbstractContentPartas a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindTypeGesture
protected void bindTypeGesture()
BindsTypeStrokeGestureto theIDomainadaptable scope.
-
bindTypeGestureAsDomainAdapter
protected void bindTypeGestureAsDomainAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding forTypeStrokeGestureto the adapter map binder forIDomain.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingIDomainas a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
bindZoomOnPinchSpreadHandlerAsIRootPartAdapter
protected void bindZoomOnPinchSpreadHandlerAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding forZoomOnPinchSpreadHandlerto the adapter map binder forIRootPart.- Parameters:
adapterMapBinder- TheMapBinderto be used for the binding registration. In this case, will be obtained fromAdapterMaps.getAdapterMapBinder(Binder, Class)usingIRootPartas a key.- See Also:
AdapterMaps.getAdapterMapBinder(Binder, Class)
-
configure
protected void configure()
- Overrides:
configurein classAbstractModule
-
enableAdapterMapInjection
protected void enableAdapterMapInjection()
Installs anAdapterInjectionSupportmodule, which binds anAdaptableTypeListenerand ensures it gets properly injected.
-
-