Module org.hdfgroup.hdfview
Package hdf.view.TreeView

# Class DefaultTreeViewFactory

Object
hdf.view.DataView.DataViewFactory
hdf.view.TreeView.TreeViewFactory
hdf.view.TreeView.DefaultTreeViewFactory

public class DefaultTreeViewFactory extends TreeViewFactory
A simple Factory class which returns concrete instances of the default TreeView.

Version:
  1.0 4/18/2018
Author:
  jhenderson

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DefaultTreeViewFactory()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `TreeView`
  `getTreeView(org.eclipse.swt.widgets.Composite parent, DataViewManager viewer)`
  Get an instance of TreeView given the appropriate constructor parameters

  ### Methods inherited from class hdf.view.TreeView.TreeViewFactory

  `getImageView, getMetaDataView, getPaletteView, getTableView`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### DefaultTreeViewFactory

    public DefaultTreeViewFactory()

- ## Method Details

  - ### getTreeView

    public TreeView getTreeView(org.eclipse.swt.widgets.Composite parent, DataViewManager viewer) throws ClassNotFoundException
    Description copied from class: `DataViewFactory`
    Get an instance of TreeView given the appropriate constructor parameters
    Specified by:
      `getTreeView` in class `DataViewFactory`
    Parameters:
      `parent` - The parent composite for the tree view
      `viewer` - The data view manager
    Returns:
      the tree view.
    Throws:
      `ClassNotFoundException` - If there is an error getting the class for a tree view.