Change state of Read-Write-Access - plugin detail
Changes the Read-Only/Write status of a file
| Plugin owner: |
recjake |
| Website: |
http://recjake.piranho.com/ |
| Added: |
2008-03-10 |
| Last updated: |
2008-04-17 |
| NetBeans Versions: |
6.0, 6.1 |
| License: |
None |
| Category: |
Editing |
| Size: |
0.01 MB |
| Downloaded: |
1,196 times |
| Rating: |
|
Verifications for NetBeans versions
Decisions of individual verifiers for Change state of Read-Write-Access plugin for NetBeans IDE 6.0
Comments
Decisions of individual verifiers for Change state of Read-Write-Access plugin for NetBeans IDE 6.1
Comments
|
Introduction
This module could be used to change between read-only and writable mode of a file currently openend in the editor.
A small label is applied in status bar and with a click on this the status changes.
Additionally if a file is read-only and a user starts typing it will switch to writable.
In this version, JDK's from 1.5 on are supported, no longer different versions.
User which had installed the previous versiona, please uninstall the old version, restart the IDE and then install the new one.
What's new in this version
- a dialog could be displayed given a warning about the state change (thanks to nsegura for the idea)
- options are created to configure the dialog
|
[ You have to be logged in to be able to comment. ]
User Comments
Incompatible with 6.9.1
It's not compatible with NetBeans IDE 6.9.1.
Posted by kAlvaro on Nov 10, 2010
does not work
Tried it for 6.0.1 and it did not work for me. I get a message on the status bar saying:
"Granting write access seems not to work. Check your permissions."
The files exists on the network which is mounted on my system. chmod +w on the file
from the prompt seems to work but clicking the lock, on the right hand bottom of the
screen fails.
Posted by manojthadani on Jan 22, 2009
write-protected versus locked
1) I know that "write-protected" is not the same thing as "locked", but the workflow is a bit annoying as it is: I start typing in a read-only file, I get the warning dialog ("Do you want to change the status?"), I click no, and the first character I typed appears in the buffer. The buffer now has unsaveable changes, and I have to delete the stray character, which triggers the warning dialog *again*. Not a bug, rather a usability question.
2) What about making the "ask for approval for writing access when typing" warning dialog true by default? (Otherwise this plugin just seems to blindly grant write permission and the user doesn't even notice it's there.)
3) Nice use of the Netbeans APIs to make the options appear in the Options dialog, by the way. :)
PS: I tried it in a 6.5 dev build and it worked (despite that it says above it failed verificaton for 6.1).
Posted by rkusterer on Sep 01, 2008
@nsegura
Thanks for the idea
.
Adapted the module accordingly. Now a dialog could appear (needs to be configured via options)
Posted by recjake on Apr 17, 2008
pretty good ... but
I like this plugin, however, it will be nice if the write-only files were not automatically made writable when you start typing. There might be reason why those files are protected. Making them writable should be a conscious action
Posted by nsegura on Apr 16, 2008