Class ProjectView

All Implemented Interfaces:
ComponentListener, KeyListener, MouseListener, MouseMotionListener, MouseWheelListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public final class ProjectView extends BaseXPanel
Project file tree.
Author:
BaseX Team 2005-21, BSD License, Christian Gruen
See Also:
  • Constructor Details

    • ProjectView

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

    • save

      public void save(IOFile file, boolean rename, boolean xquery, boolean library)
      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
      library - XQuery module is a library
    • errors

      public TreeMap<String,InputInfo> errors()
      Returns the list of erroneous files.
      Returns:
      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.