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
public class MvcFxUiModule extends AbstractModule
TheMvcFxUiModule
contains Eclipse UI specific bindings in the context of an MVC.FX application.
-
-
Constructor Summary
Constructors Constructor Description MvcFxUiModule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
bindFXCanvasFactory()
Binds anIFXCanvasFactory
that can be used to create anFXCanvas
.protected void
bindIDirtyStateProviderFactory()
Binds a factory for the creation ofHistoryBasedDirtyStateProvider
asIDirtyStateProvider
.protected void
bindIOperationHistory()
BindsIOperationHistory
to the operation history of the Eclipse workbench.protected void
bindIPropertySheetPageFactory()
Binds a factory for assisted injection ofUndoablePropertySheetPage
asIPropertySheetPage
.protected void
bindISelectionProviderFactory()
Binds a factory for the creation ofContentSelectionProvider
asISelectionProvider
.protected void
configure()
-
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
-
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
-
-