Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 215280

Summary: Eclipse Modeling Framework (EMF) and Java Emitter Template (JET) - Tutorial
Product: Community Reporter: Lars Vogel <Lars.Vogel>
Component: ArticlesAssignee: community.articles-inbox <community.articles-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: eclipse, Ed.Merks, Lars.Vogel
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
URL: http://www.vogella.de/articles/EclipseEMF/article.html
Whiteboard:

Description Lars Vogel CLA 2008-01-14 19:03:17 EST
Hi,

as suggested on the eclipse.tools.emf mailing list by Ed Merks I would like to contribute an article to http://www.eclipse.org/articles/

The article can currently be found here: 

http://www.vogella.de/articles/EclipseEMF/article.html

The example created in the article is an EMF model and JET template to create Websites.

Please let me know what you think. 

If this article will be selected I would prefer to re-work it on my website (using my DocBook template) before migrating it to the HTML template. Best regards, Lars
Comment 1 Wayne Beaton CLA 2008-04-01 17:32:24 EDT
I can turn a docbook document into our format. I imagine that it should be pretty easy.

If Ed agrees to review, I agree to post.
Comment 2 Lars Vogel CLA 2008-04-01 17:38:09 EDT
Hi Wayne,

why not just post a link to my webpage? This way I can easily update the article whenever I learn something new. 

Best regards, Lars
Comment 3 Ed Merks CLA 2008-04-05 07:29:25 EDT
This looks cool and very useful to me!  

The only thing I would ask to change is where you show using XyzPackageImpl.init().  I'd much rather see folks never using the package impl class for anything.  Using XyzPackage.eINSTANCE.eClass() is a better idiom to use for stand alone initialization because it avoids access to "internal" implementation details of the model.
Comment 4 Lars Vogel CLA 2008-04-05 12:38:51 EDT
Hi Ed, 

I changed the coding to  XyzPackage.eINSTANCE.eClass() and also aligned the examples a bit more. Thank you for the feedback

Cheers, Lars


Comment 5 Wayne Beaton CLA 2008-05-13 13:47:13 EDT
 (In reply to comment #2)
> Hi Wayne,
> 
> why not just post a link to my webpage? This way I can easily update the article
> whenever I learn something new.
> 
> Best regards, Lars

I've added a link that's accessible from both the home page and the /resources page. Since this is no longer an Eclipse Corner Article, I'm closing the bug. If I have incorrectly assumed that this is what you wanted, please reopen.