Ignore:
Timestamp:
Mar 21, 2013, 12:33:53 PM (12 years ago)
Author:
alloc
Message:

AEI2: Looooots of refactorings for breaking out independent features into libraries

File:
1 edited

Legend:

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

    r708 r720  
    1212import javax.swing.KeyStroke;
    1313
     14import net.oni2.SettingsManager;
    1415import net.oni2.aeinstaller.backend.packages.Package;
    1516import net.oni2.aeinstaller.gui.modtable.ModSelectionListener;
     
    1718import net.oni2.aeinstaller.gui.modtable.ModTable.ETableContentType;
    1819import net.oni2.aeinstaller.gui.packageinfobox.PackageInfoBox;
    19 import net.oni2.settingsmanager.Settings;
    2020
    2121import org.javabuilders.BuildResult;
     
    6060                getRootPane().getActionMap().put("close", closeAction);
    6161
    62                 contents.setDividerLocation(Settings.getInstance().get("win_core_divloc", 550));
     62                contents.setDividerLocation(SettingsManager.getInstance().get("win_core_divloc", 550));
    6363                contents.setResizeWeight(0.4);
    6464
     
    6969                tblTools.addModSelectionListener(this);
    7070
    71                 setSize(Settings.getInstance().get("win_core_width", 950), Settings.getInstance().get("win_core_height", 600));
     71                setSize(SettingsManager.getInstance().get("win_core_width", 950), SettingsManager.getInstance().get("win_core_height", 600));
    7272                setLocationRelativeTo(null);
    7373        }
     
    8080        @SuppressWarnings("unused")
    8181        private void closing() {
    82                 Settings.getInstance().put("win_core_divloc", contents.getDividerLocation());
    83                 Settings.getInstance().put("win_core_width", getWidth());
    84                 Settings.getInstance().put("win_core_height", getHeight());
     82                SettingsManager.getInstance().put("win_core_divloc", contents.getDividerLocation());
     83                SettingsManager.getInstance().put("win_core_width", getWidth());
     84                SettingsManager.getInstance().put("win_core_height", getHeight());
    8585        }
    8686}
Note: See TracChangeset for help on using the changeset viewer.