Package com.dci.intellij.dbn.common.locale

Examples of com.dci.intellij.dbn.common.locale.DBNumberFormat


        if (isUpdating) return;
        isUpdating = true;
        try {
            Locale locale = getSelectedLocale();
            DBDateFormat dateFormat = getSelectedDateFormat();
            DBNumberFormat numberFormat = getSelectedNumberFormat();
            boolean customSettings = customPatternsRadioButton.isSelected();
            Formatter formatter = null;
            if (customSettings) {
                try {
                    formatter = new Formatter(
View Full Code Here


        regionalSettings.setLocale(locale);

        DBDateFormat dateFormat = getSelectedDateFormat();
        regionalSettings.setDateFormatOption(dateFormat);

        DBNumberFormat numberFormat = getSelectedNumberFormat();
        regionalSettings.setNumberFormatOption(numberFormat);
       
        regionalSettings.getUseCustomFormats().applyChanges(customPatternsRadioButton);
        regionalSettings.getCustomDateFormat().applyChanges(customDateFormatTextField);
        regionalSettings.getCustomTimeFormat().applyChanges(customTimeFormatTextField);
View Full Code Here

        DBDateFormat dateFormat = regionalSettings.getDateFormatOption();
        if (dateFormat == DBDateFormat.SHORT) shortRadioButton.setSelected(true); else
        if (dateFormat == DBDateFormat.MEDIUM) mediumRadioButton.setSelected(true); else
        if (dateFormat == DBDateFormat.LONG) longRadioButton.setSelected(true);

        DBNumberFormat numberFormat = regionalSettings.getNumberFormatOption();
        if (numberFormat == DBNumberFormat.GROUPED) groupedRadioButton.setSelected(true); else
        if (numberFormat == DBNumberFormat.UNGROUPED) ungroupedRadioButton.setSelected(true);
       
       
    }
View Full Code Here

TOP

Related Classes of com.dci.intellij.dbn.common.locale.DBNumberFormat

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.