Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-dev] rename file -> Change object

Hi Gyorgy,
have a look at
org.eclipse.ltk.core.refactoring.resource.RenameResourceChange in
org.eclipse.ltk.core.refactoring.
Also look at
org.eclipse.ltk.internal.core.refactoring.resource.RenameResourceProcessor
to see how the change is used.

The refactoring UI for this is in  org.eclipse.ltk.ui.refactoring.

I hope this helps

Martin




                                                                                                                       
  From:       <go30@xxxxxxxxxx>                                                                                        
                                                                                                                       
  To:         jdt-dev@xxxxxxxxxxx                                                                                      
                                                                                                                       
  Date:       15.05.2008 12:58                                                                                         
                                                                                                                       
  Subject:    [jdt-dev] rename file -> Change object                                                                   
                                                                                                                       





Hi all,

I am not sure that it is the right place to ask my question, but so far it
is my only "chance".

So I am developing a plugin for Eclipse, which integrates the Wrangler
Erlang refactor tool. It is written in Erlang, so my task is to create some
kind of interface using the Erlide plugin.

We have a refactoring called rename module, which needs to rename the file.
My plugin creates change objects from Wrangler output. After a lot of
documentation reading I have no idea how to *create a Change object which
contains information about the file renaming*.

I have realized that the built-in jdt refactor tool rename class
refactoring does the same.  Can you help me to get to know how it works?

Thanks a lot,
Gyorgy Orosz

_______________________________________________
jdt-dev mailing list
jdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jdt-dev




Back to the top