Object
org.eclipse.swt.widgets.Dialog
hdf.view.dialog.NewDataObjectDialog
hdf.view.dialog.NewAttributeDialog
NewAttributeDialog displays components for adding a new attribute.
- Version:
- 2.4 1/7/2016
- Author:
- Jordan T. Henderson
-
Field Summary
Modifier and TypeFieldDescriptionstatic int
the default length of a string attributeFields inherited from class hdf.view.dialog.NewDataObjectDialog
checkUnsigned, classChoice, curFont, endianChoice, fileFormat, isEnum, isH5, isVLen, isVlenStr, lengthField, namedChoice, namedList, newObject, objList, parentObj, refObject, shell, sizeChoice, strEnumMap, tclass, torder, tsign, tsize, useCommittedType
-
Constructor Summary
ConstructorDescriptionNewAttributeDialog(org.eclipse.swt.widgets.Shell parent, HObject obj, List<HObject> objs)
Constructs a NewAttributeDialog with specified object (dataset, group, or image) for the new attribute to be attached to. -
Method Summary
Methods inherited from class hdf.view.dialog.NewDataObjectDialog
createDatatypeWidget, createNewDatatype, getObject, getParentGroup
Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
-
Field Details
-
DEFAULT_STRING_ATTRIBUTE_LENGTH
the default length of a string attribute- See Also:
- Constant Field Values
-
-
Constructor Details
-
NewAttributeDialog
Constructs a NewAttributeDialog with specified object (dataset, group, or image) for the new attribute to be attached to.- Parameters:
parent
- the parent shell of the dialogobj
- the object for the attribute to be attached to.objs
- the specified objects.
-
-
Method Details
-
open
-
getAttribute
- Returns:
- the new attribute created.
-