Package net.mcreator.ui.dialogs.file
Class FileDialogs
java.lang.Object
net.mcreator.ui.dialogs.file.FileDialogs
-
Field Summary
-
Constructor Summary
-
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 File
getOpenDialog
(Window f, String[] exp) static File
getSaveDialog
(Window f, String[] exp) static File
getSaveDialog
(Window f, String suggestedFileName, String[] exp) static File
getWorkspaceDirectorySelectDialog
(Window f, File file) protected static boolean
isWorkspaceFolderInvalid
(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
-