Object
org.eclipse.swt.widgets.Dialog
hdf.view.dialog.NewDataObjectDialog
- Direct Known Subclasses:
NewCompoundAttributeDialog,NewCompoundDatasetDialog,NewDatasetDialog,NewDatatypeDialog,NewGroupDialog,NewImageDialog,NewScalarAttributeDialog,NewStringAttributeDialog
NewDataDialog is an intermediate class for creating data types.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.eclipse.swt.widgets.LabelThe length label for the objectprotected org.eclipse.swt.widgets.ButtonThe unsigned data button for the objectprotected org.eclipse.swt.widgets.ComboThe class combobox for the objectprotected org.eclipse.swt.graphics.Fontthe current fontprotected org.eclipse.swt.widgets.ComboThe endianess combobox for the objectprotected FileFormatThe file format associated with this objectbooleanIf the object is an enum objectprotected booleanIf the object should be attached to a hdf5 objectbooleanIf the object is a variable length data objectbooleanIf the object is a variable length stringprotected org.eclipse.swt.widgets.TextTextField for entering the length of the data array or string.protected org.eclipse.swt.widgets.ComboThe named datatype combobox for the objectThe list of datatypes for the objectprotected HObjectthe object createdprotected List<?>The list of objects for the objectprotected HObjectthe object which the this object is attachedprotected HObjectthe object referencedprotected org.eclipse.swt.widgets.Shellthe visual shell for the dialogprotected org.eclipse.swt.widgets.ComboThe size combobox for the objectThe enum mapping for the objectintThe default class for the objectintThe default byte order for the objectintThe default sign for the objectintThe default size for the objectprotected org.eclipse.swt.widgets.ButtonThe committed datatype button for the object -
Constructor Summary
ConstructorsConstructorDescriptionNewDataObjectDialog(org.eclipse.swt.widgets.Shell parent, HObject pGroup, List<?> objs) The NewDataObjectDialog constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidthe new dataset properties to be created.createNewDatatype(String name) Create the datatype according to the settings.Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
-
Field Details
-
shell
the visual shell for the dialog -
curFont
the current font -
parentObj
the object which the this object is attached -
refObject
the object referenced -
newObject
the object created -
lengthField
TextField for entering the length of the data array or string. -
namedChoice
The named datatype combobox for the object -
classChoice
The class combobox for the object -
sizeChoice
The size combobox for the object -
endianChoice
The endianess combobox for the object -
useCommittedType
The committed datatype button for the object -
checkUnsigned
The unsigned data button for the object -
objList
The list of objects for the object -
namedList
The list of datatypes for the object -
arrayLengthLabel
The length label for the object -
tclass
The default class for the object -
tsize
The default size for the object -
torder
The default byte order for the object -
tsign
The default sign for the object -
isEnum
If the object is an enum object -
strEnumMap
The enum mapping for the object -
isVLen
If the object is a variable length data object -
isVlenStr
If the object is a variable length string -
fileFormat
The file format associated with this object -
isH5
If the object should be attached to a hdf5 object
-
-
Constructor Details
-
NewDataObjectDialog
The NewDataObjectDialog constructor.- Parameters:
parent- the dialog parent shellpGroup- the dialog parent group objectobjs- the list of objects
-
-
Method Details
-
createDatatypeWidget
the new dataset properties to be created. -
createNewDatatype
Create the datatype according to the settings.- Parameters:
name- the datatype name- Returns:
- the new object created.
-
getObject
- Returns:
- the new object created.
-
getParentGroup
- Returns:
- the parent group of the new dataset.
-