hitt@neon.Stanford.EDU (Daniel Hitt) (05/21/91)
If you write an application which creates documents with a certain extension, how do you get the Workspace to display the files with your application's icon instead of the one from Edit? Is there some step to be done in the Interface Builder stage besides just setting the extension and the icon? (The icon for the application itself is correctly used by the Workspace.) I expect that there must be some way for the application to register the icons for its documents with the Workspace, and that if this is done correctly, afterwards the documents will have the right icons in the File Viewer. Is this correct? I can't seem to find the answer to this in the FAQ, the docs, or the example programs. But, at least on the machine i'm using, it seems the Workspace only cares about the extension to the file, and it uses whatever icon you choose in the Interface Builder for the document icon (e.g., any file with extension draw is displayed as a Draw document, and any file with extension tl is displayed as a TextLab document, and if you change the icon when you're putting together TextLab, you'll get the new icon on the documents). Thanks for any help anyone can provide. dan hitt@neon.stanford.edu