Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8296351
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T14:57:44+00:00 2026-06-08T14:57:44+00:00

I created a model with EMF and generated an Eclipse plugin for this model.

  • 0

I created a model with EMF and generated an Eclipse plugin for this model.
In the plugin I can now define an instance of that model. But now I want do generate Java-code from this instance. How can I do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T14:57:45+00:00Added an answer on June 8, 2026 at 2:57 pm

    You should first create a GenModel from you eCore Model. New -> Create -> EMF Generator Model -> From eCore -> Select you eCore. Then click on the top-level element of this model and pick Generate All.

    EDIT:
    There is not way to directly generate Java from custom model. You have to use JET, Accelo or xTend2 to write you generator. Or, you can probably take a look at xText project.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I created model objects of from generating a scaffold, but now I want to
I created my model to be a multiple array myArr[10,10]. Then I want that
I have model created with visual designer. Now I want to have POCO classes
In an editor created with EMF, one can validate a model by right-clicking on
I have created a model test case in a plugin. Plugin name: Filters and
Say I've got a domain model created from C# classes like this: public class
Backbone.js makes a POST request when a new model is created and saved, but
I have created a model that has a string as a unique identifier. I
i have created a model class to connect with database with a function that
I've created a model for an existing table using the following generator command: script/generate

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.