You can change the state of an IResource to readonly using
org.eclipse.core.resources.IResource#setResourceAttributes(R esourceAttributes)
Best regards,
Kiril
"Dini" <ziggy25@gmail.com> wrote in message
news:5f3519041557c880d6fc943d66124da4$1@www.eclipse.org...
> Is there a way i can make a project read only? If not does anyone know of
> anyway i can protect a project from accidental changes?
> Thanks
>