Class FileDialogs

java.lang.Object
net.mcreator.ui.dialogs.file.FileDialogs

public class FileDialogs extends Object
  • Field Details

    • prevDir

      protected static File prevDir
  • Constructor Details

    • FileDialogs

      public FileDialogs()
  • Method Details

    • getOpenDialog

      public static File getOpenDialog(Window f, String[] exp)
    • getMultiOpenDialog

      public static File[] getMultiOpenDialog(Window f, String[] exp)
    • getSaveDialog

      public static File getSaveDialog(Window f, String[] exp)
    • getSaveDialog

      public static File getSaveDialog(Window f, @Nullable String suggestedFileName, String[] exp)
    • getFileChooserDialog

      public static File[] getFileChooserDialog(Window f, FileChooserType type, boolean multiSelect, @Nullable String suggestedFileName, javafx.stage.FileChooser.ExtensionFilter... filters)
    • getWorkspaceDirectorySelectDialog

      public static File getWorkspaceDirectorySelectDialog(Window f, File file)
    • isWorkspaceFolderInvalid

      protected static boolean isWorkspaceFolderInvalid(Window parent, File selectedFile)