LionWeb-io / specification

Specifications of the LionWeb initiative
http://lionweb.io/specification/
7 stars 0 forks source link

Main feature annotation #14

Open enikao opened 2 years ago

enikao commented 2 years ago
slisson commented 2 years ago

Sounds like something that belongs into the editor and not into the meta model. Wrap/unwrap actions can be derived from the editor definition which will probably result in a more consistent editor behaviour.

markusvoelter commented 2 years ago

The point is that you don't need to define wrap/unwrap ops. They are automatically possible and available everywhere based on this main feature.

dslmeinte commented 2 years ago

An annotation on a feature would be light-weight enough to have this in the metamodel, IMHO.

ftomassetti commented 2 years ago

I have never seen this mechanism used, so I would tend to think this is not strictly fundamental and therefore handling it with some form of standard annotation could be a good compromise