if (str == null)
if (str == null || !((JavaNumberFormatSpecifier) formatspecifier).eIsSet(AttributePackage.eINSTANCE .getJavaNumberFormatSpecifier_Multiplier()))
    private void populateLists()    {        this.bEnableEvents = false;        cmbDataType.add("Date/Time");        cmbDataType.add("Number");        if (formatspecifier instanceof DateFormatSpecifier || formatspecifier instanceof JavaDateFormatSpecifier)        {            cmbDataType.select(0);            if (formatspecifier instanceof DateFormatSpecifier)            {                btnStandard.setSelection(true);            }            else if (formatspecifier instanceof JavaDateFormatSpecifier)            {                btnAdvanced.setSelection(true);            }            else            {                btnUndefined.setSelection(true);            }            slStandardDetails.topControl = this.cmpStandardDateDetails;            slAdvancedDetails.topControl = this.cmpAdvancedDateDetails;        }        else        {            cmbDataType.select(1);            if (formatspecifier instanceof NumberFormatSpecifier)            {                btnStandard.setSelection(true);            }            else if (formatspecifier instanceof JavaNumberFormatSpecifier)            {                btnAdvanced.setSelection(true);            }            else            {                btnUndefined.setSelection(true);            }            slStandardDetails.topControl = this.cmpStandardNumberDetails;            slAdvancedDetails.topControl = this.cmpAdvancedNumberDetails;        }        updateUIState();        // Populate Date Types        Object[] oArrDT = DateFormatType.VALUES.toArray();        for (int iDT = 0; iDT < oArrDT.length; iDT++)        {            cmbDateType.add(((DateFormatType) oArrDT[iDT]).getName());            if (formatspecifier instanceof DateFormatSpecifier                && ((DateFormatSpecifier) formatspecifier).getType().equals(oArrDT[iDT]))            {                cmbDateType.select(iDT);            }        }        // Populate Date Details        Object[] oArrDD = DateFormatDetail.VALUES.toArray();        for (int iDD = 0; iDD < oArrDD.length; iDD++)        {            cmbDateForm.add(((DateFormatDetail) oArrDD[iDD]).getName());            if (formatspecifier instanceof DateFormatSpecifier                && ((DateFormatSpecifier) formatspecifier).getDetail().equals(oArrDD[iDD]))            {                cmbDateForm.select(iDD);            }        }        String str = "";        if (formatspecifier instanceof JavaDateFormatSpecifier)        {            str = ((JavaDateFormatSpecifier) formatspecifier).getPattern();            if (str == null)            {                str = "";            }            txtDatePattern.setText(str);        }        if (formatspecifier instanceof NumberFormatSpecifier)        {            str = ((NumberFormatSpecifier) formatspecifier).getPrefix();            if (str == null)            {                str = "";            }            txtPrefix.setText(str);            str = ((NumberFormatSpecifier) formatspecifier).getSuffix();            if (str == null)            {                str = "";            }            txtSuffix.setText(str);            str = String.valueOf(((NumberFormatSpecifier) formatspecifier).getMultiplier());            if (str == null                || !((NumberFormatSpecifier) formatspecifier).eIsSet(AttributePackage.eINSTANCE                    .getNumberFormatSpecifier_Multiplier()))            {                str = "";            }            txtMultiplier.setText(str);            iscFractionDigits.setValue(((NumberFormatSpecifier) formatspecifier).getFractionDigits());        }        if (formatspecifier instanceof JavaNumberFormatSpecifier)        {            str = String.valueOf(((JavaNumberFormatSpecifier) formatspecifier).getMultiplier());            if (str == null)            {                str = "";            }            txtAdvMultiplier.setText(str);            str = ((JavaNumberFormatSpecifier) formatspecifier).getPattern();            if (str == null)            {                str = "";            }            txtNumberPattern.setText(str);        }        this.layout();        this.bEnableEvents = true;    }