本文整理汇总了Java中jetbrains.mps.smodel.runtime.StructureAspectDescriptor类的典型用法代码示例。如果您正苦于以下问题:Java StructureAspectDescriptor类的具体用法?Java StructureAspectDescriptor怎么用?Java StructureAspectDescriptor使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
StructureAspectDescriptor类属于jetbrains.mps.smodel.runtime包,在下文中一共展示了StructureAspectDescriptor类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createAspect
import jetbrains.mps.smodel.runtime.StructureAspectDescriptor; //导入依赖的package包/类
@Override
protected <T extends ILanguageAspect> T createAspect(Class<T> aspectClass) {
if (aspectClass == BehaviorAspectDescriptor.class) {
return aspectClass.cast(new SubjectiefRecht.behavior.BehaviorAspectDescriptor());
}
if (aspectClass == ConstraintsAspectDescriptor.class) {
return aspectClass.cast(new SubjectiefRecht.constraints.ConstraintsAspectDescriptor());
}
if (aspectClass == EditorAspectDescriptor.class) {
return aspectClass.cast(new EditorAspectDescriptorImpl());
}
if (aspectClass == StructureAspectDescriptor.class) {
return aspectClass.cast(new SubjectiefRecht.structure.StructureAspectDescriptor());
}
if (aspectClass == ConceptPresentationAspect.class) {
return aspectClass.cast(new ConceptPresentationAspectImpl());
}
if (aspectClass == TextGenAspectDescriptor.class) {
return aspectClass.cast(new SubjectiefRecht.textGen.TextGenAspectDescriptor());
}
if (aspectClass == IHelginsDescriptor.class) {
return aspectClass.cast(new TypesystemDescriptor());
}
return null;
}
示例2: createAspect
import jetbrains.mps.smodel.runtime.StructureAspectDescriptor; //导入依赖的package包/类
@Override
protected <T extends ILanguageAspect> T createAspect(Class<T> aspectClass) {
if (aspectClass == BehaviorAspectDescriptor.class) {
return aspectClass.cast(new Algemeen.behavior.BehaviorAspectDescriptor());
}
if (aspectClass == ConstraintsAspectDescriptor.class) {
return aspectClass.cast(new Algemeen.constraints.ConstraintsAspectDescriptor());
}
if (aspectClass == EditorAspectDescriptor.class) {
return aspectClass.cast(new EditorAspectDescriptorImpl());
}
if (aspectClass == StructureAspectDescriptor.class) {
return aspectClass.cast(new Algemeen.structure.StructureAspectDescriptor());
}
if (aspectClass == ConceptPresentationAspect.class) {
return aspectClass.cast(new ConceptPresentationAspectImpl());
}
if (aspectClass == IHelginsDescriptor.class) {
return aspectClass.cast(new TypesystemDescriptor());
}
return null;
}
示例3: createAspect
import jetbrains.mps.smodel.runtime.StructureAspectDescriptor; //导入依赖的package包/类
@Override
protected <T extends ILanguageAspect> T createAspect(Class<T> aspectClass) {
if (aspectClass == BehaviorAspectDescriptor.class) {
return aspectClass.cast(new Datum.behavior.BehaviorAspectDescriptor());
}
if (aspectClass == ConstraintsAspectDescriptor.class) {
return aspectClass.cast(new Datum.constraints.ConstraintsAspectDescriptor());
}
if (aspectClass == EditorAspectDescriptor.class) {
return aspectClass.cast(new EditorAspectDescriptorImpl());
}
if (aspectClass == StructureAspectDescriptor.class) {
return aspectClass.cast(new Datum.structure.StructureAspectDescriptor());
}
if (aspectClass == ConceptPresentationAspect.class) {
return aspectClass.cast(new ConceptPresentationAspectImpl());
}
if (aspectClass == TextGenAspectDescriptor.class) {
return aspectClass.cast(new Datum.textGen.TextGenAspectDescriptor());
}
if (aspectClass == IHelginsDescriptor.class) {
return aspectClass.cast(new TypesystemDescriptor());
}
return null;
}
示例4: createAspect
import jetbrains.mps.smodel.runtime.StructureAspectDescriptor; //导入依赖的package包/类
@Override
protected <T extends ILanguageAspect> T createAspect(Class<T> aspectClass) {
if (aspectClass == BehaviorAspectDescriptor.class) {
return aspectClass.cast(new Integriteit.behavior.BehaviorAspectDescriptor());
}
if (aspectClass == ConstraintsAspectDescriptor.class) {
return aspectClass.cast(new Integriteit.constraints.ConstraintsAspectDescriptor());
}
if (aspectClass == EditorAspectDescriptor.class) {
return aspectClass.cast(new EditorAspectDescriptorImpl());
}
if (aspectClass == StructureAspectDescriptor.class) {
return aspectClass.cast(new Integriteit.structure.StructureAspectDescriptor());
}
if (aspectClass == ConceptPresentationAspect.class) {
return aspectClass.cast(new ConceptPresentationAspectImpl());
}
if (aspectClass == IHelginsDescriptor.class) {
return aspectClass.cast(new TypesystemDescriptor());
}
return null;
}
示例5: createAspect
import jetbrains.mps.smodel.runtime.StructureAspectDescriptor; //导入依赖的package包/类
@Override
protected <T extends ILanguageAspect> T createAspect(Class<T> aspectClass) {
if (aspectClass == BehaviorAspectDescriptor.class) {
return aspectClass.cast(new jetbrains.mps.samples.VoiceMenuToXML.behavior.BehaviorAspectDescriptor());
}
if (aspectClass == ConstraintsAspectDescriptor.class) {
return aspectClass.cast(new jetbrains.mps.samples.VoiceMenuToXML.constraints.ConstraintsAspectDescriptor());
}
if (aspectClass == EditorAspectDescriptor.class) {
return aspectClass.cast(new EditorAspectDescriptorImpl());
}
if (aspectClass == StructureAspectDescriptor.class) {
return aspectClass.cast(new jetbrains.mps.samples.VoiceMenuToXML.structure.StructureAspectDescriptor());
}
if (aspectClass == ConceptPresentationAspect.class) {
return aspectClass.cast(new ConceptPresentationAspectImpl());
}
if (aspectClass == IHelginsDescriptor.class) {
return aspectClass.cast(new TypesystemDescriptor());
}
return null;
}
示例6: createAspect
import jetbrains.mps.smodel.runtime.StructureAspectDescriptor; //导入依赖的package包/类
@Override
protected <T extends ILanguageAspect> T createAspect(Class<T> aspectClass) {
if (aspectClass == BehaviorAspectDescriptor.class) {
return aspectClass.cast(new jetbrains.mps.samples.VoiceMenuToHTML.behavior.BehaviorAspectDescriptor());
}
if (aspectClass == ConstraintsAspectDescriptor.class) {
return aspectClass.cast(new jetbrains.mps.samples.VoiceMenuToHTML.constraints.ConstraintsAspectDescriptor());
}
if (aspectClass == EditorAspectDescriptor.class) {
return aspectClass.cast(new EditorAspectDescriptorImpl());
}
if (aspectClass == StructureAspectDescriptor.class) {
return aspectClass.cast(new jetbrains.mps.samples.VoiceMenuToHTML.structure.StructureAspectDescriptor());
}
if (aspectClass == ConceptPresentationAspect.class) {
return aspectClass.cast(new ConceptPresentationAspectImpl());
}
if (aspectClass == IHelginsDescriptor.class) {
return aspectClass.cast(new TypesystemDescriptor());
}
return null;
}
示例7: createAspect
import jetbrains.mps.smodel.runtime.StructureAspectDescriptor; //导入依赖的package包/类
@Override
protected <T extends ILanguageAspect> T createAspect(Class<T> aspectClass) {
if (aspectClass == BehaviorAspectDescriptor.class) {
return aspectClass.cast(new jetbrains.mps.samples.VoiceMenuToHTML.behavior.BehaviorAspectDescriptor());
}
if (aspectClass == ConstraintsAspectDescriptor.class) {
return aspectClass.cast(new jetbrains.mps.samples.VoiceMenuToHTML.constraints.ConstraintsAspectDescriptor());
}
if (aspectClass == EditorAspectDescriptor.class) {
return aspectClass.cast(new EditorAspectDescriptorImpl());
}
if (aspectClass == MakeAspectDescriptor.class) {
return aspectClass.cast(new FacetAspectDescriptor());
}
if (aspectClass == StructureAspectDescriptor.class) {
return aspectClass.cast(new jetbrains.mps.samples.VoiceMenuToHTML.structure.StructureAspectDescriptor());
}
if (aspectClass == ConceptPresentationAspect.class) {
return aspectClass.cast(new ConceptPresentationAspectImpl());
}
if (aspectClass == IHelginsDescriptor.class) {
return aspectClass.cast(new TypesystemDescriptor());
}
return null;
}
示例8: createAspect
import jetbrains.mps.smodel.runtime.StructureAspectDescriptor; //导入依赖的package包/类
@Override
protected <T extends ILanguageAspect> T createAspect(Class<T> aspectClass) {
if (aspectClass == BehaviorAspectDescriptor.class) {
return aspectClass.cast(new jetbrains.mps.samples.VoiceMenu.behavior.BehaviorAspectDescriptor());
}
if (aspectClass == ConstraintsAspectDescriptor.class) {
return aspectClass.cast(new jetbrains.mps.samples.VoiceMenu.constraints.ConstraintsAspectDescriptor());
}
if (aspectClass == EditorAspectDescriptor.class) {
return aspectClass.cast(new EditorAspectDescriptorImpl());
}
if (aspectClass == IntentionAspectDescriptor.class) {
return aspectClass.cast(new IntentionsDescriptor());
}
if (aspectClass == StructureAspectDescriptor.class) {
return aspectClass.cast(new jetbrains.mps.samples.VoiceMenu.structure.StructureAspectDescriptor());
}
if (aspectClass == ConceptPresentationAspect.class) {
return aspectClass.cast(new ConceptPresentationAspectImpl());
}
if (aspectClass == IHelginsDescriptor.class) {
return aspectClass.cast(new TypesystemDescriptor());
}
return null;
}
示例9: createAspect
import jetbrains.mps.smodel.runtime.StructureAspectDescriptor; //导入依赖的package包/类
@Override
protected <T extends ILanguageAspect> T createAspect(Class<T> aspectClass) {
if (aspectClass == BehaviorAspectDescriptor.class) {
return aspectClass.cast(new jetbrains.mps.samples.VoiceMenuToJava.behavior.BehaviorAspectDescriptor());
}
if (aspectClass == ConstraintsAspectDescriptor.class) {
return aspectClass.cast(new jetbrains.mps.samples.VoiceMenuToJava.constraints.ConstraintsAspectDescriptor());
}
if (aspectClass == EditorAspectDescriptor.class) {
return aspectClass.cast(new EditorAspectDescriptorImpl());
}
if (aspectClass == StructureAspectDescriptor.class) {
return aspectClass.cast(new jetbrains.mps.samples.VoiceMenuToJava.structure.StructureAspectDescriptor());
}
if (aspectClass == ConceptPresentationAspect.class) {
return aspectClass.cast(new ConceptPresentationAspectImpl());
}
if (aspectClass == IHelginsDescriptor.class) {
return aspectClass.cast(new TypesystemDescriptor());
}
return null;
}
示例10: createAspect
import jetbrains.mps.smodel.runtime.StructureAspectDescriptor; //导入依赖的package包/类
@Override
protected <T extends ILanguageAspect> T createAspect(Class<T> aspectClass) {
if (aspectClass == BehaviorAspectDescriptor.class) {
return aspectClass.cast(new jetbrains.mps.samples.VoiceMenuToAsterisk.behavior.BehaviorAspectDescriptor());
}
if (aspectClass == ConstraintsAspectDescriptor.class) {
return aspectClass.cast(new jetbrains.mps.samples.VoiceMenuToAsterisk.constraints.ConstraintsAspectDescriptor());
}
if (aspectClass == EditorAspectDescriptor.class) {
return aspectClass.cast(new EditorAspectDescriptorImpl());
}
if (aspectClass == StructureAspectDescriptor.class) {
return aspectClass.cast(new jetbrains.mps.samples.VoiceMenuToAsterisk.structure.StructureAspectDescriptor());
}
if (aspectClass == ConceptPresentationAspect.class) {
return aspectClass.cast(new ConceptPresentationAspectImpl());
}
if (aspectClass == IHelginsDescriptor.class) {
return aspectClass.cast(new TypesystemDescriptor());
}
return null;
}
示例11: createAspect
import jetbrains.mps.smodel.runtime.StructureAspectDescriptor; //导入依赖的package包/类
@Override
protected <T extends ILanguageAspect> T createAspect(Class<T> aspectClass) {
if (aspectClass == BehaviorAspectDescriptor.class) {
return aspectClass.cast(new jetbrains.mps.samples.AsteriskLang.behavior.BehaviorAspectDescriptor());
}
if (aspectClass == ConstraintsAspectDescriptor.class) {
return aspectClass.cast(new jetbrains.mps.samples.AsteriskLang.constraints.ConstraintsAspectDescriptor());
}
if (aspectClass == EditorAspectDescriptor.class) {
return aspectClass.cast(new EditorAspectDescriptorImpl());
}
if (aspectClass == StructureAspectDescriptor.class) {
return aspectClass.cast(new jetbrains.mps.samples.AsteriskLang.structure.StructureAspectDescriptor());
}
if (aspectClass == ConceptPresentationAspect.class) {
return aspectClass.cast(new ConceptPresentationAspectImpl());
}
if (aspectClass == TextGenAspectDescriptor.class) {
return aspectClass.cast(new jetbrains.mps.samples.AsteriskLang.textGen.TextGenAspectDescriptor());
}
if (aspectClass == IHelginsDescriptor.class) {
return aspectClass.cast(new TypesystemDescriptor());
}
return null;
}
示例12: createAspect
import jetbrains.mps.smodel.runtime.StructureAspectDescriptor; //导入依赖的package包/类
@Override
protected <T extends ILanguageAspect> T createAspect(Class<T> aspectClass) {
if (aspectClass == BehaviorAspectDescriptor.class) {
return aspectClass.cast(new jetbrains.mps.samples.VoiceMenuTabularEditor.behavior.BehaviorAspectDescriptor());
}
if (aspectClass == ConstraintsAspectDescriptor.class) {
return aspectClass.cast(new jetbrains.mps.samples.VoiceMenuTabularEditor.constraints.ConstraintsAspectDescriptor());
}
if (aspectClass == EditorAspectDescriptor.class) {
return aspectClass.cast(new EditorAspectDescriptorImpl());
}
if (aspectClass == StructureAspectDescriptor.class) {
return aspectClass.cast(new jetbrains.mps.samples.VoiceMenuTabularEditor.structure.StructureAspectDescriptor());
}
if (aspectClass == ConceptPresentationAspect.class) {
return aspectClass.cast(new ConceptPresentationAspectImpl());
}
if (aspectClass == IHelginsDescriptor.class) {
return aspectClass.cast(new TypesystemDescriptor());
}
return null;
}
示例13: createAspect
import jetbrains.mps.smodel.runtime.StructureAspectDescriptor; //导入依赖的package包/类
@Override
protected <T extends ILanguageAspect> T createAspect(Class<T> aspectClass) {
if (aspectClass == BehaviorAspectDescriptor.class) {
return aspectClass.cast(new CalculatorJS.behavior.BehaviorAspectDescriptor());
}
if (aspectClass == ConstraintsAspectDescriptor.class) {
return aspectClass.cast(new CalculatorJS.constraints.ConstraintsAspectDescriptor());
}
if (aspectClass == EditorAspectDescriptor.class) {
return aspectClass.cast(new EditorAspectDescriptorImpl());
}
if (aspectClass == MakeAspectDescriptor.class) {
return aspectClass.cast(new FacetAspectDescriptor());
}
if (aspectClass == StructureAspectDescriptor.class) {
return aspectClass.cast(new CalculatorJS.structure.StructureAspectDescriptor());
}
if (aspectClass == ConceptPresentationAspect.class) {
return aspectClass.cast(new ConceptPresentationAspectImpl());
}
if (aspectClass == IHelginsDescriptor.class) {
return aspectClass.cast(new TypesystemDescriptor());
}
return null;
}
示例14: createAspect
import jetbrains.mps.smodel.runtime.StructureAspectDescriptor; //导入依赖的package包/类
@Override
protected <T extends ILanguageAspect> T createAspect(Class<T> aspectClass) {
if (aspectClass == BehaviorAspectDescriptor.class) {
return aspectClass.cast(new org.campagnelab.refexample.behavior.BehaviorAspectDescriptor());
}
if (aspectClass == ConstraintsAspectDescriptor.class) {
return aspectClass.cast(new org.campagnelab.refexample.constraints.ConstraintsAspectDescriptor());
}
if (aspectClass == EditorAspectDescriptor.class) {
return aspectClass.cast(new EditorAspectDescriptorImpl());
}
if (aspectClass == StructureAspectDescriptor.class) {
return aspectClass.cast(new org.campagnelab.refexample.structure.StructureAspectDescriptor());
}
if (aspectClass == ConceptPresentationAspect.class) {
return aspectClass.cast(new ConceptPresentationAspectImpl());
}
if (aspectClass == IHelginsDescriptor.class) {
return aspectClass.cast(new TypesystemDescriptor());
}
return null;
}
示例15: createAspect
import jetbrains.mps.smodel.runtime.StructureAspectDescriptor; //导入依赖的package包/类
@Override
protected <T extends ILanguageAspect> T createAspect(Class<T> aspectClass) {
if (aspectClass == BehaviorAspectDescriptor.class) {
return aspectClass.cast(new org.campagnelab.mps.editor2pdf.behavior.BehaviorAspectDescriptor());
}
if (aspectClass == ConstraintsAspectDescriptor.class) {
return aspectClass.cast(new org.campagnelab.mps.editor2pdf.constraints.ConstraintsAspectDescriptor());
}
if (aspectClass == EditorAspectDescriptor.class) {
return aspectClass.cast(new EditorAspectDescriptorImpl());
}
if (aspectClass == IntentionAspectDescriptor.class) {
return aspectClass.cast(new IntentionsDescriptor());
}
if (aspectClass == StructureAspectDescriptor.class) {
return aspectClass.cast(new org.campagnelab.mps.editor2pdf.structure.StructureAspectDescriptor());
}
if (aspectClass == ConceptPresentationAspect.class) {
return aspectClass.cast(new ConceptPresentationAspectImpl());
}
if (aspectClass == IHelginsDescriptor.class) {
return aspectClass.cast(new TypesystemDescriptor());
}
return null;
}