Changeset 655 for trunk/src/org/expeditee/gui/FrameIO.java
- Timestamp:
- 01/07/14 10:59:52 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/gui/FrameIO.java
r614 r655 215 215 } else { 216 216 217 for (String path : UserSettings.FrameDirs ) {217 for (String path : UserSettings.FrameDirs.get()) { 218 218 loaded = LoadKnowPath(path, framename); 219 219 if (loaded != null) { … … 243 243 StringBuffer list = new StringBuffer(); 244 244 245 for (String path : UserSettings.FrameDirs ) {245 for (String path : UserSettings.FrameDirs.get()) { 246 246 File files = new File(path); 247 247 if (!files.exists()) … … 305 305 } 306 306 307 for (String path : UserSettings.FrameDirs ) {307 for (String path : UserSettings.FrameDirs.get()) { 308 308 if (getFrameFullPathName(path, frameName) != null) 309 309 return true; … … 316 316 String fullPath = null; 317 317 if (path == null) { 318 for (String possiblePath : UserSettings.FrameDirs ) {318 for (String possiblePath : UserSettings.FrameDirs.get()) { 319 319 fullPath = getFrameFullPathName(possiblePath, frameName); 320 320 if (fullPath != null) … … 666 666 + template.getName() + " from TDFC"); 667 667 668 template.setOwner(UserSettings.UserName );668 template.setOwner(UserSettings.UserName.get()); 669 669 template.reset(); 670 670 template.resetDateCreated(); … … 1242 1242 public static Boolean canAccessFrameset(String framesetName) { 1243 1243 framesetName = framesetName.toLowerCase(); 1244 for (String path : UserSettings.FrameDirs ) {1244 for (String path : UserSettings.FrameDirs.get()) { 1245 1245 if ((new File(path + framesetName)).exists()) 1246 1246 return true; … … 1300 1300 Frame base = null; 1301 1301 try { 1302 base = LoadFrame(UserSettings.DefaultFrame );1302 base = LoadFrame(UserSettings.DefaultFrame.get()); 1303 1303 } catch (Exception e) { 1304 1304 } … … 1318 1318 base.setPath(path); 1319 1319 base.change(); 1320 base.setOwner(UserSettings.UserName );1320 base.setOwner(UserSettings.UserName.get()); 1321 1321 SaveFrame(base, false); 1322 1322 … … 1326 1326 base.setTitle(frameset); 1327 1327 base.change(); 1328 base.setOwner(UserSettings.UserName );1328 base.setOwner(UserSettings.UserName.get()); 1329 1329 SaveFrame(base, true); 1330 1330 … … 1379 1379 1380 1380 // Search all the available directories for the directory 1381 for (String path : UserSettings.FrameDirs ) {1381 for (String path : UserSettings.FrameDirs.get()) { 1382 1382 String source = path + framesetName.toLowerCase() + File.separator; 1383 1383 File framesetDirectory = new File(source); … … 1419 1419 // search through all the directories to find the frameset we are 1420 1420 // copying 1421 for (String path : UserSettings.FrameDirs ) {1421 for (String path : UserSettings.FrameDirs.get()) { 1422 1422 String source = path + framesetToCopy.toLowerCase() 1423 1423 + File.separator; … … 1576 1576 public static void setSavedProperties(Frame toSave) { 1577 1577 toSave.setLastModifyDate(Formatter.getDateTime()); 1578 toSave.setLastModifyUser(UserSettings.UserName );1578 toSave.setLastModifyUser(UserSettings.UserName.get()); 1579 1579 toSave.setVersion(toSave.getVersion() + 1); 1580 1580 Time darkTime = new Time(SessionStats.getFrameDarkTime().getTime()
Note:
See TracChangeset
for help on using the changeset viewer.