i developed a OfBean concept, which extends the class concept. Actually, i do not need to extend the class concept, but i want to add a mps.baselang.statemachine to my OfBean. I figured out how to get things working in the solution perspective, but generators do not work.
So in the MAPPING_BLSpecific of the statemachine, i found a weaving rule, which add statemachine s status to a class concept. I changed the weaving rule condition, to accept also OfBean, but i get an error for the generation context of the weaving rule:
"bad context for weaving rule: TestEntity is generated from TestEntity, while input node is from TestEntity state machine
TestEntity is an instance of OfBean... (of course the input node is test entity state machien... which has a reference "classConcept" to the OfBean.. So i get the context with:
genContext.get copied output for (node.classConcept)
I have also declared a reduction rule for OfBean, which creates a ClassConcept (the bean)
Any help appreciated.. or is there a cheaper solution?