new style component - code generation with jjet? [message #610454] |
Wed, 31 August 2005 09:06 |
Eclipse User |
|
|
|
Originally posted by: remus.gmx.org
Hello,
I'm using eclipse 3.0.2. I want to extend the ve with a new style
component and wrote a plugin with a jjet file, containing the template
code to generate for the new component and a SourceCode Contributor to
deliver the correct path.
My problem now: ve seems to modify the code i deliver through the
contributor. While debugging i see that in
"NewVisualClassCreationWizard.applyContributor" the correct code will
be generated but the result differs a lot. Perhaps
"workingCopy.reconcile(...)" does that but i dont understand how and
why. Is there a way to force ve to use my code?
A very easy example:
The jjet want to generate a comment right above the class. This
comment will never be generated. Instead you will find the default
"created on" and "author" comments.
Any hints?
thanks,
Karsten
|
|
|
Powered by
FUDForum. Page generated in 0.03345 seconds