Class OpenViewSettingsDlgCommand
- java.lang.Object
-
- net.sf.jguiraffe.gui.cmd.CommandBase
-
- net.sf.jguiraffe.gui.app.OpenWindowCommand
-
- net.sf.jguiraffe.examples.tutorial.viewset.OpenViewSettingsDlgCommand
-
- All Implemented Interfaces:
ApplicationClient
,Command
public class OpenViewSettingsDlgCommand extends OpenWindowCommand
A specialized command class for opening the dialog with the view settings.
The major part of the work is done by the super class
OpenWindowCommand
. This class ensures that all required helper object (e.g. models for lists) are passed to the builder.- Version:
- $Id: OpenViewSettingsDlgCommand.java 205 2012-01-29 18:29:57Z oheger $
- Author:
- Oliver Heger
-
-
Constructor Summary
Constructors Constructor Description OpenViewSettingsDlgCommand()
Creates a new instance ofOpenViewSettingsDlgCmd
and initializes the super class with the locator of the script to be processed.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
prepareBuilderData(ApplicationBuilderData builderData)
Prepares theApplicationBuilderData
object before the builder is called.-
Methods inherited from class net.sf.jguiraffe.gui.app.OpenWindowCommand
execute, getApplication, getLocator, performGUIUpdate, setApplication
-
Methods inherited from class net.sf.jguiraffe.gui.cmd.CommandBase
getException, getGUIUpdater, getLog, isUpdateGUI, onException, onFinally, setException
-
-
-
-
Method Detail
-
prepareBuilderData
protected void prepareBuilderData(ApplicationBuilderData builderData)
Prepares theApplicationBuilderData
object before the builder is called. This implementation creates model objects required by elements in the builder script and adds them to the builder data as additional properties. Especially, theViewSettings
object to be edited is fetched from the application context and passed to the builder data.- Overrides:
prepareBuilderData
in classOpenWindowCommand
- Parameters:
builderData
- theApplicationBuilderData
object
-
-