Object
org.eclipse.swt.widgets.Dialog
hdf.view.dialog.NewDataObjectDialog
hdf.view.dialog.NewDatatypeDialog
NewDatatypeDialog shows a message dialog requesting user input for creating a
new HDF5 datatype.
- Version:
- 2.4 1/1/2016
- Author:
- Jordan T. Henderson
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.eclipse.swt.widgets.Text
TextField for entering the name of the objectFields inherited from class hdf.view.dialog.NewDataObjectDialog
arrayLengthLabel, 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
ConstructorDescriptionNewDatatypeDialog(org.eclipse.swt.widgets.Shell parent, Group pGroup, List<?> objs)
Constructs a NewDatatypeDialog with specified list of possible parent groups. -
Method Summary
Modifier and TypeMethodDescriptionCreate the datatype specified by the settings.void
open()
Open the NewDatatypeDialog for adding a new datatype.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
-
nameField
TextField for entering the name of the object
-
-
Constructor Details
-
NewDatatypeDialog
Constructs a NewDatatypeDialog with specified list of possible parent groups.- Parameters:
parent
- the parent shell of the dialogpGroup
- the parent group which the new group is added to.objs
- the list of all objects.
-
-
Method Details
-
open
Open the NewDatatypeDialog for adding a new datatype. -
createNewDatatype
Create the datatype specified by the settings.- Returns:
- the new object created.
-