Changeset 26739 for other-projects/GlamED/trunk
- Timestamp:
- 2013-01-16T20:13:17+13:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/GlamED/trunk/src/org/honours/gui/HonoursFrameIO.java
r26733 r26739 154 154 public static void ToggleNotesDisplay(CollectionItem collectItem) { 155 155 156 156 157 //get link to the collection item's note frame. 157 158 NoteLayer nl = collectItem.getNoteLayer(); … … 159 160 if(nl == null){ 160 161 MessageBay.errorMessage("No notes to display"); 161 162 163 162 return; 164 163 } … … 168 167 System.err.println("*** link (in ToggleNotesDisplay method): " + noteFrameLink); 169 168 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)); 171 171 172 172 if(DISPLAY_NOTES){ … … 179 179 180 180 }else{ 181 System.err.println("Notes are visible");181 displayText = (Text)Misc.getItemContainingData("OptionViewNotes",FrameIO.LoadFrame(Interfaces.NAVIGATION_OVERLAY_VIEW_NOTES_CLICKABLE)); 182 182 displayText.setText("Hide Notes"); 183 //swapLinks(Interfaces.BLANK_HIDE_NOTES_OVERLAY,noteFrameLink); 183 184 184 swapLinks(noteFrameLink,"overlayNotes"); 185 185 DISPLAY_NOTES = true;
Note:
See TracChangeset
for help on using the changeset viewer.