Article View: comp.sys.next.programmer
Article #919NEW Example Code on Sonata
From: gburd Greg Burd
Date: Fri, 28 Aug 1992 17:02
Date: Fri, 28 Aug 1992 17:02
50 lines
2490 bytes
2490 bytes
Hello everyone, I have been placing example 3.0 code on Sonata in the past few weeks, and due to time constraints, I haven't had the opportunity to let everyone know what I have done. All of these examples are in the directory /pub/next/submissions. They may be moved to either /pub/next/submissions/3.0-release/source (or to /pub/next/docs/MiniExamples, as they may become MiniExamples). PersonalPreferences.tar.Z ------------------------- This is a custom loadable Preference for Preferences.app. It takes advantage of the Preferences API now available to developers in 3.0. If you want to make a Preference, here is where to start. NeXTWORLD_DragLab.tar.Z ----------------------- This is example code that will be discussed in the Winter edition of NeXTWORLD mag. in a joint article by myself and Simson (with some input from Andrew Stone). It implements a view that uses the new 3.0 drag and drop categories and methods. This example could easily be modified to drag anything anywhere; including files, EPS, TIFF, Custom Data, etc. YourWS_Inspector.tar.Z ---------------------- This is an example of how to create a custom Workspace Contents inspector. If, for example, you were to write a program similar to Draw, and you would like your users to be able to view your documents without running the program. You could create a custom contents inspector that had the ability to display your document. The inspector you create is register for a file extension, and when a user has a file with that extension selected in Workspace, and the contents inspector active, your custom inspector will be activated. This is really really cool. :-) So I hope that this code will make your jobs easier, and I hope to see examples of vendors using this code in the future. Comments are always welcome. Your examples are also welcome. Cheers, -greg --------- Greg Burd NeXT Developer Support (temp) #import <std/disclaimer> #import <std/joke> #import <std/ :-) >
Technical Details
Message-ID:
<4883@rosie.NeXT.COM>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!unixhub!ditka!ntg!rosie!next.com)Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!unixhub!ditka!ntg!rosie!next.com) From: gburd@next.com) (Greg Burd) Newsgroups: comp.sys.next.programmer Subject: NEW Example Code on Sonata Keywords: Example Code NeXT OOC Workspace Inspector Preferences Dynamic Loadable Message-ID: <4883@rosie.NeXT.COM> Date: 28 Aug 92 17:02:56 GMT Sender: news@NeXT.COM Lines: 50