Book a Demo

Author Topic: java class name change--synchronization  (Read 3223 times)

vjr

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
java class name change--synchronization
« on: February 21, 2011, 09:04:49 am »
Hi. Is it possible to change a Java class's name in the model and have it synched with the code (also so it changes the name of the source file ala Java convention)? Currently I get a new class generated in the existing source file as follows:

Pre synch file A.java:
Code: [Select]
public class A { public int a; }

Post synch file A.java (rename class A to B in model and forward engineer):
Code: [Select]
public class A { public int a; }

public class B { public int a; }

I would expect A.java to be removed and B.java in its place with the contents:
Code: [Select]
public class B { public int a; }

Thanks.
« Last Edit: February 21, 2011, 09:16:47 am by vjr »