org.deegree.tools.crs.georeferencing.communication
Class FileChooser
java.lang.Object
org.deegree.tools.crs.georeferencing.communication.FileChooser
public class FileChooser
- extends Object
Provides a convenient procedure to build a fileChooser dialog.
- Version:
- $Revision: 28927 $, $Date: 2010-12-21 17:10:46 +0100 (Tue, 21 Dec 2010) $
- Author:
- Steffen Thomas, last edited by: $Author: aschmitz $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OPEN_KEY
public static final String OPEN_KEY
- See Also:
- Constant Field Values
SAVE_KEY
public static final String SAVE_KEY
- See Also:
- Constant Field Values
LAST_EXTENSION
public static final String LAST_EXTENSION
- See Also:
- Constant Field Values
FileChooser
public FileChooser(List<Pair<List<String>,String>> supportedFiles,
Component parent,
boolean open)
- Parameters:
supportedFiles
- an array with extensions and description.
getOpenPath
public String getOpenPath()
- Returns:
- the selected file path, could be
null
.
getSaveFile
public File getSaveFile()
- Returns:
- the selected file, could be
null
.
Copyright © 2011. All Rights Reserved.