Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Excluding lines from a @generated - marked block
Excluding lines from a @generated - marked block [message #185146] Sat, 03 May 2008 21:12 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>
>
>
Previous Topic:Drill down capability
Next Topic:copy and paste bug?
Goto Forum:
  


Current Time: Fri Apr 19 21:47:25 GMT 2024

Powered by FUDForum. Page generated in 0.02802 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top