fr.ifremer.coser.ui.option
Class ConfigurationHandler

java.lang.Object
  extended by fr.ifremer.coser.ui.common.CommonHandler
      extended by fr.ifremer.coser.ui.option.ConfigurationHandler

public class ConfigurationHandler
extends CommonHandler

Handler for ConfigurationView.

Version:
$Revision: 900 $ Last update : $Date: 2011-11-17 15:22:37 +0100 (Thu, 17 Nov 2011) $ By : $Author: echatellier $
Author:
chatellier

Field Summary
 
Fields inherited from class fr.ifremer.coser.ui.common.CommonHandler
fileChooserInstance
 
Constructor Summary
ConfigurationHandler()
           
 
Method Summary
 void saveConfiguration(ConfigurationView configurationView)
          Save configuration.
 void selectInputDirectory(ConfigurationView configurationView, JTextField textComponent)
          Display user directory selection dialog and fill given text component with given file.
 void selectInputFile(ConfigurationView configurationView, JTextField textComponent)
          Display user file selection dialog and fill given text component with given file.
 
Methods inherited from class fr.ifremer.coser.ui.common.CommonHandler
browseFile, getFileChooserInstance, setDefaultCursor, setWaitCursor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationHandler

public ConfigurationHandler()
Method Detail

selectInputDirectory

public void selectInputDirectory(ConfigurationView configurationView,
                                 JTextField textComponent)
Display user directory selection dialog and fill given text component with given file.

Parameters:
configurationView - config view
textComponent - text component to fill

selectInputFile

public void selectInputFile(ConfigurationView configurationView,
                            JTextField textComponent)
Display user file selection dialog and fill given text component with given file.

Parameters:
configurationView - config view
textComponent - text component to fill

saveConfiguration

public void saveConfiguration(ConfigurationView configurationView)
Save configuration.

Parameters:
configurationView -


Copyright © 2010-2012 Ifremer. All Rights Reserved.