_userPreferences = userPreferences;
boolean openFileDialog = true;
String[] extensions = null;
FileProperty fileProperty = propertyDescriptor.getAnnotation(FileProperty.class);
if (fileProperty != null) {
openFileDialog = fileProperty.accessMode() == FileAccessMode.OPEN;
extensions = fileProperty.extension();
}
_filenameField = new FilenameTextField(_userPreferences.getConfiguredFileDirectory(), openFileDialog);
if (extensions != null && extensions.length > 0) {