Class PdoBrowser

java.lang.Object
org.tentackle.fx.AbstractFxController
org.tentackle.maven.plugin.wizard.fx.PdoBrowser
All Implemented Interfaces:
org.tentackle.fx.FxController, org.tentackle.pdo.DomainContextProvider, org.tentackle.validate.ScopeConfigurator

@FxControllerService(resources="NONE") public class PdoBrowser extends org.tentackle.fx.AbstractFxController implements org.tentackle.pdo.DomainContextProvider
Dialog to browse PDOs and generate test code.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    org.tentackle.pdo.DomainContext
     
    void
    setContext(BrowseMojo mojo, org.tentackle.pdo.DomainContext context)
    Sets the context.
    static javafx.stage.Stage
    show(BrowseMojo mojo, org.tentackle.pdo.DomainContext context)
    Shows the modal dialog.

    Methods inherited from class org.tentackle.fx.AbstractFxController

    createBinder, getBinder, getContainer, getDefaultScopes, getFXMLFields, getFXMLMethods, getStage, getView, setView, validateInjections

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.tentackle.pdo.DomainContextProvider

    on, on, op, op
  • Constructor Details

    • PdoBrowser

      public PdoBrowser()
  • Method Details

    • show

      public static javafx.stage.Stage show(BrowseMojo mojo, org.tentackle.pdo.DomainContext context) throws org.apache.maven.plugin.MojoExecutionException
      Shows the modal dialog.
      Parameters:
      mojo - the browser mojo
      context - the domain context
      Throws:
      org.apache.maven.plugin.MojoExecutionException
    • configure

      public void configure()
      Specified by:
      configure in interface org.tentackle.fx.FxController
      Overrides:
      configure in class org.tentackle.fx.AbstractFxController
    • getDomainContext

      public org.tentackle.pdo.DomainContext getDomainContext()
      Specified by:
      getDomainContext in interface org.tentackle.pdo.DomainContextProvider
    • setContext

      public void setContext(BrowseMojo mojo, org.tentackle.pdo.DomainContext context) throws org.apache.maven.plugin.MojoExecutionException
      Sets the context.
      Parameters:
      mojo - the browser mojo
      context - the domain context
      Throws:
      org.apache.maven.plugin.MojoExecutionException - if loading the profiles failed