Class ProjectView

    • Constructor Detail

      • ProjectView

        public ProjectView​(EditorView view)
        Constructor.
        Parameters:
        view - editor view
    • Method Detail

      • save

        public void save​(IOFile file,
                         boolean rename,
                         boolean xquery,
                         boolean enforce)
        Refreshes the view after a file has been saved.
        Parameters:
        file - file to be opened
        rename - file has been renamed
        xquery - file is XQuery module
        enforce - enforce parsing of XQuery files
      • jumpTo

        public void jumpTo​(IOFile file,
                           boolean focus)
        Jumps to the specified file.
        Parameters:
        file - file to be focused (can be null)
        focus - focus tree
      • refreshLayout

        public void refreshLayout()
        Called when GUI design has changed.
      • findFiles

        public void findFiles​(EditorArea ea)
        Finds files with the text selected in the specified editor area.
        Parameters:
        ea - calling editor
      • focus

        public void focus()
        Focuses the project view.