viatra / EMF-IncQuery

This repository is only kept for historic reasons. All development happens on eclipse.org
http://eclipse.org/viatra
13 stars 4 forks source link

Support for dynamically typed EObjects (UML profiles) #199

Closed istvanrath closed 11 years ago

istvanrath commented 12 years ago

In order to properly support profiled/stereotyped UML models, we need to support dynamically typed EObjects (i.e. EObjects whose EClass is instantiated at runtime).

bergmanngabor commented 12 years ago

I think #95 is a logical prerequisite.

ujhelyiz commented 11 years ago

There are two different cases to explore:

Goal: having a Base feature/object listener for dynamic EMF elements.

okrosa commented 11 years ago

Postmeeting conclusions (i.e. mainly tasks for me):

okrosa commented 11 years ago

Some notes:

bergmanngabor commented 11 years ago

Food for thought: perhaps in the future we can apply a "defensive barrier" to dynamic EPackages if EIQ uses them as metamodels. This protective component would listen on changes to the metamodel - much the same way as IQBase listens on the instance model - and do something (throw an exception / kill the EIQ engine / whatever) as soon as someone tries to change the metamodel. I think this will help us catch nasty problems that would otherwise arise, and it adds little performance overhead, since the metamodel is not normally expected to change.

okrosa commented 11 years ago

Closed, moved to Eclipse bugzilla. https://bugs.eclipse.org/bugs/show_bug.cgi?id=398874