Class DataTree

All Implemented Interfaces:
BusyListener, ImageObserver, MenuContainer, Serializable, Accessible

public class DataTree extends GTree
Tree that shows the folders and domain files in a Project
See Also:
  • Method Details

    • isAddToPopup

      protected boolean isAddToPopup(DockingAction action)
      Description copied from class: GTree
      A method that subclasses can override to decide if the given action should appear in the popup menu. Most subclasses will not need to override this method. An example for overriding this method is one of the subclasses that have their own version of one of the built-in actions, such as Expand All. Some clients have a custom expand action. In that case, the client wants their action in the menu and not the built-in version.
      Overrides:
      isAddToPopup in class GTree
      Parameters:
      action - the action
      Returns:
      true to have the action appear in the popup; the default is true
    • clearSelection

      public void clearSelection()
    • getSelectionCount

      public int getSelectionCount()
    • getLastSelectedPathComponent

      public GTreeNode getLastSelectedPathComponent()
    • removeSelectionPath

      public void removeSelectionPath(TreePath path)
    • stopEditing

      public void stopEditing()
      Overrides:
      stopEditing in class GTree