public class CreateViewSettingsCommand extends CommandBase
A command class for storing view settings for a given directory.
A command of this type is executed when the user clicks Save in the
dialog with view settings. The command class stores the current
ViewSettings
instance and triggers the refresh action.
Constructor and Description |
---|
CreateViewSettingsCommand(ApplicationContext appctx,
ViewSettings vs,
FormAction actRefresh) |
Modifier and Type | Method and Description |
---|---|
void |
execute()
Executes this command.
|
protected void |
performGUIUpdate()
Updates the UI after a successful execution of this command.
|
getException, getGUIUpdater, getLog, isUpdateGUI, onException, onFinally, setException
public CreateViewSettingsCommand(ApplicationContext appctx, ViewSettings vs, FormAction actRefresh)
public void execute() throws Exception
ViewSettings
object in
the associated directory.Exception
- if an error occursprotected void performGUIUpdate()
performGUIUpdate
in class CommandBase
Copyright © 2016 The JGUIraffe Team. All rights reserved.