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/actions/Misc.java

    r1197 r1242  
    4646import org.expeditee.gio.gesture.StandardGestureActions;
    4747import org.expeditee.gui.AttributeUtils;
    48 import org.expeditee.io.Conversion;
    4948import org.expeditee.gui.DisplayController;
    50 import org.expeditee.io.ExpReader;
    5149import org.expeditee.gui.Frame;
    5250import org.expeditee.gui.FrameGraphics;
     
    5856import org.expeditee.gui.Reminders;
    5957import org.expeditee.gui.TimeKeeper;
     58import org.expeditee.io.Conversion;
     59import org.expeditee.io.ExpReader;
    6060import org.expeditee.items.Item;
    6161import org.expeditee.items.ItemUtils;
     
    13341334                homeFrame.removeAllItems(homeFrame.getItems());
    13351335                homeFrame.addText(0, 0, "title", null);
    1336                 FrameUtils.CreateDefaultProfile(UserSettings.UserName.get(), homeFrame);
     1336                FrameUtils.CreateDefaultProfile(UserSettings.UserName.get(), homeFrame, null);
    13371337        }
    13381338       
     
    15231523        String frameName = frame.getName();
    15241524           
    1525         String frameDir = framePath + Conversion.getFramesetName(frameName)
    1526             + File.separator;
     1525        String frameDir = frame.getFramesetPath(); //framePath + Conversion.getFramesetName(frameName) + File.separator;
    15271526        String localFname = Conversion.getFrameNumber(frameName)
    15281527            + ExpReader.EXTENTION;
Note: See TracChangeset for help on using the changeset viewer.