Changeset 3142 for trunk/simexplorer-ide/simexplorer-ide-ant/org.openmole.ui/src/org/openmole/ui/commons/ApplicationCustomize.java
- Timestamp:
- 03/04/10 12:19:02 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/simexplorer-ide/simexplorer-ide-ant/org.openmole.ui/src/org/openmole/ui/commons/ApplicationCustomize.java
r3127 r3142 57 57 public static final Image IMAGE_OUTPUT_SLOT = ImageUtilities.loadImage("resources/outputSlot.png"); 58 58 59 public ApplicationCustomize() { 60 setDefaultColors(); 61 } 59 62 60 public ApplicationCustomize(Preferences prefs) {61 loadFromPreferences(prefs);62 }63 63 64 64 private void loadFromPreferences(Preferences prefs) { … … 86 86 } 87 87 88 public static ApplicationCustomize getInstance( Preferences prefs) {88 public static ApplicationCustomize getInstance() { 89 89 if (instance == null) { 90 instance = new ApplicationCustomize( prefs);90 instance = new ApplicationCustomize(); 91 91 } 92 92 return instance;





