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

# Class DefaultMetaDataViewFactory

Object
hdf.view.DataView.DataViewFactory
hdf.view.MetaDataView.MetaDataViewFactory
hdf.view.MetaDataView.DefaultMetaDataViewFactory

public class DefaultMetaDataViewFactory extends MetaDataViewFactory
A simple Factory class which returns concrete instances of the default MetaDataView, based on whether the data object is a Group, Dataset, Datatype or other form of object.

Version:
  1.0 4/18/2018
Author:
  jhenderson

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DefaultMetaDataViewFactory()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `MetaDataView`
  `getMetaDataView(org.eclipse.swt.widgets.Composite parentObj, DataViewManager viewer, HObject theObj)`
  Get an instance of MetaDataView given the appropriate constructor parameters

  ### Methods inherited from class hdf.view.MetaDataView.MetaDataViewFactory

  `getImageView, getPaletteView, getTableView, getTreeView`

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

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

- ## Constructor Details

  - ### DefaultMetaDataViewFactory

    public DefaultMetaDataViewFactory()

- ## Method Details

  - ### getMetaDataView

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