Ignore:
Timestamp:
Feb 1, 2013, 10:38:03 AM (12 years ago)
Author:
alloc
Message:

AEI2 0.99l:

  • Added verification question before rebuilding core data
Location:
AE/installer2/src/net/oni2/aeinstaller/gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • AE/installer2/src/net/oni2/aeinstaller/gui/MainWin.java

    r660 r661  
    401401        }
    402402
     403        @SuppressWarnings("unused")
     404        private boolean reglobalizeVerify() {
     405                int res = JOptionPane.showConfirmDialog(this,
     406                                bundle.getString("rebuildCore.text"),
     407                                bundle.getString("rebuildCore.title"),
     408                                JOptionPane.YES_NO_OPTION, JOptionPane.QUESTION_MESSAGE);
     409                return res == JOptionPane.YES_OPTION;
     410        }
     411
    403412        @DoInBackground(progressMessage = "initializingEdition.title", cancelable = false, indeterminateProgress = false)
    404413        private void reglobalize(final BackgroundEvent evt) {
  • AE/installer2/src/net/oni2/aeinstaller/gui/MainWin.yml

    r660 r661  
    1818    - Action(name=loadConfig, text=menu.loadConfig, toolTipText=menu.loadConfigTooltip, icon=img.openFile, onAction=[loadConfig])
    1919    - Action(name=saveConfig, text=menu.saveConfig, toolTipText=menu.saveConfigTooltip, icon=img.saveFile, onAction=[saveConfig])
    20     - Action(name=reglobalize, text=menu.reglobalize, toolTipText=menu.reglobalizeTooltip, icon=img.refresh, onAction=[reglobalize])
     20    - Action(name=reglobalize, text=menu.reglobalize, toolTipText=menu.reglobalizeTooltip, icon=img.refresh, onAction=[reglobalizeVerify,reglobalize])
    2121    - Action(name=tools, text=menu.manageTools, toolTipText=menu.manageToolsTooltip, icon=img.tools, onAction=[tools,refreshToolsMenu])
    2222    - Action(name=update, text=menu.update, toolTipText=menu.updateTooltip, icon=img.update, onAction=[checkUpdates,doUpdate])
Note: See TracChangeset for help on using the changeset viewer.