Package org.eclipse.gef.mvc.fx.ui
Class MvcFxUiModule
java.lang.Object
com.google.inject.AbstractModule
org.eclipse.gef.mvc.fx.ui.MvcFxUiModule
- All Implemented Interfaces:
Module
The
MvcFxUiModule
contains Eclipse UI specific bindings in the
context of an MVC.FX application.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Binds anIFXCanvasFactory
that can be used to create anFXCanvas
.protected void
Binds a factory for the creation ofHistoryBasedDirtyStateProvider
asIDirtyStateProvider
.protected void
BindsIOperationHistory
to the operation history of the Eclipse workbench.protected void
Binds a factory for assisted injection ofUndoablePropertySheetPage
asIPropertySheetPage
.protected void
Binds a factory for the creation ofContentSelectionProvider
asISelectionProvider
.protected void
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, requestInjection, requestStaticInjection, requireBinding, requireBinding
-
Constructor Details
-
MvcFxUiModule
public MvcFxUiModule()
-
-
Method Details
-
bindFXCanvasFactory
protected void bindFXCanvasFactory()Binds anIFXCanvasFactory
that can be used to create anFXCanvas
. -
bindIDirtyStateProviderFactory
protected void bindIDirtyStateProviderFactory()Binds a factory for the creation ofHistoryBasedDirtyStateProvider
asIDirtyStateProvider
. -
bindIOperationHistory
protected void bindIOperationHistory()BindsIOperationHistory
to the operation history of the Eclipse workbench. -
bindIPropertySheetPageFactory
protected void bindIPropertySheetPageFactory()Binds a factory for assisted injection ofUndoablePropertySheetPage
asIPropertySheetPage
. -
bindISelectionProviderFactory
protected void bindISelectionProviderFactory()Binds a factory for the creation ofContentSelectionProvider
asISelectionProvider
. -
configure
protected void configure()- Overrides:
configure
in classAbstractModule
-