Object
org.eclipse.swt.widgets.Dialog
hdf.view.dialog.NewDataObjectDialog
- Direct Known Subclasses:
NewAttributeDialog,NewCompoundDatasetDialog,NewDatasetDialog,NewDatatypeDialog,NewGroupDialog,NewImageDialog
public class NewDataObjectDialog extends org.eclipse.swt.widgets.Dialog
NewDataDialog is an intermediate class for creating data types.
-
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.swt.widgets.LabelarrayLengthLabelprotected org.eclipse.swt.widgets.ButtoncheckUnsignedprotected org.eclipse.swt.widgets.ComboclassChoiceprotected org.eclipse.swt.graphics.FontcurFontprotected org.eclipse.swt.widgets.ComboendianChoiceprotected FileFormatfileFormatbooleanisEnumprotected booleanisH5booleanisVLenbooleanisVlenStrprotected org.eclipse.swt.widgets.TextlengthFieldTextField for entering the length of the data array or string.protected org.eclipse.swt.widgets.CombonamedChoiceThe Choice of the datatypesprotected List<Datatype>namedListprotected HObjectnewObjectthe object createdprotected List<?>objListprotected HObjectparentObjthe object which the this object is attachedprotected HObjectrefObjectthe object referencedprotected org.eclipse.swt.widgets.Shellshellprotected org.eclipse.swt.widgets.CombosizeChoiceStringstrEnumMapinttclassThe attributes of the datatypeinttorderinttsigninttsizeprotected org.eclipse.swt.widgets.ButtonuseCommittedTypeThe Choice of the object list -
Constructor Summary
Constructors Constructor Description NewDataObjectDialog(org.eclipse.swt.widgets.Shell parent, HObject pGroup, List<?> objs) -
Method Summary
Modifier and Type Method Description voidcreateDatatypeWidget()DatatypecreateNewDatatype(String name)HObjectgetObject()GroupgetParentGroup()Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setTextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
shell
-
curFont
-
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 Choice of the datatypes -
classChoice
-
sizeChoice
-
endianChoice
-
useCommittedType
The Choice of the object list -
checkUnsigned
-
objList
-
namedList
-
arrayLengthLabel
-
tclass
The attributes of the datatype -
tsize
-
torder
-
tsign
-
isEnum
-
strEnumMap
-
isVLen
-
isVlenStr
-
fileFormat
-
isH5
-
-
Constructor Details
-
NewDataObjectDialog
-
-
Method Details
-
createDatatypeWidget
-
createNewDatatype
-
getObject
- Returns:
- the new object created.
-
getParentGroup
- Returns:
- the parent group of the new dataset.
-