home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!mimsy!lhc!mcmathmac.nlm.nih.gov!user
- From: mcmath@csb1.nlm.nih.gov (Chuck 'Amnesia causes.... uh, I forget' McMath)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: Human Interface questions, specific functionality
- Message-ID: <mcmath-280892082002@mcmathmac.nlm.nih.gov>
- Date: 28 Aug 92 12:25:03 GMT
- References: <1992Aug27.175328.1@tesla.njit.edu> <1992Aug27.230932.11741@verity.com>
- Sender: usenet@nlm.nih.gov (usenet news poster)
- Followup-To: comp.sys.mac.programmer
- Organization: MSD
- Lines: 46
-
- In article <1992Aug27.230932.11741@verity.com>, anders@verity.com (Anders
- Wallgren) wrote:
- >
- > In article <1992Aug27.175328.1@tesla.njit.edu> Elliotte Rusty
- > Harold, erh0362@tesla.njit.edu writes:
- > > 2. A user opens a file on a locked disk and makes changes to it.
- >
- > > (Alternately the user locks the disk while the file is open.)
- > When
- > > the user attempts to save should I
- > >
- > > a) Simply post an error message saying the disk is locked?
- > > b) Check that the disk is locked before every save (If so
- > how?)
- > > and if it is do a Save As instead?
- > > c) Check that the disk is locked before every save
- > > and eject the disk and post a dialog asking the user to unlock
- > > and reinsert it?
- >
- > If the user opens a file that is locked or that is on a locked
- > volume, you should probably warn them that any changes they make
- > can't be saved to that file. You might still enable Save and treat
- > that command like Save As (or treat it like they're saving a new
- > document).
- >
- I would think that when you open a file on a locked volume you should do
- this:
-
- 1. Put up a dialog telling the user they can't change this file
- 2. Disable 'Save', but of course leave 'Save As' enabled.
- 3. If they do a 'Save As' to another volume, the file becomes 'changeable',
- because it's not the same file they opened.
-
- This seems to make sense.
-
- In the case where someone opens a file, ejects the diskette, locks it,
- reinserts it and tries to save, you'd get a file manager error when the
- save is attempted. I would put up an error dialog and just go on. If they
- insist on trying to save to a locked volume they deserve what they get.
-
- chuck
-
- |- chuck mcmath - mcmath@csb1.nlm.nih.gov - MSD, Inc. ------------|
- |- National Library of Medicine - National Institutes of Health --|
- |- Bethesda, MD 20894 - <clever message on vacation until Sept 1> |
- |- "Hey batter, hey batter, hey batter, swing" - Anon. -----------|
-