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
Modifier and TypeFieldDescriptionprotected org.eclipse.swt.widgets.Label
The length label for the objectprotected org.eclipse.swt.widgets.Button
The unsigned data button for the objectprotected org.eclipse.swt.widgets.Combo
The class combobox for the objectprotected org.eclipse.swt.graphics.Font
the current fontprotected org.eclipse.swt.widgets.Combo
The endianess combobox for the objectprotected FileFormat
The file format associated with this objectboolean
If the object is an enum objectprotected boolean
If the object should be attached to a hdf5 objectboolean
If the object is a variable length data objectboolean
If the object is a variable length stringprotected org.eclipse.swt.widgets.Text
TextField for entering the length of the data array or string.protected org.eclipse.swt.widgets.Combo
The named datatype combobox for the objectThe list of datatypes for the objectprotected HObject
the object createdprotected List
<?> The list of objects for the objectprotected HObject
the object which the this object is attachedprotected HObject
the object referencedprotected org.eclipse.swt.widgets.Shell
the visual shell for the dialogprotected org.eclipse.swt.widgets.Combo
The size combobox for the objectThe enum mapping for the objectint
The default class for the objectint
The default byte order for the objectint
The default sign for the objectint
The default size for the objectprotected org.eclipse.swt.widgets.Button
The committed datatype button for the object -
Constructor Summary
ConstructorDescriptionNewDataObjectDialog
(org.eclipse.swt.widgets.Shell parent, HObject pGroup, List<?> objs) The NewDataObjectDialog constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
the new dataset properties to be created.createNewDatatype
(String name) Create the datatype according to the settings.Get the new object created.Get the parent group of the new dataset.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
-
refObject
-
newObject
-
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
-
namedList
-
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
-
getParentGroup
Get the parent group of the new dataset.- Returns:
- the parent group of the new dataset.
-