public class MvcFxModule extends AbstractModule
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 |
bindAbstractContentPartAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds (default) adapter map bindings for
AbstractContentPart and
all sub-classes. |
protected void |
bindAbstractFeedbackPartAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds (default) adapter map bindings for
AbstractFeedbackPart and
all sub-classes. |
protected void |
bindAbstractHandlePartAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds (default) adapter map bindings for
AbstractHandlePart and
all sub-classes. |
protected void |
bindAbstractVisualPartAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds (default) adapter map binding for
AbstractVisualPart and all
sub-classes. |
protected void |
bindChangeViewportPolicyAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for
ViewportPolicy to the adapter map binder for
IRootPart . |
protected void |
bindClickDragGesture()
Binds
ClickDragGesture to the IDomain adaptable scope. |
protected void |
bindClickDragGestureAsDomainAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for
ClickDragGesture to the adapter map binder for
IDomain . |
protected void |
bindConnectedSupportAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder) |
protected void |
bindContentBehaviorAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for
ContentBehavior , parameterized by Node
, to the adapter map binder for IRootPart . |
protected void |
bindContentIViewerAsIDomainAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
|
protected void |
bindContentPartPoolAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
|
protected void |
bindContentPolicyAsAbstractContentPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for
ContentPolicy , parameterized by Node ,
to the adapter map binder for AbstractContentPart . |
protected void |
bindCreationPolicyAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for
CreationPolicy to the adapter map binder for
IRootPart . |
protected void |
bindCursorSupportAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder) |
protected void |
bindDeletionPolicyAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for
DeletionPolicy to the adapter map binder for
IRootPart . |
protected void |
bindFocusAndSelectOnClickHandlerAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for
FocusAndSelectOnClickHandler to the adapter
map binder for IRootPart . |
protected void |
bindFocusBehaviorAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for the
FocusBehavior to the given adapter map
binder. |
protected void |
bindFocusFeedbackPartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Binds the
IFeedbackPartFactory that is used to generate focus
feedback. |
protected void |
bindFocusModelAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
|
protected void |
bindFocusTraversalPolicyAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for
FocusTraversalPolicy to the adapter map binder
for IRootPart . |
protected void |
bindGridBehaviorAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for
GridBehavior to the adapter map binder for
IRootPart . |
protected void |
bindGridModelAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
|
protected void |
bindHoverBehaviorAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
|
protected void |
bindHoverFeedbackPartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Binds the
IFeedbackPartFactory that is used to generate hover
feedback. |
protected void |
bindHoverGesture()
Binds
HoverGesture to the IDomain adaptable scope. |
protected void |
bindHoverGestureAsDomainAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for
HoverGesture to the adapter map binder for
IDomain . |
protected void |
bindHoverHandlePartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Binds the
IHandlePartFactory that is used to generate hover
handles. |
protected void |
bindHoverIntentBehaviorAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for
HoverIntentBehavior , parameterized by
Node , to the adapter map binder for IRootPart . |
protected void |
bindHoverModelAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
|
protected void |
bindHoverOnHoverHandlerAsAbstractHandlePartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for
HoverOnHoverHandler to the adapter map binder
for AbstractHandlePart . |
protected void |
bindHoverOnHoverHandlerAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for
HoverOnHoverHandler to the adapter map binder
for IRootPart . |
protected void |
bindIContentPartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Binds
IContentPartFactory as an adapter for the content viewer. |
protected void |
bindIDomain()
Binds
IDomain to a respective HistoricizingDomain
implementation. |
protected void |
bindIDomainAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds (default) adapter map bindings for
IDomain and all
sub-classes. |
protected void |
bindIHandlerResolver()
|
protected void |
bindIHandlerResolverAsIDomainAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Binds
DefaultHandlerResolver as a domain adapter. |
protected void |
bindIOperationHistory()
|
protected void |
bindIRootPart()
Binds the default implementation of
IRootPart . |
protected void |
bindIRootPartAdaptersForContentViewer(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds (default) adapter map bindings for "content"
IRootPart and
all sub-classes. |
protected void |
bindIUndoContext()
|
protected void |
bindIViewer()
Binds
IViewer to a respective InfiniteCanvasViewer
implementation. |
protected void |
bindIViewerAdaptersForContentViewer(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds (default) adapter map bindings for
IViewer and all
sub-classes. |
protected void |
bindMarqueeOnDragHandlerAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for
MarqueeOnDragHandler to the adapter map binder
for IRootPart . |
protected void |
bindPanningSupportAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder) |
protected void |
bindPanOnTypeHandlerAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for
PanOnStrokeHandler to the adapter map binder
for IRootPart . |
protected void |
bindPanOrZoomOnScrollHandlerAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for
PanOrZoomOnScrollHandler to the adapter map
binder for IRootPart . |
protected void |
bindPinchSpreadGesture()
Binds
PinchSpreadGesture to the IDomain adaptable scope. |
protected void |
bindPinchSpreadGestureAsIDomainAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for
PinchSpreadGesture to the adapter map binder
for IDomain . |
protected void |
bindRevealPrimarySelectionBehaviorAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for
RevealPrimarySelectionBehavior , parameterized
by Node , to the adapter map binder for IRootPart . |
protected void |
bindRootPartAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
|
protected void |
bindRotateGesture()
Binds
RotateGesture to the IDomain adaptable scope. |
protected void |
bindRotateGestureAsDomainAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for
RotateGesture to the adapter map binder for
IDomain . |
protected void |
bindScrollGesture()
Binds
ScrollGesture to the IDomain adaptable scope. |
protected void |
bindScrollGestureAsDomainAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for
ScrollGesture to the adapter map binder for
IDomain . |
protected void |
bindSelectionBehaviorAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for
SelectionBehavior , parameterized by
Node , to the adapter map binder for IRootPart . |
protected void |
bindSelectionFeedbackPartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Binds the
IFeedbackPartFactory that is used to generate selection
feedback. |
protected void |
bindSelectionHandlePartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Binds the
IHandlePartFactory that is used to generate selection
handles. |
protected void |
bindSelectionModelAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
|
protected void |
bindSnappingBehaviorAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for the
SnappingBehavior to the given adapter map
binder. |
protected void |
bindSnappingFeedbackPartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Binds the
IFeedbackPartFactory that is used to generate snapping
feedback. |
protected void |
bindSnappingModelAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder) |
protected void |
bindSnapToSupportAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder) |
protected void |
bindTransformProviderAsAbstractContentPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for
TransformProvider to the adapter map binder
for AbstractContentPart , using the
ITransformableContentPart.TRANSFORM_PROVIDER_KEY . |
protected void |
bindTypeGesture()
Binds
TypeStrokeGesture to the IDomain adaptable scope. |
protected void |
bindTypeGestureAsDomainAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for
TypeStrokeGesture to the adapter map binder
for IDomain . |
protected void |
bindZoomOnPinchSpreadHandlerAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
Adds a binding for
ZoomOnPinchSpreadHandler to the adapter map
binder for IRootPart . |
protected void |
configure() |
protected void |
enableAdapterMapInjection()
Installs an
AdapterInjectionSupport module, which binds an
AdaptableTypeListener and ensures it gets properly injected. |
addError, addError, addError, bind, bind, bind, bindConstant, binder, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBinding
protected void bindAbstractContentPartAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
AbstractContentPart
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
AbstractContentPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindAbstractFeedbackPartAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
AbstractFeedbackPart
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
AbstractFeedbackPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindAbstractHandlePartAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
AbstractHandlePart
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
AbstractHandlePart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindAbstractVisualPartAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
AbstractVisualPart
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
AbstractVisualPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindChangeViewportPolicyAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
ViewportPolicy
to the adapter map binder for
IRootPart
.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
IRootPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindClickDragGesture()
ClickDragGesture
to the IDomain
adaptable scope.protected void bindClickDragGestureAsDomainAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
ClickDragGesture
to the adapter map binder for
IDomain
.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
IDomain
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindContentBehaviorAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
ContentBehavior
, parameterized by Node
, to the adapter map binder for IRootPart
.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
IRootPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindContentIViewerAsIDomainAdapter(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
IDomain
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindContentPartPoolAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
adapterMapBinder
- The MapBinder
that is used to establish the binding.protected void bindContentPolicyAsAbstractContentPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
ContentPolicy
, parameterized by Node
,
to the adapter map binder for AbstractContentPart
.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
AbstractContentPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindCreationPolicyAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
CreationPolicy
to the adapter map binder for
IRootPart
.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
IRootPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindCursorSupportAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
adapterMapBinder
- The MapBinder
that is used to register adapter
bindings.protected void bindDeletionPolicyAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
DeletionPolicy
to the adapter map binder for
IRootPart
.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
IRootPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindFocusAndSelectOnClickHandlerAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
FocusAndSelectOnClickHandler
to the adapter
map binder for IRootPart
.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
IRootPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindFocusBehaviorAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
FocusBehavior
to the given adapter map
binder.adapterMapBinder
- An adapter map binder for IRootPart
.protected void bindFocusFeedbackPartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
IFeedbackPartFactory
that is used to generate focus
feedback.adapterMapBinder
- The MapBinder
for content viewer adapters.protected void bindFocusModelAsContentViewerAdapter(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
IViewer
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindFocusTraversalPolicyAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
FocusTraversalPolicy
to the adapter map binder
for IRootPart
.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
IRootPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindGridBehaviorAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
GridBehavior
to the adapter map binder for
IRootPart
.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
IRootPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindGridModelAsContentViewerAdapter(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
IViewer
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindHoverBehaviorAsIRootPartAdapter(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
IRootPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindHoverFeedbackPartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
IFeedbackPartFactory
that is used to generate hover
feedback.adapterMapBinder
- The MapBinder
for content viewer adapters.protected void bindHoverGesture()
HoverGesture
to the IDomain
adaptable scope.protected void bindHoverGestureAsDomainAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
HoverGesture
to the adapter map binder for
IDomain
.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
IDomain
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindHoverHandlePartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
IHandlePartFactory
that is used to generate hover
handles.adapterMapBinder
- The MapBinder
for content viewer adapters.protected void bindHoverIntentBehaviorAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
HoverIntentBehavior
, parameterized by
Node
, to the adapter map binder for IRootPart
.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
IRootPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindHoverModelAsContentViewerAdapter(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
IViewer
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindHoverOnHoverHandlerAsAbstractHandlePartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
HoverOnHoverHandler
to the adapter map binder
for AbstractHandlePart
.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
AbstractHandlePart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindHoverOnHoverHandlerAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
HoverOnHoverHandler
to the adapter map binder
for IRootPart
.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
IRootPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindIContentPartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
IContentPartFactory
as an adapter for the content viewer.adapterMapBinder
- The MapBinder
for the content viewer.protected void bindIDomain()
IDomain
to a respective HistoricizingDomain
implementation.protected void bindIDomainAdapters(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
IDomain
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
IDomain
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindIHandlerResolver()
protected void bindIHandlerResolverAsIDomainAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
DefaultHandlerResolver
as a domain adapter.adapterMapBinder
- The MapBinder
that is used to add the binding.protected void bindIOperationHistory()
protected void bindIRootPart()
IRootPart
.protected void bindIRootPartAdaptersForContentViewer(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
IRootPart
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
IRootPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindIUndoContext()
protected void bindIViewer()
IViewer
to a respective InfiniteCanvasViewer
implementation.protected void bindIViewerAdaptersForContentViewer(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
IViewer
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
IViewer
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindMarqueeOnDragHandlerAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
MarqueeOnDragHandler
to the adapter map binder
for IRootPart
.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
IRootPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindConnectedSupportAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
adapterMapBinder
- The MapBinder
that is used to register adapter
bindings.protected void bindPanningSupportAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
adapterMapBinder
- The MapBinder
that is used to register adapter
bindings.protected void bindPanOnTypeHandlerAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
PanOnStrokeHandler
to the adapter map binder
for IRootPart
.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
IRootPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindPanOrZoomOnScrollHandlerAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
PanOrZoomOnScrollHandler
to the adapter map
binder for IRootPart
.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
IRootPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindPinchSpreadGesture()
PinchSpreadGesture
to the IDomain
adaptable scope.protected void bindPinchSpreadGestureAsIDomainAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
PinchSpreadGesture
to the adapter map binder
for IDomain
.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
IDomain
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindRevealPrimarySelectionBehaviorAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
RevealPrimarySelectionBehavior
, parameterized
by Node
, to the adapter map binder for IRootPart
.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
IRootPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindRootPartAsContentViewerAdapter(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
IViewer
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindRotateGesture()
RotateGesture
to the IDomain
adaptable scope.protected void bindRotateGestureAsDomainAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
RotateGesture
to the adapter map binder for
IDomain
.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
IDomain
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindScrollGesture()
ScrollGesture
to the IDomain
adaptable scope.protected void bindScrollGestureAsDomainAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
ScrollGesture
to the adapter map binder for
IDomain
.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
IDomain
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindSelectionBehaviorAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
SelectionBehavior
, parameterized by
Node
, to the adapter map binder for IRootPart
.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
IRootPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindSelectionFeedbackPartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
IFeedbackPartFactory
that is used to generate selection
feedback.adapterMapBinder
- The MapBinder
for content viewer adapters.protected void bindSelectionHandlePartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
IHandlePartFactory
that is used to generate selection
handles.adapterMapBinder
- The MapBinder
for content viewer adapters.protected void bindSelectionModelAsContentViewerAdapter(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
IViewer
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindSnappingBehaviorAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
SnappingBehavior
to the given adapter map
binder.adapterMapBinder
- An adapter map binder for IRootPart
.protected void bindSnappingFeedbackPartFactoryAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
IFeedbackPartFactory
that is used to generate snapping
feedback.adapterMapBinder
- The MapBinder
for content viewer adapters.protected void bindSnappingModelAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
adapterMapBinder
- The MapBinder
that is used to register adapter
bindings.protected void bindSnapToSupportAsContentViewerAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
adapterMapBinder
- The MapBinder
that is used to register adapter
bindings.protected void bindTransformProviderAsAbstractContentPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
TransformProvider
to the adapter map binder
for AbstractContentPart
, using the
ITransformableContentPart.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
AbstractContentPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindTypeGesture()
TypeStrokeGesture
to the IDomain
adaptable scope.protected void bindTypeGestureAsDomainAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
TypeStrokeGesture
to the adapter map binder
for IDomain
.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
IDomain
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void bindZoomOnPinchSpreadHandlerAsIRootPartAdapter(MapBinder<AdapterKey<?>,java.lang.Object> adapterMapBinder)
ZoomOnPinchSpreadHandler
to the adapter map
binder for IRootPart
.adapterMapBinder
- The MapBinder
to be used for the binding registration.
In this case, will be obtained from
AdapterMaps.getAdapterMapBinder(Binder, Class)
using
IRootPart
as a key.AdapterMaps.getAdapterMapBinder(Binder, Class)
protected void configure()
configure
in class AbstractModule
protected void enableAdapterMapInjection()
AdapterInjectionSupport
module, which binds an
AdaptableTypeListener
and ensures it gets properly injected.Copyright (c) 2014, 2016 itemis AG and others. All rights reserved.