Changeset 603 for AE/installer2/src/net/oni2/aeinstaller/gui
- Timestamp:
- Jan 10, 2013, 5:25:51 PM (12 years ago)
- Location:
- AE/installer2/src/net/oni2/aeinstaller/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
AE/installer2/src/net/oni2/aeinstaller/gui/MainWin.java
r602 r603 71 71 private JLabel lblSubmitterVal; 72 72 private JLabel lblCreatorVal; 73 private JLabel lblFilesVal;74 73 private HTMLLinkLabel lblDescriptionVal; 75 74 … … 191 190 192 191 tblMods.setVisible(true); 193 DepotManager.getInstance().printStats();194 192 } catch (Exception e) { 195 193 e.printStackTrace(); … … 266 264 @DoInBackground(progressMessage = "mandatoryFiles.title", cancelable = false, indeterminateProgress = false) 267 265 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()); 266 //TODO 267 System.out.println("Mandatory Tools:"); 268 for (Mod m : ModManager.getInstance().getMandatoryTools()) { 269 System.out.format(" %05d %15s - Local: %b - Update: %b", m.getPackageNumber(), m.getName(), m.isLocalAvailable(), m.isNewerAvailable()); 271 270 } 272 271 System.out.println(); 273 272 274 System.out.println("Mandatory tools:");275 for (Mod m : ModManager.getInstance().getMandatory Tools()) {276 System.out.format(" %05d % s", m.getPackageNumber(), m.getName());273 System.out.println("Mandatory Mods:"); 274 for (Mod m : ModManager.getInstance().getMandatoryMods()) { 275 System.out.format(" %05d %15s - Local: %b - Update: %b", m.getPackageNumber(), m.getName(), m.isLocalAvailable(), m.isNewerAvailable()); 277 276 } 278 277 } … … 305 304 lblSubmitterVal.setText(""); 306 305 lblCreatorVal.setText(""); 307 lblFilesVal.setText("");308 306 lblDescriptionVal.setText(""); 309 307 if (m != null) { 310 308 lblSubmitterVal.setText(m.getName()); 311 309 lblCreatorVal.setText(m.getCreator()); 312 if (m.getNode() != null) {313 lblFilesVal.setText(Integer.toString(m.getNode().getUploads()314 .size()));315 }316 310 lblDescriptionVal.setText(m.getDescription()); 317 311 } -
AE/installer2/src/net/oni2/aeinstaller/gui/MainWin.yml
r602 r603 55 55 - JLabel(name=lblCreator, text=lblCreator.text) 56 56 - JLabel(name=lblCreatorVal) 57 - JLabel(name=lblFiles, text=lblFiles.text)58 - JLabel(name=lblFilesVal)59 57 - JLabel(name=lblDescription, text=lblDescription.text) 60 58 - JScrollPane(name=scrollDescription, vScrollBar=always, hScrollBar=asNeeded): … … 64 62 >lblSubmitter lblSubmitterVal [min] 65 63 >lblCreator lblCreatorVal [min] 66 >lblFiles lblFilesVal [min]67 64 >^lblDescription scrollDescription [grow] 68 65 - MigLayout:
Note:
See TracChangeset
for help on using the changeset viewer.