Hi I have two questions regarding code generation with the (ULC) VE.
Q1) I would like to add one or more specific interfaces to the visual class currently being edited (for example with a pop-up menu action). >From the EditPart which I retrieve from either the BeanTree or the GEF Editor I can retrieve the JavaInstance object of the root panel EditPart (i.e. "this") which typically corresponds to the class being edited (i.e. the model). But from there I do not know how to proceed in order to add an Interface. Is the described approach of starting with the currently selected EditPart even correct? Can anybody help me with this issue? Q2) How do I add a piece of code (or a method implementation) to a specific VisualClass, also programmatically (for example a default implementation of the method that the above mentioned and added interface would require)? Thank you for any help. Kaspar von Gunten _______________________________________________ ULC-developer mailing list [email protected] http://lists.canoo.com/mailman/listinfo/ulc-developer
