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/setting/TextSetting.java

    r919 r1242  
    2323public abstract class TextSetting extends GenericSetting<Text> {
    2424
    25         public TextSetting(String tooltip) {
    26                 super(Text.class, tooltip, null);
     25        public TextSetting(String tooltip, String name) {
     26                super(Text.class, tooltip, name, null);
    2727                _default = generateText();
    2828                _value = _default;
     
    4141       
    4242        public abstract Text generateText();
     43       
     44        public Text generateRepresentation(String label, String frameset) {
     45                return get();
     46        }
    4347
    4448}
Note: See TracChangeset for help on using the changeset viewer.