Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pde-ui-dev] Editor closing/ background



Your best chance at getting this question answered is by posting it on the
newsgroups.

http://www.eclipse.org/newsgroups/index.html

Wassim.



                                                                       
             "Xavier ANDRE"                                            
             <xavier.andre@123                                         
             multimedia.com>                                            To
             Sent by:                  <pde-ui-dev@xxxxxxxxxxx>        
             pde-ui-dev-admin@                                          cc
             eclipse.org                                               
                                                                   Subject
                                       [pde-ui-dev] Editor closing/    
             10/13/2004 05:27          background                      
             PM                                                        
                                                                       
                                                                       
             Please respond to                                         
                pde-ui-dev                                             
                                                                       
                                                                       




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






Décharge / Disclaimer


Ce message et toutes les pièces jointes (ci-après le "message") sont
confidentiels et établis à l'intention exclusive des destinataires. Toute
utilisation ou diffusion non autorisée est interdite. Tout message
électronique étant susceptible d'altération, 123Multimédia et ses filiales
déclinent toute responsabilité au titre de ce message s'il a été altéré,
déformé ou falsifié.


This message and any attachments (the "message") are confidential and
intended solely for the addressees. Any unauthorised use or dissemination
is prohibited. E-mails are susceptible to alteration. Therefore neither
123Multimédia nor any of its subsidiaries or affiliates shall be liable for
the message if altered, changed or falsified.





Back to the top