public class BrowseOption extends InputOption
Browse option
The user can either copy/paste a filename or select it using the browse dialog.Label: [TextField] [Browse...]| Constructor and Description | 
|---|
BrowseOption(ILabel label,
            String outputProperty,
            String browseLabel,
            String browseDialogTitle,
            String[] extensions)
Create an option with a text field and a browse button. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
emptyFileIsValid(boolean valid)  | 
void | 
fileMustExist(boolean exist)  | 
String | 
getSelection()
Return the absolute filename 
 | 
void | 
setInitialValue(String initialValue)  | 
addOptionChangedListener, getConfigurationAttributeName, getErrorMessage, getOutputProperty, getProperty, setOptionValidatorisEnabled, setDescription, setEnableConditionpublic BrowseOption(ILabel label, String outputProperty, String browseLabel, String browseDialogTitle, String[] extensions)
label - Label optionoutputProperty - browseLabel - extensions - if != null, list of file extensions allowed see FileDialog#setFilterExtensions(String[]) (otherwise browse a directory)