Browse Source

Merge pull request #7553 in DESIGN/design from final/10.0 to release/10.0

* commit 'bf2fd8aede98f7e4a1c1740bf3a73bf004152c0a':
  无jira 打包失败
security/10.0
superman 3 years ago
parent
commit
29adad77a6
  1. 6
      designer-base/src/main/java/com/fr/design/gui/ifilechooser/JavaFxNativeFileChooser.java

6
designer-base/src/main/java/com/fr/design/gui/ifilechooser/JavaFxNativeFileChooser.java

@ -226,6 +226,12 @@ public class JavaFxNativeFileChooser implements FileChooserProvider {
return this;
}
public Builder filter(String des, String... extensions) {
if (extensions != null) {
this.filters = new FileChooser.ExtensionFilter[]{new FileChooser.ExtensionFilter(des, extensions)};
}
return this;
}
public Builder currentDirectory(File currentDirectory) {
if (currentDirectory != null) {

Loading…
Cancel
Save