Changeset 26702 for other-projects

Show
Ignore:
Timestamp:
11.01.2013 18:40:55 (7 years ago)
Author:
davidb
Message:

removing some unnecessary lines of code, mainly debug statements.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • other-projects/GlamED/trunk/src/org/honours/actions/MiscActions.java

    r26588 r26702  
    44 
    55import org.expeditee.actions.Actions; 
     6import org.expeditee.actions.Misc; 
    67import org.expeditee.gui.DisplayIO; 
    78import org.expeditee.gui.Frame; 
     
    1516import org.honours.collection.NoteLayer; 
    1617import org.honours.gui.HonoursFrameIO; 
     18import org.honours.gui.Interfaces; 
    1719 
    1820public class MiscActions { 
     
    8890    public static void AddNewNote(CollectionItem collectItem, Collection collect){ 
    8991 
     92        System.err.println("Adding new note..."); 
    9093        NoteLayer noteLayer = null; 
    9194         
     
    119122        } 
    120123         
     124        //debugging 
     125        System.err.println("*** link (in AddNewNote): " + noteLayer.getFrame().getName()); 
     126         
    121127        //Add new text item to noteLayer's frame in a free space - for now 
    122128        //just add at position (200,200) and hope that any other note has been moved since. 
     
    130136         
    131137        HonoursFrameIO.DISPLAY_NOTES = false; 
     138        Text displayText = (Text)Misc.getItemContainingData("OptionViewNotes",FrameIO.LoadFrame(Interfaces.NAVIGATION_OVERLAY)); 
     139        displayText.setText("Hide Notes"); 
     140         
    132141        HonoursFrameIO.ToggleNotesDisplay(collectItem); 
    133142    }