|
Re: What is the best approach to change existing model class names [message #419306 is a reply to message #419304] |
Sat, 17 May 2008 16:49 |
Ed Merks Messages: 33137 Registered: July 2009 |
Senior Member |
|
|
Yigal,
Comments below.
Yigal wrote:
> I have a very large model (over 150 classes). I built the model using
> the IBM Rational product call RSA. I need to rename about 50 of the
> classes in the model. This is easy to be done in RSA, however, I want
> Eclipse to manage all the changes across all source code:
> 1. Change the class names, Impl names Pckage domain.
> 2. Merge all custom code back (right now it creates a new class with
> the new and does not merge the previous class name custom code)
> 2. Refacator class name across all plugins
> 3. Refactor the names in the validor class while keeping the custom
> code in the correct method.
>
> What is the best way to update the eCore file that will allow me to
> trickle the changes correctly across all relevant parts.
> Is there a tool to do that?
We don't have any nice integrated Ecore refactoring support yet. The
best I could suggest is to use Java refactoring to refactoring the
source code and to make the same renaming changes directly to the Ecore
model so they are "aligned", and then you'll be able to regenerate again...
>
> Thanks
> Yigal
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02665 seconds