Excluding lines from a @generated - marked block [message #185146] |
Sat, 03 May 2008 21:12 |
Eclipse User |
|
|
|
Originally posted by: mehrdad.saadatmand.gmail.com
There is a class method generated by gmf and marked as @generated. However I
need to have a line inside it which calls another method. This line gets
removed each time, the diagram code is generated. How is it possible to
exclude just this line from the method containing it? Is it possible at all
to have a fixed line (preventing from being removed) from a class/method
marked as "@generated" ?
thanks,
Mehrdad
|
|
|
Re: Excluding lines from a @generated - marked block [message #185155 is a reply to message #185146] |
Sat, 03 May 2008 22:20 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Mehrdad,
It's not possible to change just one line and still have the other lines
regenerated. Have a look at the "Customizing the generated
implementation classes" section of
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. emf.doc//references/overview/EMF.html
Mehrdad Saadatmand wrote:
> There is a class method generated by gmf and marked as @generated. However I
> need to have a line inside it which calls another method. This line gets
> removed each time, the diagram code is generated. How is it possible to
> exclude just this line from the method containing it? Is it possible at all
> to have a fixed line (preventing from being removed) from a class/method
> marked as "@generated" ?
>
> thanks,
> Mehrdad
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.02802 seconds