Package cli_fmw.main.config

Examples of cli_fmw.main.config.DialogRestore


            @Override
            public void actionPerformed(ActionEvent arg0) {
                GUIConfig config = UserInfoAbstract.get().getGuiConfig();
                boolean confirm = config.getBoolean(GUIConfig.P_CONFIRM_UNDO);
                if (confirm){
                    DialogRestore dr = new DialogRestore(mainWindow, getAuditManager());
                    dr.setVisible(true);
                    if (dr.getDlgResult() == ModalDialog.DLG_OK){
                        Persistentable persistent = (Persistentable) getActivePage();
                        persistent.restore();
                    }
                    if (!dr.needConfirm()){
                        config.setValue(GUIConfig.P_CONFIRM_UNDO, false);
                        try {
                            UserInfoAbstract.get().getCollaboratorLocal().saveGuiConfig(config);
                        } catch (ClipsException ex) {
                            MessageBox.showException(new ClipsException("Не удалось сохранить конфигурацию интерфейса", ex));
View Full Code Here

TOP

Related Classes of cli_fmw.main.config.DialogRestore

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.