Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] Re: Re: [jdt-dev] Refactoring

Thanx Dirk, 
my project is base on XML and the refactoring will most likely to concern with 
updating changes in element name and attributes that reference to other 
element, so I think the rename functionality would be a good starting point for 
me. Is there any suggestions on where i should start looking into? or any parts 
that suit my purpose better than the rename functionality



> Andy,
> 
> the refactoring API is currently internal to JDT/UI plug-in hence there
> is
> no documentation
> available how to write your own refactoring. The only thing I can
> recommend
> is to look at
> a specific refactoring and try to understand how it works. I would
> suggest
> the latest version
> of self encapsulate field (it's now converted to ast rewrite). The
> refactoring is located in the
> package org.eclipse.jdt.internal.corext.refactoring.sef and its UI is
> located in package
> org.eclipse.jdt.internal.ui.refactoring.sef.
> 
> Please be aware that the refactoring framework will become API in 3.0
> (see
> also plan
> item https://bugs.eclipse.org/bugs/show_bug.cgi?id=36943.
> 
> Dirk
> 
> 
> 
>                                                                         
>   
>              Andy Choi                                                  
>   
>              <sincho02@xxxxxx.                                          
>   
>              nz>                                                       
> To 
>              Sent by:                  jdt-dev@xxxxxxxxxxx,             
>   
>              jdt-dev-admin@ecl         eclipse-dev@xxxxxxxxxxx          
>   
>              ipse.org                                                  
> cc 
>                                                                         
>   
>                                                                   
> Subject 
>              08/07/2003 08:36          [jdt-dev] Refactoring            
>   
>              AM                                                         
>   
>                                                                         
>   
>                                                                         
>   
>              Please respond to                                          
>   
>              jdt-dev@eclipse.o                                          
>   
>                     rg                                                  
>   
>                                                                         
>   
>                                                                         
>   
> 
> 
> 
> 
> i am currently working on a project that require some refactoring to
> be
> include with the plug-in, and the refactoring is context dependent to
> the
> project, and i think the refactoring component provided in eclipse can
> be
> use as some foundation for the project that i am working on, but i need
> to
> understand the refactoring currently in eclipse now, can anyone suggest
> me
> where about in the code is a good starting point in understanding the
> how
> the component works?
> 
> Thanx in advance.
> 
> Regards,
> 
> Andy.
> 
> 
> ======================================================
> From Andy Choi
> ID : 0102962
> Alternate Email Address: andy_capcap@xxxxxxxxxxx
> Mobile : 021338180
> 
> _______________________________________________
> jdt-dev mailing list
> jdt-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/jdt-dev


======================================================
From Andy Choi
ID : 0102962
Alternate Email Address: andy_capcap@xxxxxxxxxxx
Mobile : 021338180
  


Back to the top