log = DataTypeSelectionDialog(tool, dtm, -1, AllowedDataTypes.FIXED_LENGTH)
    tool.showDialog(selectionDialog)
    dataType = selectionDialog.getUserChosenDataType()
    if dataType != None: print("Chosen data type: " + str(dataType))
    </PRE>
    
    <P>
    <TT>currentProgram</TT> and <TT>state</TT> are defined within the Ghidra scripting class 
    hierarchy, so nothing has to be explicitly imported before they can be used.  However, because 
    the <TT>DataTypeSelectionDialog</TT> class and <TT>Al