Class JavaProjectTree

java.lang.Object
org.matwoess.jsourceprofiler.fxui.tree.JavaProjectTree

public class JavaProjectTree extends Object
This class is used to display the project directory as a tree view and interact with it. It provides the possibility to select the sources directory and the main file as parameters.
  • Constructor Details

    • JavaProjectTree

      public JavaProjectTree(AppState appState, TreeView<File> treeProjectDir)
      Creates a new JavaProjectTree.

      The tree will be automatically populated with the project directory contents. Directories not containing any ".java" files are filtered out, leaf notes are always ".java" files.

      Parameters:
      appState - the app state to update when selecting files
      treeProjectDir - the FxUI view to render the tree in