Ignore:
Timestamp:
Jan 16, 2013, 5:12:24 PM (12 years ago)
Author:
alloc
Message:

AEI2 0.85:

  • Added intro/outro copy and settings
  • Added tool manager dialog (empty for now)
  • AEI uses jar-path as working location again. Only uses workingdirectory if run with -debug now
Location:
AE/installer2/src/net/oni2/aeinstaller/gui
Files:
2 added
4 edited

Legend:

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

    r624 r625  
    6565import net.oni2.aeinstaller.gui.modtable.ModTableModel;
    6666import net.oni2.aeinstaller.gui.settings.SettingsDialog;
     67import net.oni2.aeinstaller.gui.toolmanager.ToolManager;
    6768
    6869import org.javabuilders.BuildResult;
     
    428429        @SuppressWarnings("unused")
    429430        private void tools() {
    430                 // TODO: Open tools manager
    431                 JOptionPane.showMessageDialog(this, "tools", "todo",
    432                                 JOptionPane.INFORMATION_MESSAGE);
     431                new ToolManager().setVisible(true);
    433432        }
    434433
  • AE/installer2/src/net/oni2/aeinstaller/gui/settings/SettingsDialog.java

    r609 r625  
    3434
    3535        private JCheckBox chkNotifyOnStart;
     36        private JCheckBox chkCopyIntro;
     37        private JCheckBox chkCopyOutro;
    3638
    3739        /**
     
    4042        public SettingsDialog() {
    4143                setResizable(false);
    42 //              setMinimumSize(new Dimension(320, (int) getSize().getHeight() + 0));
    4344
    4445                AbstractAction closeAction = new AbstractAction() {
     
    6768
    6869                chkNotifyOnStart.setSelected(set.get("notifyupdates", true));
     70                chkCopyIntro.setSelected(set.get("copyintro", false));
     71                chkCopyOutro.setSelected(set.get("copyoutro", true));
    6972        }
    7073
     
    7376                Settings set = Settings.getInstance();
    7477
    75                 set.get("notifyupdates", chkNotifyOnStart.isSelected());
     78                set.put("notifyupdates", chkNotifyOnStart.isSelected());
     79                set.put("copyintro", chkCopyIntro.isSelected());
     80                set.put("copyoutro", chkCopyOutro.isSelected());
    7681
    7782                String oldLaf = set.get("lookandfeel", UIManager.getLookAndFeel()
  • AE/installer2/src/net/oni2/aeinstaller/gui/settings/SettingsDialog.properties

    r608 r625  
    88panCommon=Common settings
    99lblNotifyOnStart=Notify about updates on startup:
     10lblCopyIntro=Enable starting video on installation:
     11lblCopyOutro=Enable ending video on installation:
    1012
    1113newLaF.text=A new GUI theme was selected.\nPlease restart the application in order to apply the changes.
  • AE/installer2/src/net/oni2/aeinstaller/gui/settings/SettingsDialog.yml

    r608 r625  
    1313      - JLabel(name=lblNotifyOnStart, text=lblNotifyOnStart)
    1414      - JCheckBox(name=chkNotifyOnStart)
     15      - JLabel(name=lblCopyIntro, text=lblCopyIntro)
     16      - JCheckBox(name=chkCopyIntro)
     17      - JLabel(name=lblCopyOutro, text=lblCopyOutro)
     18      - JCheckBox(name=chkCopyOutro)
    1519      - MigLayout: |
    1620           [min]                [grow]
    1721           >lblNotifyOnStart    chkNotifyOnStart         [pref]
     22           >lblCopyIntro        chkCopyIntro             [pref]
     23           >lblCopyOutro        chkCopyOutro             [pref]
    1824    - JPanel(name=panUI, groupTitle=panUI):
    1925      - JLabel(name=lblLaF, text=lblLaF)
Note: See TracChangeset for help on using the changeset viewer.