Class DevkitDescriptor

    • Constructor Detail

      • DevkitDescriptor

        public DevkitDescriptor()
    • Method Detail

      • getAssociatedGenPlan

        @Nullable
        public SModelReference getAssociatedGenPlan()
        This is provisional code while we investigate approaches how to associate custom generation plans with a model. We've tried CustomGenerationModuleFacet which is not quite satisfying, as we need to give Language Designer control over plan activation, and less (no) burden for Language Practitioner to pick a plan for his model. XXX It's indeed a hack to return model reference here, but it's the only way to move forward quickly. I can't afford to spend time now to build a facet mechanism for devkits, or to introduce GenerationPlanIdentity to reference deployed plans which could be kept here (and supplied from extension point or any other similar mechanism). At the end of the day, there'd be some compiled representation of the plan, we we can identify and assign here (if we stick to plans at devkits approach, which is not yet 100% sure thing).