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 |
bindContentBehaviorPartPool()
|
protected void |
bindFocusModel()
|
protected void |
bindFXClickDragTool()
Binds
FXClickDragTool to the FXDomain adaptable scope. |
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 |
bindFXFocusTool()
Binds
FXFocusTool to the FXDomain adaptable scope. |
protected void |
bindFXHoverTool()
Binds
FXHoverTool to the FXDomain adaptable scope. |
protected void |
bindFXPinchSpreadTool()
Binds
FXPinchSpreadTool to the FXDomain adaptable scope. |
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 |
bindFXScrollTool()
Binds
FXScrollTool to the FXDomain adaptable scope. |
protected void |
bindFXTypeTool()
Binds
FXTypeTool to the FXDomain adaptable scope. |
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 |
bindHoverBehavior()
|
protected void |
bindHoverModel()
|
protected void |
bindIDomain()
|
protected void |
bindIFeedbackPartFactory()
Binds
FXDefaultFeedbackPartFactory to
IFeedbackPartFactory, parameterized by Node, in adaptable
scope of FXViewer. |
protected void |
bindIHandlePartFactory()
Binds
FXDefaultHandlePartFactory to IHandlePartFactory,
parameterized by Node, in adaptable scope of FXViewer. |
protected void |
bindIRootPart()
|
protected void |
bindIViewer()
|
protected void |
bindSelectionModel()
|
protected void |
configure() |
bindAbstractContentPartAdapters, bindAbstractDomainAdapters, bindAbstractFeedbackPartAdapters, bindAbstractHandlePartAdapters, bindAbstractRootPartAdapters, bindAbstractViewerAdapters, bindAbstractVisualPartAdapters, bindContentModel, bindGridModel, bindIOperationHistory, bindIUndoContext, bindViewportModel, enableAdapterMapInjectionaddError, addError, addError, bind, bind, bind, bindConstant, binder, bindListener, bindScope, configure, convertToTypes, currentStage, getMembersInjector, getMembersInjector, getProvider, getProvider, install, requestInjection, requestStaticInjection, requireBinding, requireBindingprotected 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 bindContentBehaviorPartPool()
protected void bindFocusModel()
protected void bindFXClickDragTool()
FXClickDragTool to the FXDomain adaptable scope.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 bindFXFocusTool()
FXFocusTool to the FXDomain adaptable scope.protected void bindFXHoverTool()
FXHoverTool to the FXDomain adaptable scope.protected void bindFXPinchSpreadTool()
FXPinchSpreadTool to the FXDomain adaptable scope.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 bindFXScrollTool()
FXScrollTool to the FXDomain adaptable scope.protected void bindFXTypeTool()
FXTypeTool to the FXDomain adaptable scope.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 bindHoverBehavior()
protected void bindHoverModel()
protected void bindIDomain()
protected void bindIFeedbackPartFactory()
FXDefaultFeedbackPartFactory to
IFeedbackPartFactory, parameterized by Node, in adaptable
scope of FXViewer.protected void bindIHandlePartFactory()
FXDefaultHandlePartFactory to IHandlePartFactory,
parameterized by Node, in adaptable scope of FXViewer.protected void bindIRootPart()
protected void bindIViewer()
protected void bindSelectionModel()
Copyright (c) 2014 itemis AG and others. All rights reserved.