- Timestamp:
- 11/07/19 12:22:50 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/gui/management/ProfileManager.java
r1440 r1441 28 28 public class ProfileManager { 29 29 30 private static final String USER_NAME_PATTERN_INTERNAL = "USER_NAME";31 30 private static final String DEFAULT = UserSettings.DEFAULT_PROFILE_NAME; 32 31 private static final String[] startPages = { "exploratorysearch", "webbrowser" }; 33 public static final String USER_NAME_ PATTERN = "${" + USER_NAME_PATTERN_INTERNAL+ "}";32 public static final String USER_NAME_FLAG = "${" + "USER.NAME" + "}"; 34 33 35 34 public static Frame createProfile(String profileFor, Map<String, Setting> specifiedSettings, … … 85 84 if (item instanceof Text) { 86 85 String content = item.getText(); 87 item.setText(ResourceUtil.substitute(content, ProfileManager.USER_NAME_ PATTERN, profileFor));86 item.setText(ResourceUtil.substitute(content, ProfileManager.USER_NAME_FLAG, profileFor)); 88 87 } 89 88 }
Note:
See TracChangeset
for help on using the changeset viewer.