Class FileSystemContributor


  • public abstract class FileSystemContributor
    extends Object
    The abstract base class for all UI file system contributors. This class provides the infrastructure for defining a contributor and fulfills the contract specified by the org.eclipse.ui.ide.filesystemSupport extension point.
    Since:
    3.2
    See Also:
    IFileSystem
    • Constructor Detail

      • FileSystemContributor

        public FileSystemContributor()
    • Method Detail

      • browseFileSystem

        public abstract URI browseFileSystem​(String initialPath,
                                             Shell shell)
        Browse the file system for a URI to display to the user.
        Parameters:
        initialPath - The path to initialize the selection with.
        shell - The shell to parent any required dialogs from
        Returns:
        URI if the file system is browsed successfully or null if a URI could not be determined.
      • getURI

        public URI getURI​(String string)
        Return a URI for the supplied String from the user.
        Parameters:
        string -
        Returns:
        URI or null if the string is invalid.