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 -
Method Summary
Modifier and TypeMethodDescriptionvoidorg.tentackle.pdo.DomainContextvoidsetContext(BrowseMojo mojo, org.tentackle.pdo.DomainContext context) Sets the context.static javafx.stage.Stageshow(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, validateInjectionsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 mojocontext- the domain context- Throws:
org.apache.maven.plugin.MojoExecutionException
-
configure
public void configure()- Specified by:
configurein interfaceorg.tentackle.fx.FxController- Overrides:
configurein classorg.tentackle.fx.AbstractFxController
-
getDomainContext
public org.tentackle.pdo.DomainContext getDomainContext()- Specified by:
getDomainContextin interfaceorg.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 mojocontext- the domain context- Throws:
org.apache.maven.plugin.MojoExecutionException- if loading the profiles failed
-