Ignore:
Timestamp:
Jan 23, 2013, 12:43:13 PM (12 years ago)
Author:
alloc
Message:

AEI2 0.99c:

  • Download window: Show which file is currently being downloaded and if it is an automaticly resolved dependency
  • Added mandatory packages dialog
  • Added option to show automatic resolved dependencies after installation is done instead of interrupting installation process to ask whether to continue
  • ToolManager: version number + last change added
  • Correct output of download-size in mainwin after installation of mods done
File:
1 edited

Legend:

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

    r638 r646  
    3030        private HashSet<DownloadSizeListener> listeners = new HashSet<DownloadSizeListener>();
    3131
     32        private SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
     33
    3234        /**
    3335         * Create a new model
     
    5860                                return res;
    5961                        case 5:
    60                                 SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
    6162                                if (mod.getFile() != null)
    6263                                        return sdf.format(new Date(
     
    177178                        install.add(i, items.get(i).isInstalled());
    178179                }
     180                notifyDownloadSize(0);
    179181                fireTableDataChanged();
    180182        }
     
    220222        public boolean isCellEditable(int rowIndex, int columnIndex) {
    221223                return columnIndex == 0;
     224        }
     225       
     226        private void notifyDownloadSize(int size) {
     227                for (DownloadSizeListener dsl : listeners)
     228                        dsl.downloadSizeChanged(size);
    222229        }
    223230
     
    236243                                }
    237244                        }
    238                         for (DownloadSizeListener dsl : listeners)
    239                                 dsl.downloadSizeChanged(size);
     245                        notifyDownloadSize(size);
    240246                }
    241247        }
Note: See TracChangeset for help on using the changeset viewer.