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

[API] Provide a way to add update the environment #174

Open
echebbi opened this issue Jul 4, 2020 · 0 comments
Open

[API] Provide a way to add update the environment #174

echebbi opened this issue Jul 4, 2020 · 0 comments

Comments

@echebbi
Copy link
Collaborator

echebbi commented Jul 4, 2020

Motivation

Sometimes the ALE environment must be updated programmatically with new ALE source files or Ecore models (e.g. for a "New ALE file" wizard or a "add file to environment" quick fix). However the IAleEnvironment currently offers no way to do so and we have to check manually whether the environment is based on preferences or on a .dsl file then make changes accordingly.

That's not scalable.

Proposed Solution

Update IAleEnvironment with methods to:

  • add a new Ecore model,
  • add a new ALE source file,
  • persist the changes.
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

1 participant