Class VFSFileChooserDialog

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class VFSFileChooserDialog extends EnhancedDialog
Wraps the VFS browser in a modal dialog. Shows up when "File-Open" is used.
Version:
$Id: VFSFileChooserDialog.java 24411 2016-06-19 11:02:53Z kerik-sf $
Author:
Slava Pestov
See Also:
  • Constructor Details

    • VFSFileChooserDialog

      public VFSFileChooserDialog(View view, String path, int mode, boolean multipleSelection)
    • VFSFileChooserDialog

      public VFSFileChooserDialog(View view, String path, int mode, boolean multipleSelection, boolean autoshow)
      Constructs a new VFSFileChooserDialog. If authoshow is true, the dialog will be show automatically and the call will only return after the user disposes of the dialog.
      Since:
      jEdit 4.3pre7
    • VFSFileChooserDialog

      public VFSFileChooserDialog(Dialog parent, View view, String path, int mode, boolean multipleSelection, boolean autoshow)
      Constructs a new VFSFileChooserDialog. This version can specify a dialog as the parent instead of the view.
      Since:
      jEdit 4.3pre10
    • VFSFileChooserDialog

      public VFSFileChooserDialog(Frame parent, View view, String path, int mode, boolean multipleSelection, boolean autoshow)
      Constructs a new VFSFileChooserDialog. This version can specify a Frame as the parent instead of the view.
      Since:
      jEdit 4.3pre10
  • Method Details

    • getBrowser

      public VFSBrowser getBrowser()
      Returns the VFSBrowser instance used internally.
      Returns:
      the VFS browser used in the dialog
      Since:
      jEdit 4.3pre7
    • dispose

      public void dispose()
      Overrides:
      dispose in class Window
    • ok

      public void ok()
      Specified by:
      ok in class EnhancedDialog
    • cancel

      public void cancel()
      Specified by:
      cancel in class EnhancedDialog
    • getSelectedFiles

      public String[] getSelectedFiles()