Ignore:
Timestamp:
04/02/19 15:19:35 (5 years ago)
Author:
bln4
Message:

FrameCreator now has the option to extend an existing frameset rather than overwrite or ignore the previous frameset content. A boolean variable to the FrameCreator constructor has changed to a Enum with three options to facilitate this.

The MailBay uses this new FrameCreator functionality.

In the near future, 'extend' option will be updated to more precisely reobtain the exact state of the FrameCreator when last used (IE, what the FrameCreator thinks its Y position is).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/settings/Settings.java

    r1269 r1276  
    230230        private static void generateSettingsTree(String page, Text text) {
    231231                Frame parent = text.getParentOrCurrentFrame();
    232                 FrameCreator frames = new FrameCreator(parent.getFramesetName(), parent.getPath(), page, false, false);
     232                FrameCreator frames = new FrameCreator(parent.getFramesetName(), parent.getPath(), page, FrameCreator.ExistingFramesetOptions.CreateNewFramesOnly, false);
    233233                text.setLink(frames.getName());
    234234               
Note: See TracChangeset for help on using the changeset viewer.