Editor closing/background [message #444603] |
Sat, 16 October 2004 09:42 |
Eclipse User |
|
|
|
Originally posted by: xavier.andre.wanadoo.fr
Hi guys,
I'm new in plugin development and I need some help. I try to find it in =
faqs without success.
Here what I want to do:
* Client A opens a remote file (a link in the project on a remote
file). The file is writable and it creates a lock file.
* At the same time client B wants to access to this same file. I want
to open the file in an editor in read-only mode (I knows thanks to the =
lock
file) and to put a special background on this editor.
Here my different classes used:
* MyEditor extended TextEditor
* MyPartListener extends IPartListener
I found how to create lock-file but I can not delete its in partClosed() =
in my listener but it creates a NullPointerException and I do not pass to
= open an editor in read-only mode without changing the remote.
Could someone can help to do that?
Thanks
Xavier
|
|
|
|
Powered by
FUDForum. Page generated in 0.02593 seconds