Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-core-dev] RE: Refactor->rename and validateEDit.



Kadadi,

the validateEdit is called to check if we can perform the refactoring in
general (the files
might be looked). The movedeletehook is called when the refactoring is
actually performed.

There isn't any direct relation between the two hooks except that the files
you receive
in the movedeletehook firsts were validated via the ValidateEdit hook.

Dirk


                                                                           
             "Kadadi, Usha D"                                              
             <Usha.Kadadi@ca.c                                             
             om>                                                        To 
             Sent by:                  <jdt-core-dev@xxxxxxxxxxx>          
             jdt-core-dev-admi                                          cc 
             n@xxxxxxxxxxx                                                 
                                                                   Subject 
                                       [jdt-core-dev] RE: Refactor->rename 
             01.04.2004 21:05          and validateEDit.                   
                                                                           
                                                                           
             Please respond to                                             
             jdt-core-dev@ecli                                             
                  pse.org                                                  
                                                                           
                                                                           








                        Hi ,
                        I am trying to refactor rename a file which has
                        refrences in other files. The validateEdit method
                        is getting called before the movedeletehook. Is
                        there a way of identifying between the file being
                        renamed and the other files which have refrences in
                        the ValidateEdit method. All we have in the
                        ValidEdit method is a list of files.


                        Thanks





Back to the top