Hi, I have the following problems: 1. I define an Interface X with operation a(), then I define Class Y which is an Interface Realization of X. After I generate the java code, Y implements X, yet the method a() is not implemented, which results in a compilation error... Is there a way to make the code generation include those methods?
2. Imports: The only way, that I could find to make the includes appear automatically, is by specifying in every class the element imports. Is it possible for Topcased to add the imports for the needed classes from other packages? 3. Is it possible to disable the generation of the import packages at all? The reason - let's say you are implementing on an already generated code and need to use java.util.LinkedList, so you normally write LinkedList (ctrl + space) and select the java.util.LinkedList. It is then automatically added between the package definition (for example package some.test) and the start of the class definition (public class SomeClass). In order for you to persist those imports (not loosing them the next time you regenerate the java code), they need to be between //Start of user code to add imports for SomeClass and //End of user code. Since however the generated imports are put atop it an import of java.util.AbstractList, the LinkedList is added after the AbstractList and not in between the start and end, thus next time I regenerate the class, I will loose my import. So I need to somehow remove those imports. Or is there another way? Thanks, Orlin _______________________________________________ Topcased-users mailing list [email protected] http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users
