Object
hdf.view.MetaDataView.DefaultBaseMetaDataView
- All Implemented Interfaces:
- DataView,- MetaDataView
- Direct Known Subclasses:
- DefaultLinkMetaDataView
DefaultBaseMetaDataView is a default implementation of the MetaDataView which
 is used to show data properties of an object. Data properties include
 attributes and general object information such as the object type, data type
 and data space.
 This base class is responsible for displaying an object's general information
 and attributes, since these are not object-specific. Subclasses of this class
 are responsible for displaying any extra object-specific content by
 overriding the addObjectSpecificContent() method.
- Version:
- 1.0 4/20/2018
- Author:
- Jordan T. Henderson
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected org.eclipse.swt.widgets.Compositeprotected org.eclipse.swt.widgets.TabFolderprotected org.eclipse.swt.graphics.Fontprotected HObjectThe HDF data objectprotected org.eclipse.swt.widgets.Displayprotected org.eclipse.swt.widgets.Compositeprotected booleanprotected booleanprotected booleanprotected DataViewManagerFields inherited from interface hdf.view.DataView.DataViewDATAVIEW_IMAGE, DATAVIEW_TABLE, DATAVIEW_UNKNOWN
- 
Constructor SummaryConstructorsConstructorDescriptionDefaultBaseMetaDataView(org.eclipse.swt.widgets.Composite parentComposite, DataViewManager viewer, HObject theObj)
- 
Method SummaryModifier and TypeMethodDescriptionaddAttribute(HObject obj)Add an attribute to a data object.protected abstract voiddeleteAttribute(HObject obj)Delete an attribute from a data object.
- 
Field Details- 
display
- 
viewManager
- 
contentTabFolder
- 
attributeInfoPane
- 
generalObjectInfoPane
- 
curFont
- 
dataObjectThe HDF data object
- 
isH5
- 
isH4
- 
isN3
 
- 
- 
Constructor Details- 
DefaultBaseMetaDataViewpublic DefaultBaseMetaDataView(org.eclipse.swt.widgets.Composite parentComposite, DataViewManager viewer, HObject theObj)
 
- 
- 
Method Details- 
addObjectSpecificContent
- 
getDataObject- Specified by:
- getDataObjectin interface- DataView
- Returns:
- the data object displayed in this data viewer
 
- 
addAttributeDescription copied from interface:MetaDataViewAdd an attribute to a data object.- Specified by:
- addAttributein interface- MetaDataView
- Parameters:
- obj- the attribute to add
- Returns:
- the Attribute object
 
- 
deleteAttributeDescription copied from interface:MetaDataViewDelete an attribute from a data object.- Specified by:
- deleteAttributein interface- MetaDataView
- Parameters:
- obj- the attribute to delte
- Returns:
- the Attribute object
 
 
-