Refactoring actions [message #443959] |
Tue, 07 February 2006 11:37  |
Eclipse User |
|
|
|
Hello all,
I'm building a RCP standalone application in which you can create project, create and add folder to project and import files from the system.
My model is extending java.io.File, i'd like to have to possibility to rename, move the projects, folders and files but i'm having trouble to do it, and i'd like to know if we can use the refactoring actions from eclipse to perform the same thing in my application?
Is there any tuts on it or threads?
Thanks a lot
|
|
|
Re: Refactoring actions [message #443995 is a reply to message #443959] |
Tue, 07 February 2006 15:58  |
Eclipse User |
|
|
|
Nope. For a start, all of Eclipse works on IResources, and secondly, most of the refactoring work runs by manipulation of the Abstract Syntax Tree that represents the Java program, rather than direct editing of the text.
If you're going down the whole IDE route, I suggest that you build your app on the IDE libraries that are in Eclipse; at least that way you'll get free support for things like comparisons, editors, and CVS access. There's no reason why you can't put any plugins that you like into your RCP app; and I'd strongly suggest for the benefit of other developers who may want to use your system that you base it on the Eclipse resource model and even the IDE packages (of which the JDT and CDT are examples of what you can do on top of the basics).
Alex.
|
|
|
Powered by
FUDForum. Page generated in 0.04334 seconds