Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Hook into the Java refactoring
Hook into the Java refactoring [message #328212] Sun, 18 May 2008 19:59 Go to next message
Yigal Spinner is currently offline Yigal SpinnerFriend
Messages: 127
Registered: July 2009
Senior Member
I'm new to the Eclipse and the Java IDE.

I need to create a plugin that will help me refactor the EMF code and
generation. I have a task the need to rename 50 classes out of 150 that
the eCore generated.

I want to leverage the existing Java refactoring that will trickle
throughout all the projects and will rename all classes and references.

Is there a way for write a plugin that uses the build in refactoring of
the Java code? I can write code to modify the eCore but I need the
corresponding Java classes renamed and all references.


Thanks
Yigal
Re: Hook into the Java refactoring [message #328213 is a reply to message #328212] Mon, 19 May 2008 04:37 Go to previous message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
Hi Yigal,

I'm not sure what you are trying to do. Can't you customize your eCore
model itself to generate the code in the way you want?

Anyways, for refactoring, have a look at the org.eclipse.ltk plugins &
their extensions

--

- Prakash

Eclipse Tips: http://blog.cypal-solutions.com
Eclipse Search: http://www.cypal.in/eclipsesearch


Yigal wrote:
> I'm new to the Eclipse and the Java IDE.
>
> I need to create a plugin that will help me refactor the EMF code and
> generation. I have a task the need to rename 50 classes out of 150 that
> the eCore generated.
>
> I want to leverage the existing Java refactoring that will trickle
> throughout all the projects and will rename all classes and references.
>
> Is there a way for write a plugin that uses the build in refactoring of
> the Java code? I can write code to modify the eCore but I need the
> corresponding Java classes renamed and all references.
>
>
> Thanks
> Yigal
Previous Topic:template completion (how to)
Next Topic:error starting eclipse with firefox 3
Goto Forum:
  


Current Time: Sat Jul 13 22:38:51 GMT 2024

Powered by FUDForum. Page generated in 0.03034 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top