Browse Source

Merge pull request #7557 in DESIGN/design from feature/10.0 to feature/big-screen

* commit '08ae25b91f99d4fefafeeb60677c76a7281dca69':
  无jira 打包失败
feature/big-screen
superman 3 years ago
parent
commit
65c2583027
  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; 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) { public Builder currentDirectory(File currentDirectory) {
if (currentDirectory != null) { if (currentDirectory != null) {

Loading…
Cancel
Save