TextEditor has 49 private instance methods. Fortunately, many of the methods have only a few lines of code. Though you can implement them in any order, begin with getter and setter methods.Private methods for category Getters & SettersMethod fileNameMethod fileName:Method mainWindowMethod modifiedMethod popupMethod shellMethod textMethod workRegion:Private methods for category Initialization & StartupMethod initializePrivate methods for category Window CreationMethod createWindowMethod createMainWindowMethod createTopLevelShellMethod createShellMethod createMenuBarMethod createWorkRegionMethod createPulldownMenusMethod addPulldownMenu:Method addMenuTo:label:Method addMenuEntryTo:label:selector:Method addMenuEntryTo:label:selector:clientData:Method createEditMenuForTextWidget:Method createFileMenuMethod createPopupMenuMethod addPopupMenuMethod createPopupCopyMethod createPopupCutMethod createPopupPasteMethod createPopupSaveMethod createPopupUndoMethod realizeWindowPrivate methods for category Event HandlersMethod accept:clientData:callData:Method addValueChangedCallbackMethod copySelection:clientData:callData:Method cutSelection:clientData:callData:Method newWorkspace:clientData:callData:Method open:clientData:callData:Method pasteSelection:clientData:callData:Method popup:clientData:callData:Method removeValueChangedCallbackMethod saveAs:clientData:callData:Method undo:clientData:callData:Method updateTitleMethod valueChanged:clientData:callData:Method windowClose:clientData:callData:Private methods for category File OperationsMethod readFileName:Method showCursor:in:while:Method showFontCursor:in:while:Method writeFileName:Now that you have all of the methods implemented for TextEditor, try opening an instance of the class using DevelopChooser or by evaluating:
|