Changeset 415


Ignore:
Timestamp:
11/20/08 14:24:29 (16 years ago)
Author:
ra33
Message:

Added @autoFormat tag

Location:
trunk/src/org/expeditee/gui
Files:
2 edited

Legend:

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

    r400 r415  
    1515import java.io.Writer;
    1616import java.sql.Time;
     17import java.text.Format;
    1718import java.util.Collection;
    1819import java.util.HashMap;
    1920import java.util.LinkedList;
    2021
     22import org.expeditee.actions.Actions;
    2123import org.expeditee.agents.ExistingFramesetException;
    2224import org.expeditee.io.Conversion;
     
    819821                }
    820822
     823                /*Format the frame if it has the autoFormat tag*/
     824                if(toSave.hasAnnotation("autoformat")){
     825                        Actions.PerformActionCatchErrors(toSave, null, "Format");
     826                }
     827               
    821828                /**
    822829                 * Get the full path only to determine which format to use for saving
  • trunk/src/org/expeditee/gui/FrameKeyboardActions.java

    r410 r415  
    933933                        break;
    934934                case KeyEvent.VK_F:
    935                         // perform a delete operation
     935                        // perform a format operation
    936936                        Actions.PerformActionCatchErrors(currentFrame, null, "Format");
    937937                        return;
Note: See TracChangeset for help on using the changeset viewer.