Class MvcFxModule

java.lang.Object
com.google.inject.AbstractModule
org.eclipse.gef.mvc.fx.MvcFxModule
All Implemented Interfaces:
Module

public class MvcFxModule extends AbstractModule
The Guice module which contains all (default) bindings related to the MVC.FX bundle. It extends the MVC Guice module of the MVC bundle, which provides JavaFX-unrelated (default) bindings.

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