Changeset 857 for java/installer2/src/net/oni2/aeinstaller/gui/modtable
- Timestamp:
- May 3, 2013, 11:52:50 PM (12 years ago)
- Location:
- java/installer2/src/net/oni2/aeinstaller/gui/modtable
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
java/installer2/src/net/oni2/aeinstaller/gui/modtable/ModTable.java
r840 r857 338 338 } 339 339 340 if ( mod.getFile() != null) {340 if (!mod.isLocalOnly()) { 341 341 // Download package 342 342 JMenuItem downloadPackage = new JMenuItem( … … 370 370 @Override 371 371 public void actionPerformed(ActionEvent arg0) { 372 if (mod. getNode() == null) {372 if (mod.isLocalOnly()) { 373 373 JOptionPane.showMessageDialog( 374 374 null, -
java/installer2/src/net/oni2/aeinstaller/gui/modtable/ModTableModel.java
r840 r857 68 68 return res; 69 69 case 5: 70 if (mod.getNode() != null) 71 return sdf.format(new Date( 72 mod.getNode().getCreated() * 1000)); 70 if (mod.getCreatedMillis() > 0) 71 return sdf.format(new Date(mod.getCreatedMillis() * 1000)); 73 72 else 74 73 return null; 75 74 case 6: 76 if (mod.getFile() != null) 77 return sdf.format(new Date( 78 mod.getFile().getTimestamp() * 1000)); 75 if (mod.getUpdatedMillis() > 0) 76 return sdf.format(new Date(mod.getUpdatedMillis() * 1000)); 79 77 else 80 78 return null;
Note:
See TracChangeset
for help on using the changeset viewer.