Changeset 2605


Ignore:
Timestamp:
04/12/07 12:05:19 (13 years ago)
Author:
curtis
Message:

Temporarily comment out state save/restore/undo/redo logic.

Location:
trunk/loci/visbio
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/visbio/VisBioFrame.java

    r2565 r2605  
    124124      // make menus appear in the right order 
    125125      getMenu("File"); 
    126       getMenu("Edit"); 
     126      getMenu("Edit").setEnabled(false); // CTR TODO fix state logic 
    127127      getMenu("Window"); 
    128128      getMenu("Help"); 
     
    195195      // determine if VisBio crashed last time 
    196196      sm.setRestoring(false); 
     197      /* CTR TODO fix state logic 
    197198      sm.checkCrash(); 
     199      */ 
    198200 
    199201      // process arguments 
  • trunk/loci/visbio/state/StateManager.java

    r2555 r2605  
    2424package loci.visbio.state; 
    2525 
    26 import java.awt.event.KeyEvent; 
     26//import java.awt.event.KeyEvent; 
    2727import java.io.*; 
    2828import java.util.*; 
     
    249249        // HACK - make state logic menu items appears in the proper location 
    250250 
     251        /* CTR TODO fix state logic 
    251252        // file menu 
    252253        bio.addMenuSeparator("File"); 
     
    255256        bio.addMenuItem("File", "Save state...", 
    256257          "loci.visbio.state.StateManager.fileSave", 's'); 
     258        */ 
    257259      } 
    258260    } 
     
    288290    // edit menu 
    289291    bio.setSplashStatus(null); 
     292    /* CTR TODO fix state logic 
    290293    editUndo = bio.addMenuItem("Edit", "Undo", 
    291294      "loci.visbio.state.StateManager.editUndo", 'u'); 
     
    297300      "loci.visbio.state.StateManager.editReset", 't'); 
    298301    bio.setMenuShortcut("Edit", "Reset", KeyEvent.VK_R); 
     302    */ 
    299303 
    300304    // undo logic variables 
Note: See TracChangeset for help on using the changeset viewer.