kevoree / kevoree-web-editor

Kevoree model editor
http://editor.kevoree.org
6 stars 2 forks source link

Component appears in the model but its type is not available in the type list #12

Closed edaubert closed 10 years ago

edaubert commented 10 years ago

When I load a model from a json file, the model is correctly loaded as far as I can tell. All the groups, nodes and components appear. However in the type list, which allow us to add an instance of something, the type of my component is not shown.

In my use case this type is not available on maven central but on a specific maven repository. I don't know if it matters or not.

My use case model is available at https://gist.github.com/edaubert/9207831

maxleiko commented 10 years ago

Currently, only TypeDefinition that have a library that references them are added.
I'll add a "Default" library for those who are not referenced by a library.

edaubert commented 10 years ago

it's true my component doesn't have a library. Yes a "default" library seems to be necessary