Changeset 602 for AE/installer2/src/net/oni2/aeinstaller/gui
- Timestamp:
- Jan 10, 2013, 4:39:53 PM (12 years ago)
- Location:
- AE/installer2/src/net/oni2/aeinstaller/gui
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
AE/installer2/src/net/oni2/aeinstaller/gui/MainWin.java
r600 r602 264 264 } 265 265 266 @DoInBackground(progressMessage = "mandatoryFiles.title", cancelable = false, indeterminateProgress = false) 267 private void checkMandatoryFiles(final BackgroundEvent evt) { 268 System.out.println("Tools:"); 269 for (Mod m : ModManager.getInstance().getTools()) { 270 System.out.format(" %05d %s", m.getPackageNumber(), m.getName()); 271 } 272 System.out.println(); 273 274 System.out.println("Mandatory tools:"); 275 for (Mod m : ModManager.getInstance().getMandatoryTools()) { 276 System.out.format(" %05d %s", m.getPackageNumber(), m.getName()); 277 } 278 } 279 266 280 @DoInBackground(progressMessage = "installing.title", cancelable = false, indeterminateProgress = false) 267 281 private void install(final BackgroundEvent evt) { 282 // TODO: Conflicts/Dependencies 283 268 284 TreeSet<Mod> mods = new TreeSet<Mod>(); 269 mods.addAll(ModManager.getInstance().get DefaultMods());285 mods.addAll(ModManager.getInstance().getMandatoryMods()); 270 286 mods.addAll(model.getSelectedMods()); 271 287 … … 284 300 } 285 301 }); 286 287 // TODO method stub288 JOptionPane.showMessageDialog(this, "install", "todo",289 JOptionPane.INFORMATION_MESSAGE);290 302 } 291 303 -
AE/installer2/src/net/oni2/aeinstaller/gui/MainWin.properties
r600 r602 46 46 initializingEdition.title=Initializing Edition core 47 47 installing.title=Installing mods 48 mandatoryFiles.title=Checking for mandatory files -
AE/installer2/src/net/oni2/aeinstaller/gui/MainWin.yml
r600 r602 6 6 locationRelativeTo: null 7 7 defaultCloseOperation: doNothingOnClose 8 onWindowOpened: [execDepotUpdate,check Updates,initialize,focus]8 onWindowOpened: [execDepotUpdate,checkMandatoryFiles,initialize,checkUpdates,focus] 9 9 onWindowClosing: [askClose,saveLocalData,exit] 10 10 iconImage: img.ae -
AE/installer2/src/net/oni2/aeinstaller/gui/modtable/ModTableFilter.java
r600 r602 26 26 Mod mod = (Mod) entry.getModel().getValueAt(entry.getIdentifier(), -1); 27 27 28 if (mod.is DefaultMod())28 if (mod.isMandatoryMod()) 29 29 return false; 30 30
Note:
See TracChangeset
for help on using the changeset viewer.