Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: minor spelling corrections

...

The application model for the quick start is simple: the script to be evauluated evaluated and the results of the evaluation.

...

The Griffon framework will inject referenes references to the other portions of the MVC triad if fields named model, view, and controller are present in the model or controller. This allows us to access the view widgets and the model data if needed

The executeScript method will be used in the view for the button acitonaction. Hence the ActionEvent parameter, and the default value so it can be called without an action event.

Finally, the Griffon framework can be configured to inject poritons portions of the builders it uses. By default, the Threading classes are injected into the controller, allowing the use of the edt, doOutside and doLater methods from the SwingBuilder.

...

The view script is a fairly straightforward SwingBuilder script. Griffon will execute these groovy scripts in context of it's UberBuilder (a composit composite of the SwingBuilder and whatever else is thrown in).

...

This will run the application as a Java application. You can also use the run-webstart target to run the applicaiton application from a WebStart/JNLP file.

The run-app script implies the execution of the package script. The package script creates file artifacts suitable for a Java applicaitonapplication, a WebStart applicaitonapplication, and an Applet, with code signed by a self-signed certificate. All from the same source tree. By default they go in the 'target' directory.

...