Skip to content

first steps to start with custom model #1042

Answered by martin-fleck-at
julen9 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @julen9,

I assume you have seen the README and the 'Next Steps' they are proposing with the referenced documentation.

In the example repository, we use the TaskListSourceModelStorage to properly set up our resource set that is used when loading a model from a URI provided by the RequestModelAction from the client. The crucial part here is that the resource set that we use to load the model knows about our custom Ecore-based package so we need to register our package accordingly.

If you want to add one more node element - that does not yet exist in the model.ecore - to the palette, your first step would be to add it to the ecore (or replace it with your own file if you already have one)…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@DaveHOnCode
Comment options

@martin-fleck-at
Comment options

@DaveHOnCode
Comment options

@martin-fleck-at
Comment options

@DaveHOnCode
Comment options

Answer selected by julen9
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants