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

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


    private void updatePreview() {
        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 {
View Full Code Here


        RegionalSettings regionalSettings = getConfiguration();

        Locale locale = getSelectedLocale();
        regionalSettings.setLocale(locale);

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

        DBNumberFormat numberFormat = getSelectedNumberFormat();
        regionalSettings.setNumberFormatOption(numberFormat);
       
View Full Code Here

            regionalSettings.getCustomDateFormat().resetChanges(customDateFormatTextField);
            regionalSettings.getCustomTimeFormat().resetChanges(customTimeFormatTextField);
            regionalSettings.getCustomNumberFormat().resetChanges(customNumberFormatTextField);
        }

        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();
View Full Code Here

TOP

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

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.