Browse Source

Merge pull request #7554 in DESIGN/design from release/10.0 to bugfix/10.0

* commit '29adad77a64cef6dda370e9c35c885cc2b80fbcc':
  无jira 打包失败
bugfix/10.0
superman 3 years ago
parent
commit
bdc4cc9d4b
  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