Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add menu entry to register EMF metamodel #89

Closed
RolandKluge opened this issue Jun 27, 2018 · 4 comments
Closed

Add menu entry to register EMF metamodel #89

RolandKluge opened this issue Jun 27, 2018 · 4 comments
Assignees

Comments

@RolandKluge
Copy link
Contributor

RolandKluge commented Jun 27, 2018

Similar to
http://www.kermeta.org/docs/html.chunked/KerMeta-Deploying-a-code/ch04.html
https://eclipse.org/epsilon/doc/articles/reflective-emf-tutorial/

Helpful code in Epsilon:
https://www.eclipse.org/epsilon/download/
plugins/org.eclipse.epsilon.emf.dt
class: org.eclipse.epsilon.emf.dt.RegisterMetamodelAction

@anthonyanjorin
Copy link
Contributor

Hmm... so we want to offer such functionality ourselves? Why not just install and use the plugin from kermeta?

@RolandKluge
Copy link
Contributor Author

This is true if we expect that we only need to register EPackages seldomly.

However, we may expect that, in the near future, eMoflon and Henshin will have more and more connection points, and Henshin sometimes requires to register EPackages (but offers no convenient menu entry for this, as far as I know). Therefore, I think that it's better if we ship this tiny feature with eMoflon instead of forcing people to install Kermeta (or Epsilon) for just this purpose.

@anthonyanjorin
Copy link
Contributor

I agree! And we can do it better too. For example we could add an option: "Automatically repeat this registration every time I start Eclipse", offering preferences where this of course can be changed later. Kermeta is nice but reregistering the same metamodels 100 times was still a *** in the *** :)

RolandKluge added a commit that referenced this issue Aug 9, 2018
@RolandKluge
Copy link
Contributor Author

For the moment, I simply allow for registering the metamodel once. We do not save the list of registered metamodels.
If this is a requirement, please open a separate issue and I will implement it (Epsilon already provides this features but using a deprecated UI API).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants