Changeset 26702
- Timestamp:
- 2013-01-11T18:40:55+13:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/GlamED/trunk/src/org/honours/actions/MiscActions.java
r26588 r26702 4 4 5 5 import org.expeditee.actions.Actions; 6 import org.expeditee.actions.Misc; 6 7 import org.expeditee.gui.DisplayIO; 7 8 import org.expeditee.gui.Frame; … … 15 16 import org.honours.collection.NoteLayer; 16 17 import org.honours.gui.HonoursFrameIO; 18 import org.honours.gui.Interfaces; 17 19 18 20 public class MiscActions { … … 88 90 public static void AddNewNote(CollectionItem collectItem, Collection collect){ 89 91 92 System.err.println("Adding new note..."); 90 93 NoteLayer noteLayer = null; 91 94 … … 119 122 } 120 123 124 //debugging 125 System.err.println("*** link (in AddNewNote): " + noteLayer.getFrame().getName()); 126 121 127 //Add new text item to noteLayer's frame in a free space - for now 122 128 //just add at position (200,200) and hope that any other note has been moved since. … … 130 136 131 137 HonoursFrameIO.DISPLAY_NOTES = false; 138 Text displayText = (Text)Misc.getItemContainingData("OptionViewNotes",FrameIO.LoadFrame(Interfaces.NAVIGATION_OVERLAY)); 139 displayText.setText("Hide Notes"); 140 132 141 HonoursFrameIO.ToggleNotesDisplay(collectItem); 133 142 }
Note:
See TracChangeset
for help on using the changeset viewer.