Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The current packaging needs to be rethought.

Classes belonging to the App Framework are located in:

info.magnolia.ui.framework.app

  • interfaces for AppController, AppContext, SubAppContext
  • AbstractApp and AbstractSubApp implementations
  • launcherlayout: AppLauncher interfaces and classes
  • builder: Configuration by code for Apps and subApps
  • registry: AppDescriptor Definitions and registry

info.magnolia.ui.admincentral.app.simple

  • implementations of AppController, AppContext, SubAppContext

 

 

  • According to Concept - Alternative ui-project organisation
    • move the package info.magnolia.ui.admincentral.app.simple into module magnolia-ui-framework e.g. info.magnolia.ui.framework.app.api (NOTE: this contradicts decision made for shell apps, see further down)
    • or just out of the simple subpackage

See Concept - package reorganisation concretes

AppController

References

Abstract

...

The App controller that manages the lifecycle of running apps and raises callbacks to the app.
It provides methods to start, stop and focus already running {@link App}s.
Registers handlers to the following location change events triggered by the {@link LocationController}:

...