Class ApplicationFramework

java.lang.Object
rs.edu.raf.dsw.rudok.app.core.ApplicationFramework
Direct Known Subclasses:
AppCore

public abstract class ApplicationFramework
extends Object
The "glue" together between all components.
  • Field Details

  • Constructor Details

    • ApplicationFramework

      public ApplicationFramework()
  • Method Details

    • initialize

      public void initialize​(IConstants iConstants, IMessageGenerator iMessageGenerator, IConfigHandler iConfigHandler, IGui iGui, ProjectExplorer projectExplorer, IFileSystem iFileSystem, ILogger iLogger)
      Initializes the app.
      Parameters:
      iConstants - Environment/app constants.
      iMessageGenerator - Message generator implementation instance.
      iConfigHandler - Config handler implementation instance.
      iGui - Gui handler implementation instance.
      projectExplorer - Repository implementation instance.
      iFileSystem - FileSystem implementation instance.
      iLogger - Logger implementation instance.
    • run

      public void run()
      Runs the application.
    • getConstants

      public IConstants getConstants()
    • getMessageGenerator

      public IMessageGenerator getMessageGenerator()
    • getConfigHandler

      public IConfigHandler getConfigHandler()
    • getGui

      public IGui getGui()
    • getProjectExplorer

      public ProjectExplorer getProjectExplorer()
    • getFileSystem

      public IFileSystem getFileSystem()
    • getLogger

      public ILogger getLogger()