Package net.mcreator.ui.dialogs.file
Class FileDialogs
java.lang.Object
net.mcreator.ui.dialogs.file.FileDialogs
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic File[]getFileChooserDialog(Window f, FileChooserType type, boolean multiSelect, String suggestedFileName, javafx.stage.FileChooser.ExtensionFilter... filters) static File[]getMultiOpenDialog(Window f, String[] exp) static FilegetOpenDialog(Window f, String[] exp) static FilegetSaveDialog(Window f, String[] exp) static FilegetSaveDialog(Window f, String suggestedFileName, String[] exp) static FilegetWorkspaceDirectorySelectDialog(Window f, File file) protected static booleanisWorkspaceFolderInvalid(Window parent, File selectedFile)
-
Field Details
-
prevDir
-
-
Constructor Details
-
FileDialogs
public FileDialogs()
-
-
Method Details
-
getOpenDialog
-
getMultiOpenDialog
-
getSaveDialog
-
getSaveDialog
-
getFileChooserDialog
public static File[] getFileChooserDialog(Window f, FileChooserType type, boolean multiSelect, @Nullable String suggestedFileName, javafx.stage.FileChooser.ExtensionFilter... filters) -
getWorkspaceDirectorySelectDialog
-
isWorkspaceFolderInvalid
-