Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pde-dev] Making custom editor read-only

Hi
 
I have created a custom editor which extends TextEditor. Is there any way where I can set the edit mode to false so that even if the user wants to edit the file he cannot edit it. Also, I want to show the contents of the file in a different color if the editor mode is read-only.
I am new to Eclipse Plug-in development.
 
Please help
 
Thanks and Regards
 
Prashant

Back to the top