public class MvcFxModule extends MvcModule<javafx.scene.Node>
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 and Description |
---|
MvcFxModule() |
Modifier and Type | Method and Description |
---|---|
protected void |
bindAbstractFXContentPartAdapters(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds (default)
AdapterMap bindings for
AbstractFXContentPart and all sub-classes. |
protected void |
bindAbstractFXFeedbackPartAdapters(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds (default)
AdapterMap bindings for
AbstractFXFeedbackPart and all sub-classes. |
protected void |
bindAbstractFXHandlePartAdapters(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds (default)
AdapterMap bindings for
AbstractFXHandlePart and all sub-classes. |
protected void |
bindContentBehaviorAsAbstractFXContentPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for
ContentBehavior , parameterized by Node
, to the AdapterMap binder for AbstractFXContentPart . |
protected void |
bindContentBehaviorAsFXRootPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for
ContentBehavior , parameterized by Node
, to the AdapterMap binder for FXRootPart . |
protected void |
bindContentPartPool()
|
protected void |
bindContentPolicyAsAbstractFXContentPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for
ContentPolicy , parameterized by Node ,
to the AdapterMap binder for AbstractFXContentPart . |
protected void |
bindCreationPolicyAsFXRootPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
|
protected void |
bindDeletionPolicyAsFXRootPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
|
protected void |
bindFocusAndSelectOnClickPolicyAsFXRootPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
|
protected void |
bindFocusModel()
|
protected void |
bindFocusModelAsFXViewerAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
|
protected void |
bindFocusTraversalPolicyAsFXRootPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
|
protected void |
bindFXChangeViewportPolicyAsFXRootPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
|
protected void |
bindFXClickDragTool()
Binds
FXClickDragTool to the FXDomain adaptable scope. |
protected void |
bindFXClickDragToolAsFXDomainAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
|
protected void |
bindFXDomainAdapters(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds (default)
AdapterMap bindings for FXDomain and all
sub-classes. |
protected void |
bindFXFocusBehaviorAsAbstractFXContentPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
|
protected void |
bindFXFocusBehaviorAsFXRootPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for the
FXFocusBehavior to the given adapter map
binder. |
protected void |
bindFXHoverOnHoverPolicyAsAbstractFXHandlePartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
|
protected void |
bindFXHoverOnHoverPolicyAsFXRootPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
|
protected void |
bindFXHoverTool()
Binds
FXHoverTool to the FXDomain adaptable scope. |
protected void |
bindFXHoverToolAsFXDomainAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
|
protected void |
bindFXMarqueeOnDragPolicyAsFXRootPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
|
protected void |
bindFXPanOnTypePolicyAsFXRootPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
|
protected void |
bindFXPanOrZoomOnScrollPolicyAsFXRootPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
|
protected void |
bindFXPinchSpreadTool()
Binds
FXPinchSpreadTool to the FXDomain adaptable scope. |
protected void |
bindFXPinchSpreadToolAsFXDomainAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
|
protected void |
bindFXRootPartAdapters(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds (default)
AdapterMap bindings for FXRootPart and all
sub-classes. |
protected void |
bindFXRotateTool()
Binds
FXRotateTool to the FXDomain adaptable scope. |
protected void |
bindFXRotateToolAsFXDomainAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
|
protected void |
bindFXScrollTool()
Binds
FXScrollTool to the FXDomain adaptable scope. |
protected void |
bindFXScrollToolAsFXDomainAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
|
protected void |
bindFXTransformProviderAsAbstractFXContentPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for
FXTransformProvider to the AdapterMap
binder for AbstractFXContentPart , using the
FXTransformPolicy.TRANSFORM_PROVIDER_KEY . |
protected void |
bindFXTypeTool()
Binds
FXTypeTool to the FXDomain adaptable scope. |
protected void |
bindFXTypeToolAsFXDomainAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
|
protected void |
bindFXViewerAdapters(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds (default)
AdapterMap bindings for FXViewer and all
sub-classes. |
protected void |
bindFXZoomOnPinchSpreadPolicyAsFXRootPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
|
protected void |
bindGridBehaviorAsFXRootPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
|
protected void |
bindHoverBehavior()
|
protected void |
bindHoverBehaviorAsAbstractFXContentPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for
HoverBehavior , parameterized by Node ,
to the AdapterMap binder for AbstractFXContentPart . |
protected void |
bindHoverBehaviorAsAbstractFXHandlePartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for
HoverBehavior , parameterized by Node ,
to the AdapterMap binder for AbstractFXHandlePart . |
protected void |
bindHoverModel()
|
protected void |
bindHoverModelAsFXViewerAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
|
protected void |
bindIDomain()
|
protected void |
bindIFeedbackPartFactories()
Binds
FXDefaultHoverFeedbackPartFactory (named
HoverBehavior.PART_FACTORIES_BINDING_NAME ) and
FXDefaultSelectionFeedbackPartFactory (named
SelectionBehavior.PART_FACTORIES_BINDING_NAME ) for
IFeedbackPartFactory , in adaptable scope of FXViewer . |
protected void |
bindIHandlePartFactories()
Binds
FXDefaultSelectionHandlePartFactory (named
SelectionBehavior.PART_FACTORIES_BINDING_NAME ) and
FXDefaultHoverHandlePartFactory (named
HoverBehavior.PART_FACTORIES_BINDING_NAME ) for
IHandlePartFactory , in adaptable scope of FXViewer . |
protected void |
bindIRootPart()
|
protected void |
bindIRootPartAsFXViewerAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
|
protected void |
bindITargetPolicyResolver()
|
protected void |
bindIViewer()
|
protected void |
bindIViewerAsFXDomainAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
|
protected void |
bindSelectionBehaviorAsAbstractFXContentPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for
SelectionBehavior , parameterized by
Node , to the AdapterMap binder for
AbstractFXContentPart . |
protected void |
bindSelectionBehaviorAsFXRootPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for
SelectionBehavior , parameterized by
Node , to the AdapterMap binder for FXRootPart . |
protected void |
bindSelectionModel()
|
protected void |
bindSelectionModelAsFXViewerAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
|
protected void |
configure() |
bindAbstractContentPartAdapters, bindAbstractDomainAdapters, bindAbstractFeedbackPartAdapters, bindAbstractHandlePartAdapters, bindAbstractRootPartAdapters, bindAbstractViewerAdapters, bindAbstractVisualPartAdapters, bindContentModel, bindContentModelAsAbstractViewerAdapter, bindGridModel, bindGridModelAsAbstractViewerAdapter, bindIOperationHistory, bindIUndoContext, enableAdapterMapInjection
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
protected void bindAbstractFXContentPartAdapters(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
AdapterMap
bindings for
AbstractFXContentPart
and all sub-classes. May be overwritten by
sub-classes to change the default bindings.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
AbstractFXContentPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindAbstractFXFeedbackPartAdapters(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
AdapterMap
bindings for
AbstractFXFeedbackPart
and all sub-classes. May be overwritten by
sub-classes to change the default bindings.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
AbstractFXFeedbackPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindAbstractFXHandlePartAdapters(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
AdapterMap
bindings for
AbstractFXHandlePart
and all sub-classes. May be overwritten by
sub-classes to change the default bindings.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
AbstractFXHandlePart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindContentBehaviorAsAbstractFXContentPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
ContentBehavior
, parameterized by Node
, to the AdapterMap
binder for AbstractFXContentPart
.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
AbstractFXContentPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindContentBehaviorAsFXRootPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
ContentBehavior
, parameterized by Node
, to the AdapterMap
binder for FXRootPart
.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
FXRootPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindContentPartPool()
protected void bindContentPolicyAsAbstractFXContentPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
ContentPolicy
, parameterized by Node
,
to the AdapterMap
binder for AbstractFXContentPart
.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
AbstractFXContentPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindCreationPolicyAsFXRootPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
AbstractRootPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindDeletionPolicyAsFXRootPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
AbstractRootPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindFocusAndSelectOnClickPolicyAsFXRootPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
FXRootPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindFocusModel()
protected void bindFocusModelAsFXViewerAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
FXViewer
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindFocusTraversalPolicyAsFXRootPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
AbstractRootPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindFXChangeViewportPolicyAsFXRootPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
FXRootPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindFXClickDragTool()
FXClickDragTool
to the FXDomain
adaptable scope.protected void bindFXClickDragToolAsFXDomainAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
FXDomain
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindFXDomainAdapters(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
AdapterMap
bindings for FXDomain
and all
sub-classes. May be overwritten by sub-classes to change the default
bindings.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
FXDomain
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindFXFocusBehaviorAsAbstractFXContentPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
AbstractFXContentPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindFXFocusBehaviorAsFXRootPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
FXFocusBehavior
to the given adapter map
binder.adapterMapBinder
- An adapter map binder for FXRootPart
.protected void bindFXHoverOnHoverPolicyAsAbstractFXHandlePartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
AbstractFXHandlePart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindFXHoverOnHoverPolicyAsFXRootPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
FXRootPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindFXHoverTool()
FXHoverTool
to the FXDomain
adaptable scope.protected void bindFXHoverToolAsFXDomainAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
FXDomain
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindFXMarqueeOnDragPolicyAsFXRootPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
FXRootPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindFXPanOnTypePolicyAsFXRootPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
FXRootPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindFXPanOrZoomOnScrollPolicyAsFXRootPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
FXRootPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindFXPinchSpreadTool()
FXPinchSpreadTool
to the FXDomain
adaptable scope.protected void bindFXPinchSpreadToolAsFXDomainAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
FXDomain
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindFXRootPartAdapters(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
AdapterMap
bindings for FXRootPart
and all
sub-classes. May be overwritten by sub-classes to change the default
bindings.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
FXRootPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindFXRotateTool()
FXRotateTool
to the FXDomain
adaptable scope.protected void bindFXRotateToolAsFXDomainAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
FXDomain
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindFXScrollTool()
FXScrollTool
to the FXDomain
adaptable scope.protected void bindFXScrollToolAsFXDomainAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
FXDomain
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindFXTransformProviderAsAbstractFXContentPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
FXTransformProvider
to the AdapterMap
binder for AbstractFXContentPart
, using the
FXTransformPolicy.TRANSFORM_PROVIDER_KEY
.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
AbstractFXContentPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindFXTypeTool()
FXTypeTool
to the FXDomain
adaptable scope.protected void bindFXTypeToolAsFXDomainAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
FXDomain
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindFXViewerAdapters(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
AdapterMap
bindings for FXViewer
and all
sub-classes. May be overwritten by sub-classes to change the default
bindings.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
FXViewer
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindFXZoomOnPinchSpreadPolicyAsFXRootPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
FXRootPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindGridBehaviorAsFXRootPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
FXRootPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindHoverBehavior()
protected void bindHoverBehaviorAsAbstractFXContentPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
HoverBehavior
, parameterized by Node
,
to the AdapterMap
binder for AbstractFXContentPart
.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
AbstractFXContentPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindHoverBehaviorAsAbstractFXHandlePartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
HoverBehavior
, parameterized by Node
,
to the AdapterMap
binder for AbstractFXHandlePart
.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
AbstractFXHandlePart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindHoverModel()
protected void bindHoverModelAsFXViewerAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
FXViewer
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindIDomain()
protected void bindIFeedbackPartFactories()
FXDefaultHoverFeedbackPartFactory
(named
HoverBehavior.PART_FACTORIES_BINDING_NAME
) and
FXDefaultSelectionFeedbackPartFactory
(named
SelectionBehavior.PART_FACTORIES_BINDING_NAME
) for
IFeedbackPartFactory
, in adaptable scope of FXViewer
.protected void bindIHandlePartFactories()
FXDefaultSelectionHandlePartFactory
(named
SelectionBehavior.PART_FACTORIES_BINDING_NAME
) and
FXDefaultHoverHandlePartFactory
(named
HoverBehavior.PART_FACTORIES_BINDING_NAME
) for
IHandlePartFactory
, in adaptable scope of FXViewer
.protected void bindIRootPart()
protected void bindIRootPartAsFXViewerAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
FXViewer
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindITargetPolicyResolver()
protected void bindIViewer()
protected void bindIViewerAsFXDomainAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
FXDomain
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindSelectionBehaviorAsAbstractFXContentPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
SelectionBehavior
, parameterized by
Node
, to the AdapterMap
binder for
AbstractFXContentPart
.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
FXRootPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindSelectionBehaviorAsFXRootPartAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
SelectionBehavior
, parameterized by
Node
, to the AdapterMap
binder for FXRootPart
.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
FXRootPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindSelectionModel()
protected void bindSelectionModelAsFXViewerAdapter(com.google.inject.multibindings.MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
FXViewer
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
Copyright (c) 2014 itemis AG and others. All rights reserved.