Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » How to let Eclipse without prompt when encountered a read-only file ?
How to let Eclipse without prompt when encountered a read-only file ? [message #250772] Mon, 21 January 2008 10:28 Go to next message
Eclipse UserFriend
Originally posted by: supgenius.hotmail.com

Hi, All.

I am developing a text editor plug-in. In order to let editor just read
only, this editor set the openning file to a read-only file. When someone
intents to edit the file, eclipse shows a promt window and ask you whether
you make the file writable. I want to the defaut setting is not writable
and without a prompt. Can anyone tell me how to do this?

Thanks a lot.
Re: How to let Eclipse without prompt when encountered a read-only file ? [message #250775 is a reply to message #250772] Mon, 21 January 2008 17:27 Go to previous message
Eclipse UserFriend
Originally posted by: wharley.bea.com

"Charles Eric" <supgenius@hotmail.com> wrote in message
news:19d1111a6a636f42dcc170379b842c1a$1@www.eclipse.org...
> Hi, All.
> I am developing a text editor plug-in. In order to let editor just read
> only, this editor set the openning file to a read-only file. When someone
> intents to edit the file, eclipse shows a promt window and ask you whether
> you make the file writable. I want to the defaut setting is not writable
> and without a prompt. Can anyone tell me how to do this?

Check out the validateEdit() API discussed in
https://bugs.eclipse.org/bugs/show_bug.cgi?id=160905 .
Previous Topic:A question about code assist
Next Topic:TestNG Newbie
Goto Forum:
  


Current Time: Sun Apr 20 02:22:53 EDT 2025

Powered by FUDForum. Page generated in 0.02669 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top