How to create new function to c++ class or method declaration in header file in Java? [message #177698] |
Mon, 02 October 2006 10:09 |
Eclipse User |
|
|
|
Originally posted by: dozebox.gmail.com
Hi,
How I can use CDT to create new functions to cpp file and method
declarations to headers in Java eclipse plugin? I have tried to make a new
MethodDeclaration object and add it using Structure.addChild() and it get's
added to the class ok, but I can't save the translation unit?
TranslationUnit().hasUnsavedChanges() returns false and
TranslationUnit().save() does nothing. I read somewhere that TranslationUnit
has been read-only at some stage, is it still? I also read that some code
generating framework has been in the works, but has it been released yet?
Is there any way to do this, or am I doing something wrong? Thanks for any
reply!
-doze
|
|
|
Powered by
FUDForum. Page generated in 0.04169 seconds