Changeset 26739

Show
Ignore:
Timestamp:
16.01.2013 20:13:17 (6 years ago)
Author:
davidb
Message:

Some tidying up including removal of unneeded print statements.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • other-projects/GlamED/trunk/src/org/honours/gui/HonoursFrameIO.java

    r26733 r26739  
    154154    public static void ToggleNotesDisplay(CollectionItem collectItem) { 
    155155         
     156 
    156157        //get link to the collection item's note frame. 
    157158        NoteLayer nl = collectItem.getNoteLayer(); 
     
    159160        if(nl == null){ 
    160161            MessageBay.errorMessage("No notes to display"); 
    161              
    162              
    163162            return; 
    164163        } 
     
    168167        System.err.println("*** link (in ToggleNotesDisplay method): " + noteFrameLink); 
    169168         
    170         Text displayText = (Text)Misc.getItemContainingData("OptionViewNotes",FrameIO.LoadFrame(Interfaces.NAVIGATION_OVERLAY_VIEW_NOTES_UNCLICKABLE)); 
     169        //Text displayText = (Text)Misc.getItemContainingData("OptionViewNotes",FrameIO.LoadFrame(Interfaces.NAVIGATION_OVERLAY_VIEW_NOTES_UNCLICKABLE)); 
     170        Text displayText = (Text)Misc.getItemContainingData("OptionViewNotes",FrameIO.LoadFrame(Interfaces.NAVIGATION_OVERLAY_VIEW_NOTES_CLICKABLE)); 
    171171             
    172172        if(DISPLAY_NOTES){ 
     
    179179                     
    180180        }else{ 
    181             System.err.println("Notes are visible"); 
     181            displayText = (Text)Misc.getItemContainingData("OptionViewNotes",FrameIO.LoadFrame(Interfaces.NAVIGATION_OVERLAY_VIEW_NOTES_CLICKABLE)); 
    182182            displayText.setText("Hide Notes"); 
    183             //swapLinks(Interfaces.BLANK_HIDE_NOTES_OVERLAY,noteFrameLink); 
     183 
    184184            swapLinks(noteFrameLink,"overlayNotes"); 
    185185            DISPLAY_NOTES = true;