Object
org.eclipse.swt.widgets.Dialog
hdf.view.dialog.NewDataObjectDialog
hdf.view.dialog.NewDatasetDialog
NewDatasetDialog shows a message dialog requesting user input for creating a
new HDF4/5 dataset.
- Version:
- 2.4 12/31/2015
- 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
ConstructorDescriptionNewDatasetDialog
(org.eclipse.swt.widgets.Shell parent, Group pGroup, List<?> objs) Constructs a NewDatasetDialog with specified list of possible parent groups.NewDatasetDialog
(org.eclipse.swt.widgets.Shell parent, Group pGroup, List<?> objs, DataView observer) Constructs a NewDatasetDialog with specified list of possible parent groups. -
Method Summary
Modifier and TypeMethodDescriptionvoid
open()
Open the NewDataseteDialog for adding a new dataset.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
-
NewDatasetDialog
Constructs a NewDatasetDialog 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.
-
NewDatasetDialog
public NewDatasetDialog(org.eclipse.swt.widgets.Shell parent, Group pGroup, List<?> objs, DataView observer) Constructs a NewDatasetDialog 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.observer
- the Dataview attached to this dialog.
-
-
Method Details
-
open
Open the NewDataseteDialog for adding a new dataset.
-