Class GTreeExpandAllTask


public class GTreeExpandAllTask extends GTreeTask
  • Constructor Details

    • GTreeExpandAllTask

      public GTreeExpandAllTask(GTree tree, GTreeNode node)
  • Method Details

    • run

      public void run(TaskMonitor monitor)
      Description copied from class: Job
      The method that gets called by the Worker when this job is selected to be run by the Worker.
      Specified by:
      run in class Job
      Parameters:
      monitor - the monitor
    • expandNode

      protected void expandNode(GTreeNode parent, boolean force, TaskMonitor monitor) throws CancelledException
      Expand the specified parent tree node.
      Parameters:
      parent - the tree node to be expanded
      force - if parent node has auto-expand disabled (see GTreeNode.isAutoExpandPermitted()) passing true will force such a node to expand, false will respect this restriction and not expand the parent node.
      monitor - task monitor
      Throws:
      CancelledException - if task cancelled