Package penny.downloadmanager.view.settings

Examples of penny.downloadmanager.view.settings.EditFileFormat


            if (option == JFileChooser.APPROVE_OPTION) {
                model.getAppSettingsCopy().getSavingModel().setSaveFolder(chooser.getSelectedFile().toString());
            }
        } else if(e.getActionCommand().equals(COM_TEMPFORMATEDIT)) {
            model.setNameType(SettingsDialogModel.TYPE_TEMP);
            EditFileFormat edit = new EditFileFormat(model);
            edit.registerController(this);
            edit.setVisible(true);
        } else if(e.getActionCommand().equals(COM_SAVEFORMATEDIT)) {
            model.setNameType(SettingsDialogModel.TYPE_SAVE);
            EditFileFormat edit = new EditFileFormat(model);
            edit.registerController(this);
            edit.setVisible(true);
        } else if(e.getActionCommand().equals(COM_OK)) {
            model.getAppSettings().copy(model.getAppSettingsCopy());
            Model.getSettingsSaver().save();
            model.setVisible(false);
        } else if(e.getActionCommand().equals(COM_CANCEL)) {
View Full Code Here

TOP

Related Classes of penny.downloadmanager.view.settings.EditFileFormat

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.