Ignore:
Timestamp:
03/15/19 16:48:00 (5 years ago)
Author:
bln4
Message:

Support for new regime in the form of new fields and conditional setting of all paths fields.

Settings are now able to generate their own representation. This allows for the user to explicitly inspect the default values.

When profiles are created, an optional parameter may now be provided. If not null, the new map parameter can contain default values for settings to apply to this profile. This allows for the creation of profiles to that have (for example), their username set to an explicit value. Multiuser mode uses this functionality for usernames and key values among other things.

Frames can now be asked were they are located on the file system. Furthermore, frame indirection is now a thing. Rather than containing data to display, an exp file can contain a line in the format of "REDIRECT:<path>" to go looking for that data. Frames are able to return both their logical (their exp file) and real (the file actually containing the data) paths.

Frames can now store data.

Further fixes to how edits from other users are loaded in.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/gui/Browser.java

    r1224 r1242  
    536536        }
    537537
    538         protected static Frame loadProfile(String userName)
    539         {
     538        protected static Frame loadProfile(String userName)     {
    540539                Frame profile = FrameIO.LoadProfile(userName);
    541540               
    542541                if (profile == null) {
    543542                        try {
    544                                 profile = FrameIO.CreateNewProfile(userName);
     543                                profile = FrameIO.CreateNewProfile(userName, null);
    545544                        } catch (Exception e) {
    546545                                // TODO tell the user that there was a problem creating the
Note: See TracChangeset for help on using the changeset viewer.