Ignore:
Timestamp:
11/19/08 16:43:35 (16 years ago)
Author:
ra33
Message:

Completed several tasks specified by Rob...

  1. Changing the resize for single text items to use the text items origin as the origin for the resize.
  1. Added message linking to documentation for SIMPLE statements when a statement is used incorrectly.
  1. Other minor changes...
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/actions/Navigation.java

    r408 r410  
    88import org.expeditee.gui.FrameUtils;
    99import org.expeditee.gui.MessageBay;
     10import org.expeditee.gui.UserSettings;
    1011import org.expeditee.items.Item;
    1112
     
    4142         */
    4243        public static void GotoHome() {
    43                 FrameUtils.DisplayHomeFrame();
     44                FrameUtils.DisplayFrame(UserSettings.HomeFrame);
     45        }
     46       
     47        public static void GotoZero() {
     48                FrameUtils.DisplayFrame(DisplayIO.getCurrentFrame().getFramesetName() + 0);
    4449        }
    4550
     
    4853         */
    4954        public static void GotoProfile() {
    50                 FrameUtils.DisplayProfileFrame();
    51         }
    52 
     55                FrameUtils.DisplayFrame(UserSettings.ProfileName + '1');
     56        }
     57
     58        /**
     59         * Loads the Frame in the current frameset with the given number and
     60         * displays it
     61         *
     62         * @param value
     63         *            The number of the Frame to load
     64         */
     65        public static void Goto(Integer value) {
     66                FrameUtils.DisplayFrame(DisplayIO.getCurrentFrame().getFramesetName() + value);
     67        }
     68       
    5369        /**
    5470         * Loads the Frame with the given FrameName and displays it
     
    5975        public static void Goto(String frameName) {
    6076                FrameUtils.DisplayFrame(frameName);
    61         }
    62 
    63         /**
    64          * Loads the Frame in the current frameset with the given number and
    65          * displays it
    66          *
    67          * @param value
    68          *            The number of the Frame to load
    69          */
    70         public static void Goto(Integer value) {
    71                 FrameUtils.DisplayFrame(value.toString());
    7277        }
    7378
Note: See TracChangeset for help on using the changeset viewer.